]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix localealias.c fgets_unlocked namespace (bug 17589).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5a6fa4d7
JM
12014-11-12 Joseph Myers <joseph@codesourcery.com>
2
cc67478e
JM
3 [BZ #17589]
4 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5 of fgets_unlocked.
6
9975e3d3
JM
7 [BZ #17585]
8 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9 (memmem): Rename to __memmem and define as weak alias of
10 __memmem. Use libc_hidden_weak.
11 (__memmem): Use libc_hidden_def.
12 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14 memmem.
15
c4eae752
JM
16 [BZ #17582]
17 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
19 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20 and define as weak alias of __fgets_unlocked. Use
21 libc_hidden_weak.
22 (__fgets_unlocked): Use libc_hidden_def.
23 * include/stdio.h (__fgets_unlocked): Declare. Use
24 libc_hidden_proto.
25 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26 __fgets_unlocked instead of fgets_unlocked.
27 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28 (GET_NPROCS_CONF_PARSER): Likewise.
29 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
30 (GET_NPROCS_CONF_PARSER): Likewise.
31
01cad84e
JM
32 [BZ #17574]
33 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34 weak alias of __wmemset. Use libc_hidden_weak.
35 (__wmemset): Use libc_hidden_def.
36 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
37 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38 of wmemset.
39
939da411
JM
40 [BZ #17573]
41 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42 with asm name __mempcpy.
43 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44
293d9a41
JM
45 [BZ #17572]
46 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
47 and define as weak alias of __rawmemchr.
48 (__rawmemchr): Do not define as strong alias of rawmemchr.
49
bef8fd60
JM
50 [BZ #17571]
51 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
52 alias of __qsort_r.
53 (qsort): Call __qsort_r instead of qsort_r.
54 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
55 (__qsort_r): Declare. Call libc_hidden_proto.
56 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
57 instead of qsort_r.
58 * nscd/gai.c (__qsort_r): Define to qsort_r.
59 * posix/tst-rfc3484.c (__qsort_r): Likewise.
60 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
61 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
62
c52ff39e
JM
63 [BZ #17570]
64 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
65 define as weak alias of __malloc_info.
66
2f5c1b00
JM
67 [BZ #17584]
68 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
69 as weak alias of __rewinddir. Don't use libc_hidden_def.
70 (__rewinddir): Use libc_hidden_def.
71 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
72 as weak alias of __rewinddir. Don't use libc_hidden_def.
73 (__rewinddir): Use libc_hidden_def.
74 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
75 weak alias of __rewinddir. Don't use libc_hidden_def.
76 (__rewinddir): Use libc_hidden_def.
77 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
78 (__rewinddir): Use libc_hidden_proto.
79 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
80 rewinddir.
81 (__getcwd): Use __rewinddir instead of rewinddir.
82
5a6fa4d7
JM
83 [BZ #17583]
84 * libio/fileno.c (fileno): Rename to __fileno and define as weak
85 alias of __fileno. Use libc_hidden_weak.
86 (__fileno): Use libc_hidden_def.
87 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
88 * libio/ftello.c (ftello): Rename to __ftello and define as weak
89 alias of __ftello.
90 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
91 __ftello.
92 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
93 (__fread_unlocked): Define as strong alias of _IO_fread. Use
94 libc_hidden_def.
95 (fread_unlocked): Don't use libc_hidden_ver.
96 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
97 and define as weak alias of __fread_unlocked. Don't use
98 libc_hidden_def.
99 (__fread_unlocked): Use libc_hidden_def.
100 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
101 (ftello): Don't use libc_hidden_proto.
102 (__ftello): Declare. Use libc_hidden_proto.
103 (fread_unlocked): Don't use libc_hidden_proto.
104 (__fread_unlocked): Declare. Use libc_hidden_proto.
105 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
106 and __ftello instead of fileno, fread_unlocked and ftello.
107
2581b98e
SP
1082012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
109
110 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
111 GOT12.
112 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
113 Likewise.
114 (_dl_start_user): Likewise.
115 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
116
533bb7c2
SP
1172014-11-12 Carlos O'Donell <carlos@redhat.com>
118 Siddhesh Poyarekar <siddhesh@redhat.com>
119
120 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
121 Move argv and envp down instead of moving argc up.
122 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
123
fffa1cf8
LH
1242014-11-12 Leonhard Holz <leonhard.holz@web.de>
125
126 [BZ #17506]
127 * test-skeleton.c (main): Return successful if one of
128 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
129 * string/tst-strcoll-overflow.c: Define expected status.
130
fb89b46d
TU
1312014-11-12 Tatiana Udalova <t.udalova@samsung.com>
132
133 [BZ #17475]
134 * locale/iso-639.def: Define Bhili and Tulu language codes.
135
5c40c3ba
AH
1362014-11-11 Alan Hayward <alan.hayward@arm.com>
137
138 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
139
b17fe01b 1402014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
141
142 [BZ #17555]
143 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
144
bd805071
AS
1452014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
146
147 * configure.ac: Updated check of minimal required version to
148 2.22.
149 * manual/install.texi (Tools for Compilation): Updated version
150 number.
151 * configure: Regenerated.
152 * INSTALL: Likewise.
153
1400983e
AS
1542014-11-07 Andreas Schwab <schwab@linux-m68k.org>
155
156 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
157 __tls_get_addr.
158
2c46a66a
JM
1592014-11-07 Joseph Myers <joseph@codesourcery.com>
160
161 * include/sys/wait.h (__libc_waitpid): Remove declaration.
162 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
163 (__waitpid): Don't define as alias. Use libc_hidden_def not
164 libc_hidden_weak.
165 (waitpid): Define as alias of __waitpid.
166 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
167 __waitpid.
168 (__waitpid): Don't define as alias. Use libc_hidden_def not
169 libc_hidden_weak.
170 (waitpid): Define as alias of __waitpid.
171 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
172 __libc_waitpid alias.
173 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
174 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
175 Likewise.
176 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
177 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
178 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
179 alias.
180 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
181 __waitpid.
182 (__waitpid): Don't define as alias. Use libc_hidden_def not
183 libc_hidden_weak.
184 (waitpid): Define as alias of __waitpid.
185
da53d6db
CD
1862014-11-06 Carlos O'Donell <carlos@redhat.com>
187
a2887bdb
CD
188 * manual/llio.texi: Add comment that write safety has been
189 fixed in Linux.
190
da53d6db
CD
191 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
192 (localplt-build-dso): Add elf/ld.so.
193 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
194 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
195 and free for ld.so.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
197 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
199 Likewise.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
201 Likewise.
202 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
203 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
204 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
205 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
206 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
207 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
208 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
209 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
210 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
211 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
212 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
213
9cf27b8d
JM
2142014-11-05 Joseph Myers <joseph@codesourcery.com>
215
216 [BZ #14132]
217 * include/libc-symbols.h (INTUSE): Remove macro.
218 (INTDEF): Likewise.
219 (INTVARDEF): Likewise.
220 (_INTVARDEF): Likewise.
221 (INTDEF2): Likewise.
222 (INTVARDEF2): Likewise.
223 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
224 rtld_hidden_def instead of INTVARDEF.
225 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
226 (_dl_starting_up_internal): Remove declaration.
227 (_dl_starting_up): Use rtld_hidden_proto.
228 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
229 declaration.
230 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
231 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
232 _dl_starting_up.
233 * elf/dl-writev.h (_dl_writev): Likewise.
234 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
235 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
236 _dl_starting_up_internal.
237
af83568d
AZ
2382014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
239
240 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
241 test-skeleton.c.
242
b01ee67c
WN
2432014-11-05 Will Newton <will.newton@linaro.org>
244
245 * benchtests/Makefile: (bench-malloc): Add malloc thread
246 scalability benchmark.
247 * benchtests/bench-malloc-threads.c: New file.
248
be9d4ccc
RE
2492014-11-05 Richard Earnshaw <rearnsha@arm.com>
250
251 * sysdeps/aarch64/strchrnul.S: New file.
252
7110166d
AZ
2532014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254
255 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
256 definition.
257 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
258 Likwise.
259 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
260 Likewise.
261 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
262 Likewise.
263 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
264 Likewise.
265 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
266 Likewise.
267
2682014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
269
270 * catgets/test-gencat.c: Use test-skeleton.c.
271 * catgets/tst-catgets.c: Likewise.
272 * csu/tst-empty.c: Likewise.
273 * elf/tst-audit2.c: Likewise.
274 * elf/tst-global1.c: Likewise.
275 * elf/tst-pathopt.c: Likewise.
276 * elf/tst-piemod1.c: Likewise.
277 * elf/tst-tls10.c: Likewise.
278 * elf/tst-tls11.c: Likewise.
279 * elf/tst-tls12.c: Likewise.
280 * gnulib/tst-gcc.c: Likewise.
281 * iconvdata/tst-e2big.c: Likewise.
282 * iconvdata/tst-loading.c: Likewise.
283 * iconv/tst-iconv1.c: Likewise.
284 * iconv/tst-iconv2.c: Likewise.
285 * inet/test-inet6_opt.c: Likewise.
286 * inet/tst-gethnm.c: Likewise.
287 * inet/tst-network.c: Likewise.
288 * inet/tst-ntoa.c: Likewise.
289 * intl/tst-codeset.c: Likewise.
290 * intl/tst-gettext2.c: Likewise.
291 * intl/tst-gettext3.c: Likewise.
292 * intl/tst-ngettext.c: Likewise.
293 * intl/tst-translit.c: Likewise.
294 * io/test-stat.c: Likewise.
295 * libio/test-fmemopen.c: Likewise.
296 * libio/tst-freopen.c: Likewise.
297 * libio/tst-sscanf.c: Likewise.
298 * libio/tst-ungetwc1.c: Likewise.
299 * libio/tst-ungetwc2.c: Likewise.
300 * libio/tst-widetext.c: Likewise.
301 * localedata/tst-ctype.c: Likewise.
302 * localedata/tst-digits.c: Likewise.
303 * localedata/tst-leaks.c: Likewise.
304 * localedata/tst-mbswcs1.c: Likewise.
305 * localedata/tst-mbswcs2.c: Likewise.
306 * localedata/tst-mbswcs3.c: Likewise.
307 * localedata/tst-mbswcs4.c: Likewise.
308 * localedata/tst-mbswcs5.c: Likewise.
309 * localedata/tst-setlocale.c: Likewise.
310 * localedata/tst-trans.c: Likewise.
311 * localedata/tst-wctype.c: Likewise.
312 * localedata/tst-xlocale1.c: Likewise.
313 * login/tst-grantpt.c: Likewise.
314 * malloc/tst-calloc.c: Likewise.
315 * malloc/tst-malloc.c: Likewise.
316 * malloc/tst-mallocstate.c: Likewise.
317 * malloc/tst-mcheck.c: Likewise.
318 * malloc/tst-mtrace.c: Likewise.
319 * malloc/tst-obstack.c: Likewise.
320 * math/atest-exp2.c: Likewise.
321 * math/atest-exp.c: Likewise.
322 * math/atest-sincos.c: Likewise.
323 * math/test-matherr.c: Likewise.
324 * math/test-misc.c: Likewise.
325 * math/test-powl.c: Likewise.
326 * math/tst-definitions.c: Likewise.
327 * misc/tst-dirname.c: Likewise.
328 * misc/tst-efgcvt.c: Likewise.
329 * misc/tst-fdset.c: Likewise.
330 * misc/tst-hsearch.c: Likewise.
331 * misc/tst-mntent2.c: Likewise.
332 * nptl/tst-sem7.c: Likewise.
333 * nptl/tst-sem8.c: Likewise.
334 * nptl/tst-sem9.c: Likewise.
335 * nss/test-netdb.c: Likewise.
336 * posix/tst-fnmatch.c: Likewise.
337 * posix/tst-getlogin.c: Likewise.
338 * posix/tst-gnuglob.c: Likewise.
339 * posix/tst-mmap.c: Likewise.
340 * pwd/tst-getpw.c: Likewise.
341 * resolv/tst-inet_ntop.c: Likewise.
342 * rt/tst-timer.c: Likewise.
343 * stdio-common/test-fseek.c: Likewise.
344 * stdio-common/test-popen.c: Likewise.
345 * stdio-common/test-vfprintf.c: Likewise.
346 * stdio-common/tst-cookie.c: Likewise.
347 * stdio-common/tst-fileno.c: Likewise.
348 * stdio-common/tst-gets.c: Likewise.
349 * stdio-common/tst-obprintf.c: Likewise.
350 * stdio-common/tst-perror.c: Likewise.
351 * stdio-common/tst-sprintf2.c: Likewise.
352 * stdio-common/tst-sprintf3.c: Likewise.
353 * stdio-common/tst-sprintf.c: Likewise.
354 * stdio-common/tst-swprintf.c: Likewise.
355 * stdio-common/tst-tmpnam.c: Likewise.
356 * stdio-common/tst-unbputc.c: Likewise.
357 * stdio-common/tst-wc-printf.c: Likewise.
358 * stdlib/tst-environ.c: Likewise.
359 * stdlib/tst-fmtmsg.c: Likewise.
360 * stdlib/tst-limits.c: Likewise.
361 * stdlib/tst-rand48-2.c: Likewise.
362 * stdlib/tst-rand48.c: Likewise.
363 * stdlib/tst-random2.c: Likewise.
364 * stdlib/tst-random.c: Likewise.
365 * stdlib/tst-strtol.c: Likewise.
366 * stdlib/tst-strtoll.c: Likewise.
367 * stdlib/tst-tls-atexit.c: Likewise.
368 * stdlib/tst-xpg-basename.c: Likewise.
369 * string/test-ffs.c: Likewise.
370 * string/tst-bswap.c: Likewise.
371 * string/tst-inlcall.c: Likewise.
372 * string/tst-strtok.c: Likewise.
373 * string/tst-strxfrm.c: Likewise.
374 * sysdeps/x86_64/tst-audit10.c: Likewise.
375 * sysdeps/x86_64/tst-audit3.c: Likewise.
376 * sysdeps/x86_64/tst-audit4.c: Likewise.
377 * sysdeps/x86_64/tst-audit5.c: Likewise.
378 * time/tst-ftime_l.c: Likewise.
379 * time/tst-getdate.c: Likewise.
380 * time/tst-mktime3.c: Likewise.
381 * time/tst-mktime.c: Likewise.
382 * time/tst-posixtz.c: Likewise.
383 * time/tst-strptime2.c: Likewise.
384 * time/tst-strptime3.c: Likewise.
385 * wcsmbs/tst-btowc.c: Likewise.
386 * wcsmbs/tst-mbrtowc.c: Likewise.
387 * wcsmbs/tst-mbsrtowcs.c: Likewise.
388 * wcsmbs/tst-wchar-h.c: Likewise.
389 * wcsmbs/tst-wcpncpy.c: Likewise.
390 * wcsmbs/tst-wcrtomb.c: Likewise.
391 * wcsmbs/tst-wcsnlen.c: Likewise.
392 * wcsmbs/tst-wcstof.c: Likewise.
393
2004e7fb
JM
3942014-11-04 Joseph Myers <joseph@codesourcery.com>
395
ab97ee8f
JM
396 [BZ #14132]
397 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
398 INTDEF.
399 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
400 declaration.
401 (_dl_mcount): Use rtld_hidden_proto.
402 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
403 _dl_mcount.
404 * elf/rtld.c (_rtld_global_ro): Likewise.
405
c5684fdb
JM
406 [BZ #14132]
407 * elf/dl-init.c (_dl_init): Don't use INTDEF.
408 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
409 of _dl_init_internal.
410 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
411 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
412 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
413 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
414 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
415 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
416 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
417 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
418 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
419 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
420 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
421 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
422 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
423 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
424 * sysdeps/tile/dl-start.S (_start): Likewise.
425 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
426 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
427
4243cbea
JM
428 [BZ #14132]
429 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
430 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
431 (rtld_progname): Make macro definition unconditional.
432 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
433 INTDEF.
434 (dlmopen_doit): Do not use INTUSE with _dl_argv.
435 (dl_main): Likewise.
436 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
437 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
438 instead of _dl_argv_internal.
439 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
440 __GI__dl_argv instead of INTUSE(_dl_argv).
441 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
442 __GI__dl_argv instead of _dl_argv_internal.
443
2004e7fb
JM
444 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
445 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
446 macro.
447 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
448 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
449 New macro.
450 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
451 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
452 macro.
453 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
454 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
455
97827bfc
AS
4562014-11-04 Andreas Schwab <schwab@suse.de>
457
458 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
459
5e4df284
AZ
4602014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
461
462 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
463 mtvsrd instruction in binary form.
464
04b76b5a
AS
4652014-11-03 Andreas Schwab <schwab@suse.de>
466
467 [BZ #17522]
468 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
469 for less than MB_LEN_MAX use a local buffer of that size.
470 * libio/tst-fputws.c: New file.
471 * libio/Makefile (tests): Add tst-fputws.
472
4c6da7da
JM
4732014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
474
475 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
476 the size of the fpu_fr.fpu_dregs[] array.
477
1679ba8e
JM
4782014-11-01 Joseph Myers <joseph@codesourcery.com>
479
480 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
481 (__nanosleep): Do not define as alias.
482 (nanosleep): Define as alias of __nanosleep.
483 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
484 __libc_nanosleep name.
485
2626c183
JM
4862014-10-31 Joseph Myers <joseph@codesourcery.com>
487
488 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
489 install.texi in comment.
490
7f981fc2
TR
4912014-10-31 Torvald Riegel <triegel@redhat.com>
492
493 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
494 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
495 ... add here and use lwsync or sync ...
496 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
497 ... and add here using lwsync.
498
d6f373d2
MF
4992014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
500
501 * elf/dl-machine-reject-phdr.h: New file.
502 * elf/dl-load.c: #include that.
503 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
504 if that returned true.
505
67c37987
RM
5062014-10-31 Roland McGrath <roland@hack.frob.com>
507
508 [BZ #17496]
509 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
510 gen-as-const-headers chunk. Add a big scare comment after the last
511 safe place to touch before-compile.
512
94a42455 5132014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 514
f3f5d895
JM
515 * manual/install.texi (Tools for Compilation): Update autoconf
516 version requirements.
517 * INSTALL: Regenerated.
518
f62ff286
JM
519 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
520 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
521 (__libc_pselect): Likewise.
94a42455
JM
522
523 [BZ #14138]
524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
528
ff9dbdc0
TR
5292014-10-31 Torvald Riegel <triegel@redhat.com>
530
531 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
532 correct barrier instruction.
533 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
534 Likewise.
535 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
536 Likewise.
537
b4f66884
RM
5382014-10-30 Roland McGrath <roland@hack.frob.com>
539
540 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
541 after defining inlines. Instead, just use parens to defeat macro
542 expansion of __isctype in its declaration.
543
e19c95fd
JM
5442014-10-30 Joseph Myers <joseph@codesourcery.com>
545
546 * include/sys/uio.h (__libc_readv): Remove declaration.
547 (__libc_writev): Likewise.
548 * misc/readv.c (__libc_readv): Rename to __readv.
549 (__readv): Do not define as alias.
550 (readv): Define as alias of __readv.
551 * misc/writev.c (__libc_writev): Rename to __writev.
552 (__writev): Do not define as alias.
553 (writev): Define as alias of __writev.
554 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
555 (__readv): Do not define as alias.
556 (readv): Define unconditionally as alias of __readv.
557 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
558 (__writev): Do not define as alias.
559 (writev): Define unconditionally as alias of __writev.
560 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
561 name.
562 (writev): Do not define __libc_writev name.
563
65b00b6c
RM
5642014-10-30 Roland McGrath <roland@hack.frob.com>
565
566 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
567 (convert_charseq): New function, broken out of ...
568 (use_from_charmap): ... here. Call it.
569 (use_to_charmap): Use convert_charseq and free instead of duplicating
570 its code with a variable-length stack struct.
571
d4e157aa
JM
5722014-10-30 Joseph Myers <joseph@codesourcery.com>
573
574 * include/fcntl.h (__libc_creat): Remove declaration.
575 * io/creat.c (__libc_creat): Rename to creat.
576 (creat): Do not define as alias.
577 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
578 of creat instead of __libc_creat.
579 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
580 to creat.
581 (creat): Do not define as alias.
582 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
583 __libc_creat.
584 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
585 __libc_creat name.
586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
587 Likewise.
588
0c6891a0
CD
5892014-10-29 Carlos O'Donell <carlos@redhat.com>
590
591 * manual/llio.texi: Add comments discussing why write() may be
592 considered MT-unsafe on Linux.
593
cc00cece
CD
5942014-10-28 Carlos O'Donell <carlos@redhat.com>
595
596 * dl-load.c (local_strdup): Remove.
597 (expand_dynamic_string_token): Use __strdup.
598 (decompose_rpath): Likewise.
599 (_dl_map_object): Likewise.
600
51e623f2
JM
6012014-10-28 Joseph Myers <joseph@codesourcery.com>
602
603 [BZ #14132]
604 * sysdeps/generic/unwind-dw2-fde.c
605 (__register_frame_info_bases_internal): Do not declare.
606 (__register_frame_info_table_bases_internal): Likewise.
607 (__deregister_frame_info_bases_internal): Likewise.
608 (__register_frame_info_bases): Declare and use hidden_proto before
609 definition. Use hidden_def instead of INTDEF.
610 (__register_frame_info_table_bases): Likewise.
611 (__deregister_frame_info_bases): Likewise.
612 (__register_frame_info): Do not use INTUSE.
613 (__register_frame): Likewise.
614 (__register_frame_info_table): Likewise.
615 (__register_frame_table): Likewise.
616 (__deregister_frame_info): Likewise.
617 (__deregister_frame): Likewise.
618
03d41216
GC
6192014-10-27 Gratian Crisan <gratian.crisan@ni.com>
620
621 * sysdeps/unix/sysv/linux/arm/kernel-features.h
622 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
623 not undefine.
624 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
625 Likewise.
626 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
627 Likewise.
628
a4b3624d
JM
6292014-10-27 Joseph Myers <joseph@codesourcery.com>
630
631 [BZ #14138]
632 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
633 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
634 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
635 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
636 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
637 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
638 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
639 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
640 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
641 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
642 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
643 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
644 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
645 syscall.
646 (setfsuid): Likewise.
647 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
648 (setfsuid): Likewise.
649 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
650 (setfsuid): Likewise.
651 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
652 Likewise.
653 (setfsuid): Likewise.
654 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
655 (setfsuid): Likewise.
656 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
657 Likewise.
658 (setfsuid): Likewise.
659
3574f2fd
AS
6602014-10-27 Andreas Schwab <schwab@suse.de>
661
662 [BZ #17501]
663 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
664 check for Slow_SSE4_2 feature bit.
665 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
666 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
667 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
668 Likewise. Fix check for Fast_Unaligned_Load feature bit.
669
70996a37
RM
6702014-10-24 Roland McGrath <roland@hack.frob.com>
671
461a7b1e
RM
672 * configure.ac: Validate compiler version with a empirical test of
673 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
674 $CC -v output.
675 * configure: Regenerated.
676
70996a37
RM
677 * inet/htons.c (htons): Prototypify.
678 * inet/htonl.c (htonl): Likewise.
679
e80514b5
WD
6802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
681
682 * string/strncat.c (strncat): Improve performance by using strlen.
683
6e46de42
WD
6842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
685
686 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
687
6a9ad2fa
WD
6882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
689
690 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
691 Call libc_fetestexcept_aarch64.
692
1c8810ed
WD
6932014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
694
695 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
696 Call libc_feholdexcept_aarch64.
697
8b1af712
WD
6982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
699
700 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
701 Call get_rounding_mode.
702
a7b00c11
WD
7032014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
704
705 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
706 Simplify logic.
707
3a84f1a6
WD
7082014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
709
710 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
711 Simplify logic.
712
48eb7a94
JM
7132014-10-24 Joseph Myers <joseph@codesourcery.com>
714
c8bc4038
JM
715 [BZ #14138]
716 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
717 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
718 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
719 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
720 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
721 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
722 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
723 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
724 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
725 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
726 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
727 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
728 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
729 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
730 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
731 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
732 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
733 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
734 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
735 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
736 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
737 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
738 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
739 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
740 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
741 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
742 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
743 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
744 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
745 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
746 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
747 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
748 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
749 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
750 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
751 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
752 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
753 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
754 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
755 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
756 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
757 syscall.
758 (geteuid): Likewise.
759 (getgid): Likewise.
760 (getuid): Likewise.
761 (getresgid): Likewise.
762 (getresuid): Likewise.
763 (getgroups): Likewise.
764 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
765 (geteuid): Likewise.
766 (getgid): Likewise.
767 (getuid): Likewise.
768 (getresgid): Likewise.
769 (getresuid): Likewise.
770 (getgroups): Likewise.
771 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
772 (geteuid): Likewise.
773 (getgid): Likewise.
774 (getuid): Likewise.
775 (getresgid): Likewise.
776 (getresuid): Likewise.
777 (getgroups): Likewise.
778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
779 Likewise.
780 (geteuid): Likewise.
781 (getgid): Likewise.
782 (getuid): Likewise.
783 (getresgid): Likewise.
784 (getresuid): Likewise.
785 (getgroups): Likewise.
786 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
787 (geteuid): Likewise.
788 (getgid): Likewise.
789 (getuid): Likewise.
790 (getresgid): Likewise.
791 (getresuid): Likewise.
792 (getgroups): Likewise.
793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
794 Likewise.
795 (geteuid): Likewise.
796 (getgid): Likewise.
797 (getuid): Likewise.
798 (getgroups): Likewise.
799
48eb7a94
JM
800 [BZ #14138]
801 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
802 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
803 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
804 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
805 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
806 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
807 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
808 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
809 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
810 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
811 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
812 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
813 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
814 __chown.
815 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
816 (lchown): Likewise.
817 (fchown): Likewise.
818 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
819 Likewise.
820 (lchown): Likewise.
821 (fchown): Likewise.
822 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
823 (lchown): Likewise.
824 (fchown): Likewise.
825 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
826 Likewise.
827 (lchown): Likewise.
828 (fchown): Likewise.
829
ea9a7c8b
WD
8302014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
831
832 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
833 Simplify logic.
834
e226de33
WD
8352014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
836
837 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
838 Cleanup logic.
839
6e3d8ed3
WD
8402014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
841
842 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
843 Remove unused include.
844
eb04247d
WD
8452014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
846
847 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
848 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
849 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
850 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
851
13d84554
CD
8522014-10-23 Carlos O'Donell <carlos@systemhalted.org>
853 Helge Deller <deller@gmx.de>
854
855 [BZ #17508]
856 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
857 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
858 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
859
15f9c5df
JM
8602014-10-23 Joseph Myers <joseph@codesourcery.com>
861
862 [BZ #14132]
863 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
864 Remove macro definition.
865 (__ashrdi3_v_glibc20): Likewise.
866 (__lshrdi3_v_glibc20): Likewise.
867 (__cmpdi2_v_glibc20): Likewise.
868 (__ucmpdi2_v_glibc20): Likewise.
869 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
870 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
871 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
872 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
873 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
874 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
875
c6dfed24
RM
8762014-10-22 Roland McGrath <roland@hack.frob.com>
877
878 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
879 old GNU extension [0] syntax.
880 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
881 alloca rather than an array member with variable length.
882 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
883 * nscd/nscd.c (invalidate_db): New function, broken out of ...
884 (parse_opt): ... here. Likewise use alloca there.
885 Validate the -i argument before checking for rootness.
886 (send_shutdown): New function, broken out of ...
887 (parse_opt): ... here.
888
8c2b1ed8
RM
8892014-10-22 Roland McGrath <roland@hack.frob.com>
890
891 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
892 macro to get at the _rt_local_ro field.
893 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
894 ([PIC] case) or _dl_hwcap ([!PIC] case).
895 * sysdeps/arm/setjmp.S: Likewise.
896
897 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
898 * sysdeps/arm/configure.ac: New check to define it.
899 * sysdeps/arm/configure: Regenerated.
900 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
901 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
902 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
903 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
904 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
905 Use move/movt pair instead of a load.
906 (LDST_GLOBAL): Macro removed.
907 (LDR_GLOBAL): New macro replaces it.
908 (LDR_HIDDEN): New macro.
909 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
910 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
911
912 * setjmp/tst-setjmp-static.c: New file.
913 * setjmp/Makefile (tests): Add it.
914 (tests-static): New variable.
915
b5af9297
MR
9162014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
917
918 [BZ #17485]
919 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
920
a13d0d74
JM
9212014-10-21 Joseph Myers <joseph@codesourcery.com>
922
923 [BZ #14132]
924 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
925
f05e73f6
RM
9262014-10-21 Roland McGrath <roland@hack.frob.com>
927
928 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
929
6ab1d1ea
RM
9302014-10-20 Roland McGrath <roland@hack.frob.com>
931
932 * io/fts.c (dirent_not_directory): New function.
933 (fts_build): Call it.
934
ab49e763
RM
9352014-10-20 Roland McGrath <roland@hack.frob.com>
936
e436eb79
RM
937 * nptl/version.c (__nptl_main): Use normal __write rather than
938 INTERNAL_SYSCALL.
939 (banner): Update copyright years.
940
6af246cf
RM
941 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
942 gettimeofday.
943 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
944 * nptl/pthread_cond_timedwait.c: Likewise.
945 * nptl/pthread_mutex_timedlock.c: Likewise.
946 * nptl/sem_timedwait.c: Likewise.
947
ab49e763
RM
948 * sysdeps/nptl/bits/libc-lock.h
949 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
950 (__libc_lock_init_recursive): Return void, not 0.
951 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
952 (__libc_rwlock_init): Likewise.
953 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
954
f50277c1
TR
9552014-10-20 Torvald Riegel <triegel@redhat.com>
956
957 [BZ #15215]
958 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
959 (__pthread_once_slow): ... here.
960 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
961 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
962
63668b70
TR
9632014-10-20 Torvald Riegel <triegel@redhat.com>
964
965 [BZ #15215]
966 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
967 __PTHREAD_ONCE_FORK_GEN_INCR): New.
968 * sysdeps/nptl/fork.c (__libc_fork): Use them.
969 * nptl/pthread_once.c (__pthread_once): Likewise.
970 Update comments.
971
42b7f5d4
JM
9722014-10-20 Joseph Myers <joseph@codesourcery.com>
973
974 [BZ #14138]
975 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
976 name.
977 (writev): Use __libc_writev as strong name.
978 * sysdeps/unix/sysv/linux/readv.c: Remove file.
979 * sysdeps/unix/sysv/linux/writev.c: Likewise.
980
b0643088
RM
9812014-10-17 Roland McGrath <roland@hack.frob.com>
982
114c4e09
RM
983 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
984
674b8978
RM
985 * sysdeps/i386/nptl/tls.h
986 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
987 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
988 New macros.
989 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
990 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
991 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
992 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
993 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
994 Call CHECK_THREAD_SYSINFO instead of doing an assert.
995
184ee940
RM
996 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
997 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
998 on [__NR_futex].
999 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1000 broken out of ...
1001 (__pthread_mutex_init): ... here. Call it.
1002 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1003 Conditionalize PI cases on [__NR_futex].
1004 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1005 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1006 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1007
327ae257
RM
1008 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1009 conditional on [SIGSETXID].
1010 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1011 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1012 is defined. Likewise for SIGSETXID.
1013 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1014 Conditionalize definitions on [SIGSETXID].
1015 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1016 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1017 unblocking on [SIGCANCEL].
1018
b0643088
RM
1019 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1020 [__NR_set_robust_list].
1021
33cc770b
SP
10222014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1023
1024 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1025 (do_compare): Likewise.
1026
0742aef6
LH
10272014-10-17 Leonhard Holz <leonhard.holz@web.de>
1028
1029 [BZ #15884]
1030 * string/strcoll_l.c: Don't include stdio.h.
1031 (coll_seq): Remove members idxarr and rulearr.
1032 (get_next_seq_cached): Remove function.
1033 (get_next_seq): Likewise.
1034 (get_next_seq_nocache): Rename to get_next_seq.
1035 (do_compare): Remove function.
1036 (do_compare_nocache): Rename to do_compare.
1037 (STRCOLL): Remove weight and rules cache.
1038
ee54ce44
RM
10392014-10-16 Roland McGrath <roland@hack.frob.com>
1040
1041 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1042 * sysdeps/arm/sfp-machine.h: ... to here.
1043 * sysdeps/arm/Implies: Remove arm/soft-fp.
1044
a75d3b02
JM
10452014-10-14 Joseph Myers <joseph@codesourcery.com>
1046
1047 * conform/data/sys/utsname.h-data (*_t): Allow.
1048 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1049 [POSIX] (WEXITED): Do not expect constant.
1050 [POSIX] (WSTOPPED): Likewise.
1051 [POSIX] (WNOHANG): Likewise.
1052 [POSIX] (WNOWAIT): Likewise.
1053 [POSIX] (siginfo_t): Do not expect type or elements.
1054 [POSIX] (pid_t): Do not expect type.
1055 [POSIX] (signal.h): Do not allow header.
1056 [POSIX] (sys/resource.h): Likewise.
1057 [POSIX] (si_*): Do not allow pattern.
1058 [POSIX] (W*): Likewise.
1059 [POSIX] (P_*): Likewise.
1060 [POSIX] (BUS_*): Likewise.
1061 [POSIX] (CLD_*): Likewise.
1062 [POSIX] (FPE_*): Likewise.
1063 [POSIX] (ILL_*): Likewise.
1064 [POSIX] (POLL_*): Likewise.
1065 [POSIX] (SEGV_*): Likewise.
1066 [POSIX] (SI_*): Likewise.
1067 [POSIX] (TRAP_*): Likewise.
1068 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1069 variable.
1070
fda389c8
SP
10712014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1072
1073 [BZ #12926]
1074 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1075 infinite loop when __recvmsg returns 0.
1076
6bc6bd3b
JM
10772014-10-10 Joseph Myers <joseph@codesourcery.com>
1078
fcb32af1
JM
1079 * CANCEL-FCT-WAIVE: Remove file.
1080 * CANCEL-FILE-WAIVE: Likewise.
1081
6bc6bd3b
JM
1082 [BZ #14132]
1083 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1084 instead of INTVARDEF.
1085 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1086 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1087 rtld_hidden_data_def instead of INTVARDEF.
1088 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1089 * elf/dl-deps.c (expand_dst): Likewise.
1090 * elf/dl-load.c (_dl_dst_count): Likewise.
1091 (_dl_dst_substitute): Likewise.
1092 (decompose_rpath): Likewise.
1093 (_dl_init_paths): Likewise.
1094 (open_path): Likewise.
1095 (_dl_map_object): Likewise.
1096 * elf/rtld.c (dl_main): Likewise.
1097 (process_dl_audit): Likewise.
1098 (process_envvars): Likewise.
1099 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1100 Remove declaration.
1101 (__libc_enable_secure): Use rtld_hidden_proto.
1102
b8c80a7e
KS
11032014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1104
1105 * elf/dl-load.c
1106 (add_path): New function broken out of _dl_rtld_di_serinfo.
1107 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1108
ff12c11f
JM
11092014-10-09 Joseph Myers <joseph@codesourcery.com>
1110
5c0508a3
JM
1111 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1112 parentheses around macro arguments.
1113 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1114 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1115 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1116 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1117 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1118 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1119 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1120 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1121 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1122 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1123 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1124 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1125 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1126 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1127 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1128 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1129 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1130 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1131 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1132 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1133 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1134 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1135 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1136 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1137 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1138 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1139 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1140 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1141 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1142 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1143 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1144 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1145 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1146 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1147 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1148 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1149 Likewise.
1150 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1151 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1152 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1153 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1154 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1155 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1156 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1157 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1158 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1159 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1160 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1161 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1162 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1163 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1164 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1165 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1166 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1167 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1168 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1169 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1170 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1171 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1172 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1173 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1174 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1175 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1176 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1177 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1178 (_FP_FRAC_SRS_1): Likewise.
1179 (_FP_FRAC_CLZ_1): Likewise.
1180 (_FP_MUL_MEAT_1_imm): Likewise.
1181 (_FP_MUL_MEAT_1_wide): Likewise.
1182 (_FP_MUL_MEAT_1_hard): Likewise.
1183 (_FP_SQRT_MEAT_1): Likewise.
1184 (_FP_FRAC_ASSEMBLE_1): Likewise.
1185 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1186 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1187 (__FP_CLZ_2): Likewise.
1188 (_FP_MUL_MEAT_2_wide): Likewise.
1189 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1190 (_FP_MUL_MEAT_2_gmp): Likewise.
1191 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1192 (_FP_SQRT_MEAT_2): Likewise.
1193 (_FP_FRAC_ASSEMBLE_2): Likewise.
1194 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1195 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1196 (_FP_FRAC_CLZ_4): Likewise.
1197 (_FP_MUL_MEAT_4_wide): Likewise.
1198 (_FP_MUL_MEAT_4_gmp): Likewise.
1199 (_FP_SQRT_MEAT_4): Likewise.
1200 (_FP_FRAC_ASSEMBLE_4): Likewise.
1201 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1202 * soft-fp/op-common.h (_FP_CMP): Likewise.
1203 (_FP_CMP_EQ): Likewise.
1204 (_FP_CMP_UNORD): Likewise.
1205 (_FP_TO_INT): Likewise.
1206 (_FP_FROM_INT): Likewise.
1207 [!__FP_CLZ] (__FP_CLZ): Likewise.
1208 (_FP_DIV_HELP_imm): Likewise.
1209 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1210 Likewise.
1211 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1212 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1213 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1214 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1215 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1216 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1217 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1218 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1219 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1220 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1222 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1223 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1224 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1225 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1226 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1227 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1228 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1229 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1230 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1231 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1232 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1233 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1234 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1235 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1236 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1237 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1238 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1240 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1241 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1242 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1243 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1244 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1245 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1246 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1247 (FP_UNPACK_RAW_SP): Likewise.
1248 (FP_PACK_RAW_S): Likewise.
1249 (FP_PACK_RAW_SP): Likewise.
1250 (FP_UNPACK_S): Likewise.
1251 (FP_UNPACK_SP): Likewise.
1252 (FP_UNPACK_SEMIRAW_S): Likewise.
1253 (FP_UNPACK_SEMIRAW_SP): Likewise.
1254 (FP_PACK_S): Likewise.
1255 (FP_PACK_SP): Likewise.
1256 (FP_PACK_SEMIRAW_S): Likewise.
1257 (FP_PACK_SEMIRAW_SP): Likewise.
1258 (_FP_SQRT_MEAT_S): Likewise.
1259 (FP_CMP_S): Likewise.
1260 (FP_CMP_EQ_S): Likewise.
1261 (FP_CMP_UNORD_S): Likewise.
1262 (FP_TO_INT_S): Likewise.
1263 (FP_FROM_INT_S): Likewise.
1264
a736ec37
JM
1265 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1266
ff12c11f
JM
1267 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1268 (FP_EX_INVALID_IMZ): Likewise.
1269 (FP_EX_INVALID_IMZ_FMA): Likewise.
1270 (FP_EX_INVALID_ISI): Likewise.
1271 (FP_EX_INVALID_ZDZ): Likewise.
1272 (FP_EX_INVALID_IDI): Likewise.
1273 (FP_EX_INVALID_SQRT): Likewise.
1274 (FP_EX_INVALID_CVI): Likewise.
1275 (FP_EX_INVALID_VC): Likewise.
1276 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1277 "invalid" exceptions.
1278 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1279 (_FP_ADD_INTERNAL): Likewise.
1280 (_FP_MUL): Likewise.
1281 (_FP_FMA): Likewise.
1282 (_FP_DIV): Likewise.
1283 (_FP_CMP_CHECK_NAN): Likewise.
1284 (_FP_SQRT): Likewise.
1285 (_FP_TO_INT): Likewise.
1286 (FP_EXTEND): Likewise.
1287
b6dcfe8c
AM
12882014-10-09 Allan McRae <allan@archlinux.org>
1289
1290 * po/fr.po: Update French translation from translation project.
1291
2d6a47ba
JM
12922014-10-09 Joseph Myers <joseph@codesourcery.com>
1293
cb831245
JM
1294 [BZ #14132]
1295 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1296 of INTDEF.
1297 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1298 (__cxa_atexit): Use libc_hidden_proto.
1299 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1300
5deeb190
JM
1301 [BZ #14132]
1302 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1303 declaration.
1304 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1305 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1306 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1307 [!_ISOMAC] (__iswctype_internal): Likewise.
1308 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1309 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1310 alias.
1311 (fcntl): Remove __fcntl_internal alias.
1312 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1313 __connect_internal alias.
1314 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1315 Likewise.
1316
454ac701
JM
1317 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1318 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1319 FP_DENORM_ZERO.
1320 (_FP_CHECK_FLUSH_ZERO): New macro.
1321 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1322 (_FP_CMP): Likewise.
1323 (_FP_CMP_EQ): Likewise.
1324 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1325 FP_DENORM_ZERO.
1326 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1327 (FP_TRUNC): Likewise.
1328
0022e688
JM
1329 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1330 treated as invalid conversion, not as normal exponent.
1331
73e28d9c
JM
1332 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1333 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1334 (_FP_CMP_EQ): Likewise.
1335 (_FP_CMP_UNORD): Likewise.
1336 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1337 (FP_CMP_EQ_D): Likewise.
1338 (FP_CMP_UNORD_D): Likewise.
1339 * soft-fp/extended.h (FP_CMP_E): Likewise.
1340 (FP_CMP_EQ_E): Likewise.
1341 (FP_CMP_UNORD_E): Likewise.
1342 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1343 (FP_CMP_EQ_Q): Likewise.
1344 (FP_CMP_UNORD_Q): Likewise.
1345 * soft-fp/single.h (FP_CMP_S): Likewise.
1346 (FP_CMP_EQ_S): Likewise.
1347 (FP_CMP_UNORD_S): Likewise.
1348 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1349 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1350 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1351 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1352 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1353 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1354 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1355 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1356 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1357 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1358 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1359 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1360 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1361 to FP_CMP_Q.
1362 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1363 FP_CMP_Q.
1364 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1365 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1366 FP_CMP_EQ_Q.
1367 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1368 FP_CMP_Q.
1369 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1370 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1371 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1372 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1373 FP_CMP_EQ_Q.
1374 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1375 FP_CMP_Q.
1376 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1377 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1378 FP_CMP_EQ_Q.
1379 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1380 FP_CMP_Q.
1381 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1382 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1383 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1384 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1385 FP_CMP_EQ_Q.
1386
43059f42
JM
1387 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1388 a subnormal result, set the underflow exception if trapping on
1389 underflow is enabled.
1390 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1391 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1392 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1393 redefine to 0.
1394 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1395 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1396 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1397 * soft-fp/extendxftf2.c (__extendxftf2): Use
1398 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1399
2d6a47ba
JM
1400 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1401 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1402 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1403 FP_HANDLE_EXCEPTIONS.
1404 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1405 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1406 FP_HANDLE_EXCEPTIONS.
1407 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1408 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1409 FP_HANDLE_EXCEPTIONS.
1410 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1411 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1412 FP_HANDLE_EXCEPTIONS.
1413
620f462e
JM
14142014-10-08 Joseph Myers <joseph@codesourcery.com>
1415
1416 [BZ #14132]
1417 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1418 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1419 use INTUSE.
1420 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1421 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1422 Remove alias.
1423 (__adjtimex): Define using libc_hidden_ver.
1424 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1425 Remove declaration.
1426 (ntp_gettime): Call __adjtimex directly.
1427 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1428 Remove declaration.
1429 (ntp_gettimex): Call __adjtimex directly.
1430 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1431 __adjtimex_internal alias.
1432
c763c5d2
RM
14332014-10-08 Roland McGrath <roland@hack.frob.com>
1434
1435 [BZ #17460]
1436 * nscd/nscd.c (more_help): Rewrite list of tables collection
1437 using xstrdup and asprintf.
1438
1439 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1440
7b8fb2b8
RM
14412014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1442 Roland McGrath <roland@hack.frob.com>
1443
1444 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1445 (do_lookup_unique): ... local function 'enter' here; update callers.
1446
abb280f7
JM
14472014-10-06 Joseph Myers <joseph@codesourcery.com>
1448
f7b42517
JM
1449 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1450 compat_symbol calls on [SHARED].
1451 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1452 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1453 Remove.
1454 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1455 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1456 (oldsetrlimit): Remove.
1457 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1459 (lchown): New syscall entry.
1460 (oldsetrlimit): Remove.
1461 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1462 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1463 (oldsetrlimit): Remove.
1464 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1465
abb280f7
JM
1466 [BZ #14138]
1467 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1468 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1469 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1470 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1471 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1472 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1473 (fchown): Likewise.
1474 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1475 (fchown): Likewise.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1477 Likewise.
1478
47d46237
AZ
14792014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1480
1481 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1482 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1483 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1484 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1485 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1486 Likewise.
1487 (__old_sem_post): Likewise.
1488
14892014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1490
845a7343
CM
1491 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1492 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1493 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1494 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1495 Use INLINE_VSYSCALL macro.
1496 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1497 __vdso_clock_gettime.
1498 * sysdeps/unix/sysv/linux/tile/init-first.c
1499 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1500 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1501 __vdso_clock_gettime.
1502
83d641ef
CM
1503 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1504 to set up frame more cleanly.
1505
d9cd52e6
CM
1506 * sysdeps/tile/memcmp.c: New file.
1507
4b68ea11
CM
1508 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1509
c86f7b80
CM
1510 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1511 * sysdeps/tile/tilegx/strcasestr.c: New file.
1512 * sysdeps/tile/tilegx/strnlen.c: New file.
1513 * sysdeps/tile/tilegx/strstr.c: New file.
1514
1c4c1a6f
CM
1515 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1516
99d86ea3
AS
15172014-10-06 Arjun Shankar <arjun.is@lostca.se>
1518
1519 * nptl/tst-setuid3.c: Write errors to stdout.
1520
06210a44
KS
15212014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1522
1523 * elf/dl-deps.c
1524 (preload): New functions broken out of _dl_map_object_deps.
1525 (_dl_map_object_deps): Remove a nested function. Update call sites.
1526
6268f532
JM
15272014-10-01 Joseph Myers <joseph@codesourcery.com>
1528
1529 [BZ #14138]
1530 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1531 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1532
b925285f
SE
15332014-10-01 Steve Ellcey <sellcey@mips.com>
1534
1535 * sysdeps/mips/strcmp.S: New.
1536
754a15c6
JM
15372014-09-30 Joseph Myers <joseph@codesourcery.com>
1538
1539 [BZ #14138]
1540 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1541 (linkat): Likewise.
1542 (mkdirat): Likewise.
1543 (readlinkat): Likewise.
1544 (renameat): Likewise.
1545 (symlinkat): Likewise.
1546 (unlinkat): Likewise.
1547 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1548 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1549 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1550 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1551 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1552 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1553 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1554
85bb81c9
WN
15552014-09-30 Will Newton <will.newton@linaro.org>
1556
dc6fe23b
WN
1557 * math/math.h: Define long double math functions if
1558 _LIBC_TEST is defined.
1559 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1560
85bb81c9
WN
1561 * localedata/Makefile: Move assignment to tests-special
1562 into an ifdef testing run-built-tests.
1563 * timezone/Makefile: Likewise.
1564
b7e02da4
JM
15652014-09-29 Joseph Myers <joseph@codesourcery.com>
1566
1567 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1568 with $(BASH) not $(SHELL).
1569
62058ce6
CD
15702014-09-29 Carlos O'Donell <carlos@redhat.com>
1571 Matthew LeGendre <legendre1@llnl.gov>
1572
1573 [BZ #17411]
1574 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1575 l_reloc_result.
1576
8e257a29
KS
15772014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1578
1579 * stdio-common/printf_fp.c
1580 (hack_digit): New function, broken out of ...
1581 (__printf_fp): ... local function here. Update call sites.
1582 hack_digit now takes an additional parameter that is a pointer
1583 to a struct of the referenced locals. Those locals moved inside
1584 the struct and references updated.
1585
f4a58f0d
L
15862014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1587
1588 * aclocal.m4: Require autoconf 2.69.
1589 * configure: Regenerated.
1590 * sysdeps/aarch64/configure: Likewise.
1591 * sysdeps/alpha/configure: Likewise.
1592 * sysdeps/arm/armv7/configure: Likewise.
1593 * sysdeps/arm/configure: Likewise.
1594 * sysdeps/ia64/configure: Likewise.
1595 * sysdeps/mach/configure: Likewise.
1596 * sysdeps/mips/configure: Likewise.
1597 * sysdeps/s390/configure: Likewise.
1598 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1600
1601 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1602 file.
1603 * sysdeps/ia64/configure.ac: Likewise.
1604
93ae1eba
JM
16052014-09-26 Joseph Myers <joseph@codesourcery.com>
1606
1810d3ab
JM
1607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1608 specify symbol version for ld.so. Do not include entry for
1609 libpthread.
1610 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1611 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1612 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1613
93ae1eba
JM
1614 [BZ #14171]
1615 * Makeconfig [$(build-shared) = yes]
1616 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1617 makefiles.
1618 [$(build-shared) = yes && $(soversions.mk-done) = t]
1619 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1620 [$(build-shared) = yes && $(soversions.mk-done) = t]
1621 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1622 to Makerules.
1623 [$(build-shared) = yes && $(soversions.mk-done) = t]
1624 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1625 here.
1626 [$(build-shared) = yes && $(soversions.mk-done) = t]
1627 (common-generated): Don't append gnu/lib-names.h and
1628 gnu/lib-names.stmp here.
1629 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1630 (lib-names-h-abi): New variable.
1631 [$(build-shared) = yes && $(soversions.mk-done) = t]
1632 (lib-names-stmp-abi): Likewise.
1633 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1634 abi-variants] (before-compile): Append
1635 $(common-objpfx)$(lib-names-h-abi).
1636 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1637 abi-variants] (common-generated): Append gnu/lib-names.h.
1638 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1639 abi-variants] (install-others-nosubdir): Depend on
1640 $(inst_includedir)/$(lib-names-h-abi).
1641 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1642 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1643 [$(build-shared) = yes && $(soversions.mk-done) = t]
1644 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1645 [$(build-shared) = yes && $(soversions.mk-done) = t]
1646 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1647 [$(build-shared) = yes && $(soversions.mk-done) = t]
1648 (common-generated): Append $(lib-names-h-abi) and
1649 $(lib-names-stmp-abi).
1650 * scripts/lib-names.awk: Do not handle multi being set.
1651 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1652 Remove variable.
1653 (abi-lp64_be-ld-soname): Likewise.
1654 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1655 Likewise.
1656 (abi-hard-ld-soname): Likewise.
1657 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1658 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1659 Remove variable.
1660 (abi-o32_hard-ld-soname): Likewise.
1661 (abi-o32_soft_2008-ld-soname): Likewise.
1662 (abi-o32_hard_2008-ld-soname): Likewise.
1663 (abi-n32_soft-ld-soname): Likewise.
1664 (abi-n32_hard-ld-soname): Likewise.
1665 (abi-n32_soft_2008-ld-soname): Likewise.
1666 (abi-n32_hard_2008-ld-soname): Likewise.
1667 (abi-n64_soft-ld-soname): Likewise.
1668 (abi-n64_hard-ld-soname): Likewise.
1669 (abi-n64_soft_2008-ld-soname): Likewise.
1670 (abi-n64_hard_2008-ld-soname): Likewise.
1671 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1672 Likewise.
1673 (abi-64-v2-ld-soname): Likewise.
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1675 ld.so entries.
1676 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1677 variable.
1678 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1679 entry.
1680 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1681 variable.
1682 (abi-64-ld-soname): Likewise.
1683 (abi-x32-ld-soname): Likewise.
1684 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1685 entry.
1686 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1687
68870f12
JM
16882014-09-23 Joseph Myers <joseph@codesourcery.com>
1689
1690 [BZ #14138]
1691 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1692 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1693 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1694 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1695 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1696 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1697 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1698 syscall entry for GLIBC_2.2 symbol version.
1699 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1700 Likewise.
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1702 (setrlimit): Likewise.
1703 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1704 Likewise.
1705
ea58f202
WN
17062014-09-23 Will Newton <will.newton@linaro.org>
1707
1708 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1709 _LINUX_ARM_SYSDEP_H include guard too.
1710 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1711 define.
1712
69eb9a18
RV
17132014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1714
1715 * sysdeps/unix/sysv/linux/eventfd.c:
1716 Make first argument unsigned.
1717 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1718 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1719
20e5a5f7
OB
17202014-09-20 Ondřej Bílka <neleai@seznam.cz>
1721
1722 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1723 * socket/sys/socket.h: Likewise
1724 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1725
d3c827e7
AK
17262014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1727
1728 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1729
fe1cc35a
AS
17302014-09-17 Arjun Shankar <arjun.is@lostca.se>
1731
1732 * time/tst-ftime.c: New test.
1733 * time/Makefile (tests): Add tst-ftime.
1734
4e8afe69
JM
17352014-09-17 Joseph Myers <joseph@codesourcery.com>
1736
c4fe3ea7
JM
1737 * soft-fp/extended.h: Fix comment formatting.
1738 * soft-fp/op-1.h: Likewise.
1739 * soft-fp/op-2.h: Likewise.
1740 * soft-fp/op-4.h: Likewise.
1741 * soft-fp/op-8.h: Likewise.
1742 * soft-fp/op-common.h: Likewise.
1743 * soft-fp/soft-fp.h: Likewise.
1744
4e8afe69
JM
1745 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1746
af296fcd
JM
17472014-09-16 Joseph Myers <joseph@codesourcery.com>
1748
1749 [BZ #6652]
1750 * Makeconfig (soversions-default-setname): Remove variable.
1751 ($(common-objpfx)soversions.i): Don't pass default_setname to
1752 soversions.awk.
1753 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1754 oldest_abi to abi-versions.awk.
1755 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1756 * config.make.in (oldest-abi): Remove variable.
1757 * configure.ac (--enable-oldest-abi): Remove configure option.
1758 * configure: Regenerated.
1759 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1760 text.
1761 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1762 * scripts/soversions.awk: Do not handle default_setname variable.
1763 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1764 variable.
1765 * sysdeps/mach/hurd/configure: Regenerated.
1766 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1767 variable.
1768 * sysdeps/unix/sysv/linux/configure: Regenerated.
1769
545583d6
SP
17702014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1771
d330b980
SP
1772 * elf/Makefile (CFLAGS-interp.c): Remove.
1773 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1774 path string.
1775 * elf/interp.c: Include generated runtime-linker.h
1776
02657da2
SP
1777 * Makerules (lib%.so): Don't include $(+interp) in
1778 prerequisites.
1779 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1780 * dlfcn/eval.c: Remove file.
1781
653b1080
SP
1782 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1783 macros.
1784
602f80ec
SP
1785 [BZ #17266]
1786 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1787 4.2 and newer.
1788
545583d6
SP
1789 [BZ #17370]
1790 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1791
884ddc50
SP
17922014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1793 Jakub Jelinek <jakub@redhat.com>
1794
1795 [BZ #17266]
1796 * libio/stdio.h: Check definition of __fortify_function
1797 instead of __extern_always_inline to include bits/stdio2.h.
1798 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1799 check if __extern_always_inline is defined.
1800 [__USE_MISC || __USE_XOPEN]: Likewise.
1801 [__USE_ISOC99] Likewise.
1802 * misc/sys/cdefs.h (__fortify_function): Define only if
1803 __extern_always_inline is defined.
1804 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1805 __extern_always_inline and __extern_inline only for g++-4.3
1806 and newer or a compatible gcc.
1807
a7b87268
AS
18082014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1809
1810 [BZ #17371]
1811 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1812 last change to handle zero prefix length.
1813
3f41521d
SP
18142014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1815
61fe374a
SP
1816 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1817 _SC_REGEX_VERSION.
1818
3f41521d
SP
1819 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1820 _POSIX_RAW_SOCKETS.
1821
d8f879ee
AM
18222014-09-13 Allan McRae <allan@archlinux.org>
1823
1824 * po/ru.po: Update Russian translation from translation project.
1825
c079afb7
RM
18262014-09-12 Roland McGrath <roland@hack.frob.com>
1827
a62b3c15
RM
1828 * locale/programs/locale.c (show_locale_vars): Inline local function
1829 into its sole call site. Clean up some style nits.
1830 (print_item): New function, broken out of ...
1831 (show_info): ... local function here. Clean up style nits.
1832
d7e49b19
RM
1833 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1834 out of ...
1835 (set_class_defaults): ... local function set_default here.
1836 Define set_default as a macro locally to pass constant parameters.
1837 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1838 rather than a shared local.
1839
c079afb7
RM
1840 * stdlib/rpmatch.c (try): New function, broken out of ...
1841 (rpmatch): ... local function here. Also, prototypify definition.
1842
0bd72468
JM
18432014-09-12 Joseph Myers <joseph@codesourcery.com>
1844
ba90e050
JM
1845 * scripts/soversions.awk: Do not handle configuration names.
1846 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1847 vendor and os variables to soversions.awk.
1848 * configure.ac: Do not modify gnu-* host_os.
1849 * configure: Regenerated
1850 * shlib-versions: Remove first column with configuration names.
1851 * nptl/shlib-versions: Likewise.
1852 * nptl_db/shlib-versions: Likewise.
1853 * sysdeps/hppa/shlib-versions: Likewise.
1854 * sysdeps/m68k/shlib-versions: Likewise.
1855 * sysdeps/mach/hurd/shlib-versions: Likewise.
1856 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1857 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1858 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1859 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1860 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1861 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1862 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1863 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1865 Likewise.
1866 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1867 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1868 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1869 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1870 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1871 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1872 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1873 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1874
73a39112
JM
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1876 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1878 Regenerated.
1879 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1881 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1882
c729e7c1
JM
1883 * shlib-versions: Remove OS-specific entries. Moved to files in
1884 sysdeps.
1885 * sysdeps/mach/hurd/shlib-versions: New file.
1886 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1887
dc932a24
JM
1888 * nptl/shlib-versions: Remove architecture-specific entries.
1889 Moved to files in sysdeps.
1890 * shlib-versions: Likewise.
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1892 file.
1893 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1894 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1895 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1896 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1897
0bd72468
JM
1898 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1899 (UDP_NO_CHECK6_RX): Likewise.
1900
920238e0
SP
19012014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1902
1903 * sysdeps/posix/sysconf.c (__sysconf): Spell
1904 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1905
ba7b4d29
FW
19062014-08-12 Florian Weimer <fweimer@redhat.com>
1907
1908 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1909 loading.
1910 * iconv/Versions (__gconv_transliterate): Export for use from
1911 gconv modules.
1912 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1913 (struct __gconv_trans_data, __gconv_trans_fct,
1914 __gconv_trans_context_fct, __gconv_trans_query_fct,
1915 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1916 definitions.
1917 (struct __gconv_step_data): Remove __trans member.
1918 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1919 longer hidden. Remove unused trans_data argument.
1920 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1921 (__gconv_translit_find): Remove declaration.
1922 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1923 prototype.
1924 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1925 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1926 trans_data argument. Add hidden definition.
1927 (__gconv_translit_find): Remove.
1928 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1929 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1930 * iconv/skeleton.c: Remove transliteration initialization.
1931 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1932 __gconv_step_data initialization.
1933 * libio/iofwide.c (__libio_translit_): Remove.
1934 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1935 * wcsmbs/btowc.c (__btowc): Likewise.
1936 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1937 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1938 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1939 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1940 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1941 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1942 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1943 * wcsmbs/wctob.c (wctob): Likewise.
1944
5379aebd
SP
19452014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1946
1947 [BZ #16194]
1948 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1949 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1950 register usage.
1951 * sysdeps/x86/Makefile: Adjust.
1952
8c0ab919
RM
19532014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1954 Roland McGrath <roland@hack.frob.com>
1955
1956 * locale/weight.h: Add include guard.
1957 (findidx): Make static rather than auto; take new parameters
1958 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1959 * locale/weightwc.h: Likewise.
1960 * posix/fnmatch_loop.c
1961 (FCT): Change type of EXTRA from int32_t to wint_t.
1962 Don't include either header inside the function.
1963 Call FINDIDX rather than findidx, and pass new arguments.
1964 #undef FINDIDX at the end of the file.
1965 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1966 FINDIDX before including fnmatch_loop.c for the non-wide version.
1967 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1968 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1969 for the wide version.
1970 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1971 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1972 Pass new arguments to findidx.
1973 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1974 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1975 Don't #include it inside the function. Pass new arguments to findidx.
1976 * posix/regex_internal.h
1977 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1978 (re_string_elem_size_at): Don't #include it inside the function.
1979 Pass new arguments to findidx.
1980 * string/strcoll_l.c: #include WEIGHT_H at top level.
1981 (get_next_seq): Don't #include it inside the function.
1982 Pass new arguments to findidx.
1983 (get_next_seq_nocache): Likewise.
1984 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1985 (STRXFRM): Don't #include it inside the function.
1986 Pass new arguments to findidx.
1987
52ffbdf2
FW
19882014-09-11 Florian Weimer <fweimer@redhat.com>
1989
1990 [BZ #17344]
1991 * malloc/malloc.c (unlink): Turn asserts into a call to
1992 malloc_printerr.
1993
984c0ea9
TL
19942014-09-11 Tim Lammens <tim.lammens@gmail.com>
1995
1996 [BZ #17370]
1997 * libio/wfileops (do_ftell_wide): Free OUT.
1998
3daee107
CM
19992014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2000
2001 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2002
58b930ae
SP
20032014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2004
2005 [BZ #17363]
2006 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2007 group if the current group is empty.
2008
3b473fec
AZ
20092014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010
71ae8647
AZ
2011 * benchtests/bench-memset.c (test_main): Add more test from size
2012 from 32 to 512 bytes.
2013 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2014 Add POWER8 memset object.
2015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2016 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2017 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2018 implementation.
2019 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2020 Likewise.
2021 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2022 multiarch POWER8 memset optimization.
2023 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2024 POWER8 memset optimization.
2025
3b473fec
AZ
2026 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2027 Remove bzero multiarch objects.
2028 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2029 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2030 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2031 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2032 Remove define.
2033 [__bzero]: Redefine to specific name.
2034 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2035 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2036 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2037 define.
2038 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2039 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2040
e6fb9587
FW
20412014-09-10 Florian Weimer <fweimer@redhat.com>
2042
2043 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2044 warnings into errors.
2045
2046 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2047 __cxa_thread_atexit_impl prototype.
2048
9d3a350b
SE
20492014-09-09 Steve Ellcey <sellcey@mips.com>
2050
2051 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2052 Fix capitalization of error message.
2053
0febba23
SE
20542014-09-09 Steve Ellcey <sellcey@mips.com>
2055
2056 * sysdeps/mips/preconfigure: Modify ABI tests.
2057
645a0e9c
CD
20582014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2059
2060 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2061
d83f0734
CD
20622014-09-07 Roland McGrath <roland@hack.frob.com>
2063 Carlos O'Donell <carlos@systemhalted.org>
2064
2065 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2066 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2067 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2068 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2069 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2070 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2071 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2072 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2073 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2074 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2075 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2076 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2077 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2078 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2079 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2080 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2081 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2082 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2083 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2084 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2085 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2086 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2087 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2088 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2089 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2090 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2091 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2092 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2093 Deconditionalize the code that was previously under [RESET_PID].
2094 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2095 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2096 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2097 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2098 include sysdep.h.
2099
21c83793
AM
21002014-09-08 Allan McRae <allan@archlinux.org>
2101
2102 * version.h (RELEASE): Set to "development".
2103 (VERSION): Set to "2.20.90"
2104
1cd9b65c
AM
21052014-09-07 Allan McRae <allan@archlinux.org
2106
b8079dd0
AM
2107 * version.h (RELEASE): Set to "stable".
2108 (VERSION): Set to "2.20"
2109 * include/features.h (__GLIBC_MINOR__): Set to 20.
2110
c46303ef
AM
2111 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2112 Liebler.
2113
1cd9b65c
AM
2114 * po/ko.po: Update Korean translation from translation project.
2115
8622092d
CM
21162014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2117
2118 [BZ #17354]
2119 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2120 macro for handling signed relocations.
2121
41488498
FW
21222014-09-03 Florian Weimer <fweimer@redhat.com>
2123
2124 [BZ #17325]
2125 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2126 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2127 assert.
2128 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2129 * iconvdata/ibm935.c (BODY): Likewise.
2130 * iconvdata/ibm937.c (BODY): Likewise.
2131 * iconvdata/ibm939.c (BODY): Likewise.
2132 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2133 assert.
2134 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2135 script.
2136 * iconvdata/run-iconv-test.sh: New test loop for checking for
2137 decoder crashers.
2138
a78b712d
KR
21392014-09-02 Khem Raj <raj.khem@gmail.com>
2140
2141 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2142 libm_hidden_ver.
2143
cb08abc6
AM
21442014-09-01 Allan McRae <allan@archlinux.org>
2145
2c31e102
AM
2146 * po/eo.po: Update Esperanto translation from translation project.
2147
cb08abc6
AM
2148 * po/ca.po: Update Catalan translation from translation project.
2149
17a62de1
ST
21502014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2151
2152 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2153 __proc_dostop call.
2154
9570bc53
MW
21552014-08-27 Mark Wielaard <mjw@redhat.com>
2156
2157 [BZ #17319]
2158 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2159 to call set_thread_area instead of hand written asm.
2160 (__NR_set_thread_area): Removed define.
2161 (TLS_FLAG_WRITABLE): Likewise.
2162 (__ASSUME_SET_THREAD_AREA): Remove check.
2163 (TLS_EBX_ARG): Remove define.
2164 (TLS_LOAD_EBX): Likewise.
2165
b0f955c9
ST
21662014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2167
2168 Simplify atomicity of socket creation in bind.
2169
2170 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2171 looking up the name after linking the file.
2172
529bf515
AM
21732014-08-27 Allan McRae <allan@archlinux.org>
2174
2175 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2176
a1a6a401
FW
21772014-08-26 Florian Weimer <fweimer@redhat.com>
2178
2179 [BZ #17187]
2180 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2181 trans_compare, open_translit, __gconv_translit_find):
2182 Remove module loading code.
2183
686ab290
AM
21842014-08-26 Allan McRae <allan@archlinux.org>
2185
e4e7cfd2
AM
2186 * po/vi.po: Update Vietnamese translation from translation project.
2187
6aa09f71
AM
2188 * po/uk.po: Update Ukrainian translation from translation project.
2189
edc0660e
AM
2190 * po/fr.po: Update French translation from translation project.
2191
7eea72ac
AM
2192 * po/ru.po: Update Russian translation from translation project.
2193
93c49eff
AM
2194 * po/pl.po: Update Polish translation from translation project.
2195
46acaf63
AM
2196 * po/cs.po: Update Czech translation from translation project.
2197
a9f5ce98
AM
2198 * po/de.po: Update German translation from translation project.
2199
373f2b78
AM
2200 * po/bg.po: Update Bulgarian translation from translation project.
2201
e7548bd8
AM
2202 * po/sv.po: Update Sweedish translation from translation project.
2203
c526bf4d
AM
2204 * po/nl.po: Update Dutch translation from translation project.
2205
686ab290
AM
2206 * po/es.po: Update Spanish translation from translation project.
2207
eb72478a
SP
22082014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2209
dd763fdb
SP
2210 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2211
318c7a58
SP
2212 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2213 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2214 (CPPFLAGS-iconvconfig): Likewise.
2215 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2216
eb72478a
SP
2217 * include/libc-symbols.h: Remove unnecessary check for
2218 NOT_IN_libc.
2219 * nptl/pthreadP.h: Likewise.
2220 * sysdeps/aarch64/setjmp.S: Likewise.
2221 * sysdeps/alpha/setjmp.S: Likewise.
2222 * sysdeps/arm/sysdep.h: Likewise.
2223 * sysdeps/i386/setjmp.S: Likewise.
2224 * sysdeps/m68k/setjmp.c: Likewise.
2225 * sysdeps/posix/getcwd.c: Likewise.
2226 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2227 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2228 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2229 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2230 * sysdeps/sh/sh3/setjmp.S: Likewise.
2231 * sysdeps/sh/sh4/setjmp.S: Likewise.
2232 * sysdeps/unix/alpha/sysdep.h: Likewise.
2233 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2234 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2235 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2236 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2240 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2241 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2242 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2244 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2246 * sysdeps/x86_64/setjmp.S: Likewise.
2247
d44a052c
JM
22482014-08-13 Joseph Myers <joseph@codesourcery.com>
2249
2250 [BZ #17263]
2251 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2252 <stdint.h>.
2253 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2254 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2255
508ce3ac
SP
22562014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2257
e44c8b0e
SP
2258 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2259
508ce3ac
SP
2260 [BZ #17262]
2261 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2262 and __x86_64__ when disabling x87 inline functions.
2263
b4acef1f
L
22642014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2265
2266 [BZ #17259]
2267 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2268 asm statement with __cpuid_count.
2269
61b1ef6e
MF
22702014-08-12 Mike Frysinger <vapier@gentoo.org>
2271
2272 * configure.ac: Change __ehdr_start code to dereference the struct.
2273 Run readelf on the output to look for relocations.
2274 * configure: Regenerated.
2275
898c62f4
JM
22762014-08-12 Joseph Myers <joseph@codesourcery.com>
2277
2278 [BZ #17261]
2279 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2280 value to 0.
2281 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2282
9a8a5720
RM
22832014-08-12 Roland McGrath <roland@hack.frob.com>
2284
2285 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2286
4e75751c
BO
22872014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2288
2289 [BZ #16892]
2290 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2291 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2292
bb2ce416
SA
22932014-08-12 Sean Anderson <seanga2@gmail.com>
2294
2295 * malloc/malloc.c: Fix typo in comment.
2296
7950a4ee
AM
22972014-08-09 Allan McRae <allan@archlinux.org>
2298
2299 * Regenerate libc.po.
2300
f469c49f
MF
23012014-08-08 Mike Frysinger <vapier@gentoo.org>
2302
2303 * intl/tst-gettext2.sh: Check every lang file for creation.
2304
656b84c2
WD
23052014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2306
2307 * sysdeps/aarch64/fpu/math_private.h
2308 (libc_feholdsetround_noex_aarch64_ctx): New function.
2309
538e9e45
W
23102014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2311
2312 * sysdeps/arm/armv6/strcpy.S (strcpy):
2313 Fix performance issue in misaligned cases.
2314
d4795e4a
AZ
23152014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316
2317 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2318 Move definition from termios.h.
2319 (struct termio): Likewise.
2320 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2321 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2322 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2323 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2324 Likewise.
2325 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2326 Move definition to ioctl-types.h
2327 (struct termio): Likewise.
2328 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2329 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2330 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2331 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2332 Likewise.
2333
64accb62
RH
23342014-08-05 Richard Henderson <rth@redhat.com>
2335
27bb6dc0
RH
2336 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2337 exceptions.
2338 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2339 Add fraiseexcpt.
2340 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2341 Use __feraiseexcept.
2342 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2343 Protect libm symbols with IS_IN_libm.
2344
64accb62
RH
2345 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2346
e5292691
BO
23472014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2348
2349 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2350
5b4bd2d4
WN
23512014-08-04 Will Newton <will.newton@linaro.org>
2352
2353 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2354 file.
2355
fcadaeef
MF
23562014-08-04 Mike Frysinger <vapier@gentoo.org>
2357
2358 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2359 variants for each function.
2360
43a94c64
RM
23612014-08-04 Roland McGrath <roland@hack.frob.com>
2362
2363 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2364 appended ...
2365 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2366 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2367 appended ...
2368 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2369 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2370 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2371 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2372 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2373 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2374 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2375 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2376 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2377 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2386 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2388 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2390 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2396 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2397 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2398 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2399 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2400 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2404 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2405 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2406 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2407 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2408 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2409 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2410 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2412 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2414 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2415 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2416 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2417 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2418 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2419 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2420 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2421 Update #include.
2422 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2423 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2424
8f3c1fa4
RM
24252014-08-04 Roland McGrath <roland@hack.frob.com>
2426
2427 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2428 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2429 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2430 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2431 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2432 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2433
ca08746f
RM
24342014-08-04 Roland McGrath <roland@hack.frob.com>
2435
2436 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2437 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2438 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2439 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2440
9c925ff9
RM
24412014-08-04 Roland McGrath <roland@hack.frob.com>
2442
2443 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2444 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2445 (__libc_vfork): Define function under this name.
2446 (__vfork): Define as an alias.
2447 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2448 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2449
e641054c
RM
24502014-08-04 Roland McGrath <roland@hack.frob.com>
2451
2452 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2453 that was previously under [RESET_PID].
2454 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2455
dacdc867
AS
24562014-08-04 Andreas Schwab <schwab@suse.de>
2457
2458 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2459
41f725ff
MF
24602014-08-03 Mike Frysinger <vapier@gentoo.org>
2461
2462 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2463 (main): Likewise.
2464
277cfb31
RM
24652014-08-01 Roland McGrath <roland@hack.frob.com>
2466
2467 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2468
4896f049
RH
24692014-08-01 Richard Henderon <rth@redhat.com>
2470
2471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2472 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2473 typo in exact zero test.
2474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2475 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2477
6f64e7d7
RM
24782014-08-01 Roland McGrath <roland@hack.frob.com>
2479
2480 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2481 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2482 * sysdeps/arm/sysdep.h: ... here.
2483 [!__ASSEMBLER__]: Include <stdint.h>.
2484
3f3dd810
SP
24852014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2486
a476ac4b
SP
2487 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2488 (HAVE_WCTYPE_H): Likewise.
2489 (HAVE_ISWCTYPE): Likewise.
2490 (ENABLE_NLS): Likewise.
2491 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2492 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2493
78dd658a
SP
2494 * posix/regex_internal.c: Check if DEBUG is defined and is
2495 set.
2496
3f3dd810
SP
2497 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2498 (HAVE_MBSRTOWCS): Likewise.
2499 * posix/fnmatch.c: Include string.h unconditionally.
2500
95ee7fb1
SL
25012014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2502
2503 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2504 reversal.
2505
23fe486b
RM
25062014-07-31 Roland McGrath <roland@hack.frob.com>
2507
f61a113f
RM
2508 * sysdeps/generic/safe-fatal.h: New file.
2509 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2510 * nptl/forward.c: Include it.
2511 (__pthread_unwind): Use __safe_fatal as default action, rather
2512 than a bogus use of INTERNAL_SYSCALL that could never work.
2513
9fe7e787
RM
2514 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2515 * configure.ac (libc_cv_builtin_trap): New test.
2516 * configure: Regenerated.
2517 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2518 (ABORT_INSTRUCTION): Define using __builtin_trap.
2519
23fe486b
RM
2520 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2521 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2522 * sysdeps/nptl/nptl-signals.h: New file.
2523 * nptl/pthreadP.h: Include <nptl-signals.h>.
2524
f349489e
SL
25252014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2526
2527 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2528 (ONE_DIRECTION): Define.
2529 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2530 (ONE_DIRECTION): Define.
2531 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2532 (ONE_DIRECTION): Define.
2533
2f438e20
SL
25342014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2535
2536 * sysdeps/s390/Makefile: Delete file.
2537 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2538 * sysdeps/s390/__longjmp.c: Delete file.
2539 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2540 Remove fields __flags and __reserved.
2541 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2542 and add versioning.
2543 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2544 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2545 * sysdeps/s390/rtld-setjmp.S: Likewise.
2546 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2547 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2548 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2549 * sysdeps/s390/s390-32/setjmp.S: ... here.
2550 Add versioning.
2551 (__sigsetjmp): Remove setting __flags field.
2552 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2553 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2554 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2555 * sysdeps/s390/s390-64/setjmp.S: ... here.
2556 Add versioning.
2557 (__sigsetjmp): Remove setting __flags field.
2558 * sysdeps/s390/setjmp.S: Delete file.
2559 * sysdeps/s390/sigjmp.c: Likewise.
2560 * sysdeps/s390/v1-longjmp.c: Likewise.
2561 * sysdeps/s390/v1-setjmp.h: Likewise.
2562 * sysdeps/s390/v1-sigjmp.c: Likewise.
2563 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2564 Remove v1-longjmp_chk.
2565 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2566 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2567 Include debug/longjmp_chk.c and add versioning.
2568 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2569 Include nptl/pt-longjmp.c and add versioning.
2570 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2571 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2572 Include __longjmp.c.
2573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2574 Move to ...
2575 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2576 (__getcontext): Remove setting __flags field.
2577 Add versioning.
2578 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2579 Don't restore upper high grps.
2580 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2581 Likewise.
2582 (__swapcontext): Remove setting uc_flags field.
2583 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2584 Delete file.
2585 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2586 Include __longjmp.c.
2587 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2588 Move to ...
2589 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2590 (__getcontext): Remove setting __flags field.
2591 Add versioning.
2592 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2593 (__swapcontext): Remove setting uc_flags field.
2594 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2595 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2596 Remove fields uc_high_gprs and __reserved.
2597 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2598 New file with reverted content.
2599 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2601 Regenerated.
2602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2603 Regenerated.
2604
6c9578a2
AS
26052014-07-31 Andreas Schwab <schwab@suse.de>
2606
2607 * config.h.in (HAVE_IFUNC): Define to 0.
2608 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2609 definedness.
2610
05f3633d
LM
26112014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2612
2613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2614 memmove-avx-unaligned, memcpy-avx-unaligned and
2615 mempcpy-avx-unaligned.
2616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2617 Add tests for AVX memcpy functions.
2618 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2619 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2620 memcpy_chk.
2621 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2622 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2623 memmove_chk.
2624 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2625 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2626 mempcpy_chk.
2627 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2628 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2629 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2630
a53fbd8e
AZ
26312013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2632
2633 [BZ #17213]
2634 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2635 powerpc64le.
2636
0961f7e1
JL
26372014-07-29 Jeff Layton <jlayton@poochiereds.net>
2638
2639 [BZ #16839]
2640 * manual/llio.texi: Add section about open file description locks.
2641 * manual/examples/ofdlocks.c: Example of open file description
2642 lock usage.
2643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2644 F_OFD_SETLK, and F_OFD_SETLKW.
2645
cc5fb300
AM
26462014-07-23 Allan McRae <allan@archlinux.org>
2647
2648 * po/es.po: Update Spanish translation from translation project.
2649
23329dca
AS
26502014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2651
2652 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2653
9c82da17
MR
26542014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2655
2656 [BZ #17078]
2657 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2658 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2659 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2660
29c4f53e
JM
26612014-07-17 Joseph Myers <joseph@codesourcery.com>
2662
831b9896
JM
2663 [BZ #17088]
2664 * math/fesetenv.c (__fesetenv)
2665 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2666 * math/feupdateenv.c (__feupdateenv)
2667 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2668
b21c2d50
JM
2669 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2670 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2671 (__ASSUME_SOCKETCALL): Do not define.
2672
067764ef
JM
2673 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2674 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2675 (__ASSUME_SOCKETCALL): Do not define.
2676 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2677 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2678 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2679 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2680 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2681 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2682 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2683 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2684
642530c1
JM
2685 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2686 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2687 (__ASSUME_SOCKETCALL): Do not define.
2688 (__ASSUME_IPC64): Define unconditionally.
2689 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2690 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2691 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2692 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2693 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2694 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2695 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2696 Likewise.
2697
03f77315
JM
2698 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2699 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2700 (__ASSUME_SOCKETCALL): Do not define.
2701 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2702 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2703 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2704 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2705 (__ASSUME_REQUEUE_PI): Define unconditionally.
2706 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2707 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2708 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2709 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2710 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2711 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2712
083b1f7c
JM
2713 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2714 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2715 (__ASSUME_SOCKETCALL): Do not define.
2716 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2717 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2718 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2719 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2720 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2721 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2722
5be44ea6
JM
2723 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2724 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2725 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2726 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2727 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2728 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2729 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2730 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2731 (__ASSUME_GETCPU_SYSCALL): Likewise.
2732
d95ffd4c
JM
2733 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2734 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2735 cases for individual architectures.
2736 * sysdeps/gnu/configure: Regenerated.
2737 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2738 LIBC_SLIBDIR_RTLDDIR.
2739 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2740 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2741 LIBC_SLIBDIR_RTLDDIR.
2742 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2744 LIBC_SLIBDIR_RTLDDIR.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2746 Regenerated.
2747 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2748 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2749 file.
2750 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2751 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2752 file.
2753 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2754 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2755 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2756 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2757
29c4f53e
JM
2758 * sysdeps/aarch64/shlib-versions: Move to ...
2759 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2760 * sysdeps/alpha/shlib-versions: Move to ...
2761 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2762 * sysdeps/arm/shlib-versions: Move to ...
2763 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2764 * sysdeps/hppa/shlib-versions: Move all contents except for
2765 libgcc_s entry to ...
2766 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2767 entry from ...
2768 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2769 * sysdeps/ia64/shlib-versions: Move to ...
2770 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2771 entry from ...
2772 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2773 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2774 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2775 * sysdeps/microblaze/shlib-versions: Move to ...
2776 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2777 * sysdeps/mips/shlib-versions: Move to ...
2778 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2779 entry from ...
2780 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2781 * sysdeps/tile/shlib-versions: Move to ...
2782 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2783 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2784 from ...
2785 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2786 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2787 entry from ...
2788 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2789
32bead5b
WN
27902014-07-17 Will Newton <will.newton@linaro.org>
2791
57977c4b
WN
2792 * sysdeps/arm/bits/atomic.h
2793 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2794 (__arch_compare_and_exchange_bool_16_int): Likewise.
2795 (__arch_compare_and_exchange_bool_64_int): Likewise.
2796
32bead5b
WN
2797 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2798 into an #else block.
2799
37fccd41
RM
28002014-07-16 Roland McGrath <roland@hack.frob.com>
2801
2802 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2803 just Linux configurations. Test empirically that the compiler sets
2804 __ARM_EABI__, rather than using the tuple to decide.
2805 * sysdeps/arm/preconfigure: Regenerated.
2806 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2807 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2808 contents appended ...
2809 * sysdeps/arm/configure.ac: ... here.
2810 * sysdeps/arm/configure: Regenerated.
2811
b365f3ec
RM
28122014-07-15 Roland McGrath <roland@hack.frob.com>
2813
8badf496
RM
2814 * nptl/pthread_kill.c: New file.
2815 * nptl/pthread_sigmask.c: New file.
2816 * nptl/pthread_sigqueue.c: New file.
2817
3df6f22e
RM
2818 * sysdeps/nptl/lowlevellock.h: New file.
2819 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2820 * sysdeps/nptl/lowlevellock-futex.h: New file.
2821
b365f3ec
RM
2822 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2823 Remove dead declarations.
2824
f2fef657
L
28252014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2828 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2829 config-cflags-avx2.
2830 * sysdeps/x86_64/configure.ac: Likewise.
2831 * sysdeps/i386/configure: Regenerated.
2832 * sysdeps/x86_64/configure: Likewise.
2833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2834 memset-avx2 only if config-cflags-avx2 is yes.
2835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2836 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2837 defined.
2838 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2839 only if HAVE_AVX2_SUPPORT is defined.
2840 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2841
f6c44d47
AM
28422014-07-14 Alan Modra <amodra@gmail.com>
2843
2844 [BZ #17153]
2845 * elf/elf.h (DT_PPC64_NUM): Correct value.
2846 * NEWS: Add to fixed bug list.
2847
7ee03f00
JM
28482014-07-13 Jim Meyering <meyering@fb.com>
2849
2850 [BZ 17150]
2851 regex: don't deref NULL upon heap allocation failure
2852 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2853 failure in one more place.
2854 To trigger the segfault, configure grep -with-included-regex,
2855 build it, and run these commands:
2856 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2857
9d39d517
AS
28582014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2859
2860 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2861
a75b89b7
RH
28622014-07-11 Richard Henderson <rth@redhat.com>
2863
2864 * sysdeps/aarch64/libm-test-ulps: Update.
2865
771eb141
FW
28662014-07-10 Florian Weimer <fweimer@redhat.com>
2867
2868 [BZ #17135]
2869 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2870 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2871 (__nptl_setxid): Initialize error member. Call
2872 __nptl_setxid_error.
2873 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2874 * nptl/descr.h (struct xid_command): Add error member.
2875 * nptl/tst-setuid3.c: New file.
2876 * nptl/Makefile (tests): Add it.
2877
bc1da176
AZ
28782014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2879
2880 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2881 New define.
2882 (__lll_trylock): Use __lll_base_trylock.
2883 (__lll_cond_trylock): Likewise.
2884
887865fc
RM
28852014-07-10 Roland McGrath <roland@hack.frob.com>
2886
c0c6bac9
RM
2887 * nptl/pthread_create.c (start_thread): Use atomic_or and
2888 lll_futex_wake directly rather than lll_robust_dead.
2889 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2890 (lll_robust_dead): Macro removed.
6a42be57 2891 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2892 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2893 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2894 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2895 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2896 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2897 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2898 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2899 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2900 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2901 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2902 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2903 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2904 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2905 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2906
887865fc
RM
2907 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2908 Use atomic_compare_and_exchange_val_acq directly rather than
2909 lll_robust_trylock.
2910 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2911 (__lll_robust_trylock, lll_robust_trylock): Removed.
2912 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2913 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2914 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2915 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2916 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2917 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2918 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2919 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2920 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2921 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2922 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2923 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2924 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2925 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2926
58536726
FW
29272014-07-02 Florian Weimer <fweimer@redhat.com>
2928
2929 * manual/locale.texi (Locale Names): New section documenting
2930 locale name syntax. Adjust menu and node chaining accordingly.
2931 (Choosing Locale): Reference Locale Names, Locale Categories.
2932 Mention setting LC_ALL=C. Reflect that name syntax is now
2933 documented.
2934 (Locale Categories): New section title. Reference Locale Names.
2935 LC_ALL is an environment variable, but not a category.
2936 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2937 description, now in Locale Name. Reference that section. Locale
2938 name syntax is now documented.
2939
4e8f95a0
FW
29402014-07-02 Florian Weimer <fweimer@redhat.com>
2941
2942 [BZ #17137]
2943 * locale/findlocale.c (name_present, valid_locale_name): New
2944 functions.
2945 (_nl_find_locale): Use the loc_name variable to store name
2946 candidates. Call name_present and valid_locale_name to check and
2947 validate locale names. Return an error if the locale is invalid.
2948
d1836456
FW
29492014-07-02 Florian Weimer <fweimer@redhat.com>
2950
2951 * locale/setlocale.c (setlocale): Use strdup for allocating
2952 composite name copy.
2953
d69b7f5a
SP
29542014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2955
888c679b
SP
2956 Sync up with gnulib.
2957 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2958 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2959 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2960 and _GL_ARG_NONNULL.
2961 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2962 [!_LIBC]: Include code for Windows and Cygwin.
2963 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2964 Include prototype for int strerror_r.
2965 [!_LIBC] (is_open): New function.
2966 (flush_stdout): New function.
2967 (print_errno_message): Use it.
2968 (error): Likewise.
2969 (error_at_line): Likewise.
2970 (error_tail) Add function attribute macros. Use
2971 __builtin_expect.
2972
180e0e4b
SP
2973 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2974
d22f1fe2
SP
2975 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2976
12f2254b
SP
2977 * io/ftw.c: Include sys/param.h unconditionally.
2978
c3c7c360
SP
2979 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2980
d62aa75a
SP
2981 [BZ #17125]
2982 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2983 libc_freeres_ptr.
2984 (freecache): New function to free CACHE on exit.
2985
d69b7f5a
SP
2986 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2987 initialization.
2988
5efe06a1
DM
29892014-07-09 David S. Miller <davem@davemloft.net>
2990
2991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2992
7000d82e
DM
2993 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2994 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2995 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2996 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2997 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2998 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2999 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3000 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3001 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3002 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3003 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3004 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3005 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3006
c213442d
AS
30072014-07-09 Andreas Schwab <schwab@suse.de>
3008
4a2552c3
AS
3009 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3010 output.
3011 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3012 (do_test): Likewise.
3013
c213442d
AS
3014 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3015
82374e65
WN
30162014-07-09 Will Newton <will.newton@linaro.org>
3017
3018 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3019 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3020 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3021 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3022 * sysdeps/hppa/start.S (_start): Likewise.
3023
6680738a
SP
30242014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3025
6ee3eab4
SP
3026 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3027
6680738a
SP
3028 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3029 defined.
3030
80b5c505
SP
30312014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3032
e35c53e3
SP
3033 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3034 after checking that it is non-NULL.
3035
80b5c505
SP
3036 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3037
91f4b564
AZ
30382014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3039
27b75f56
AZ
3040 * sysdeps/powerpc/memmove.c: Remove file.
3041 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3042 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3043 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3044 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3045 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3046 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3047 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3048 string memmove instead of removed powerpc one.
3049
e7f95bb5
AZ
3050 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3051 [weak_alias]: Fix compiler warning due trailing data.
3052 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3053 [weak_alias]: Likewise.
3054 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3055 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3056
91f4b564
AZ
3057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3058 (__libc_ifunc_impl_list): Add memmove functions.
3059
7c33f1e5
SP
30602014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3061
3062 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3063 Remove code.
3064 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3065 Likewise
3066 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3067 Likewise
3068 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3069 Likewise
3070 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3071 Likewise
3072 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3073 Likewise
3074 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3075 Likewise
3076 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3077 Likewise
3078 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3079 Likewise
3080 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3081 Likewise
3082 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3083 Likewise
3084 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3085 Likewise
3086 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3087 Likewise
3088 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3089 Likewise
3090 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3091 Likewise
3092 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3093 Likewise
3094 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3095 Likewise
3096
3f17b03b
AZ
30972014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3098
87868c24
AZ
3099 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3100 to avoid alignment traps in non-cacheable memory.
3101 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3102
07aedd78
AZ
3103 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3104 multiarch objects.
3105 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3106 file: multiarch power7 memmove.
3107 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3108 multiarch default memmove.
3109 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3110 multiarch memove for powerpc32/power4.
3111
17762f66
AZ
3112 * string/bcopy.c: Use full path to include memmove.c.
3113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3114 multiarch objects.
3115 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3116 bcopy for powerpc64.
3117 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3118 bcopy for powerpc64.
3119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3120 and memmove implementations.
3121 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3122 optimized multiarch memmove for POWER7/powerpc64.
3123 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3124 default multiarch memmove for powerpc64.
3125 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3126 multiarch for powerpc64.
3127 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3128 for POWER7/powerpc64.
3129 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3130 memmove for POWER7/powerpc64.
3131
d6f68bbe
AZ
3132 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3133 glibc default one.
3134
3f17b03b
AZ
3135 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3136 __ELF_NATIVE_CLASS equal to 64.
3137
08192659
RM
31382014-07-07 Roland McGrath <roland@hack.frob.com>
3139
f4c4021b
RM
3140 * sysdeps/nptl/lowlevellock.h: File removed.
3141
f083450f
RM
3142 * NEWS: NPTL is no longer an add-on!
3143 * nptl/internaltypes.h: Moved ...
3144 * sysdeps/nptl/internaltypes.h: ... here.
3145 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3146 * sysdeps/nptl/fork.c: Likewise.
3147 * sysdeps/nptl/gai_misc.h: Likewise.
3148 * sysdeps/nptl/librt-cancellation.c: Likewise.
3149 * sysdeps/nptl/jmp-unwind.c: Likewise.
3150 * sysdeps/nptl/setxid.h: Likewise.
3151 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3152 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3153 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3154 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3155 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3156 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3157 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3158 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3159 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3160 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3161 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3162 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3163 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3164 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3165 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3166 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3167 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3168 * nptl/Makeconfig: Moved ...
3169 * sysdeps/nptl/Makeconfig: ... here.
3170 * nptl/configure: File removed.
3171 * nptl/ANNOUNCE: File removed.
3172 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3173 * sysdeps/unix/sysv/linux/configure: Regenerated.
3174
08192659
RM
3175 * nptl/Makefile (routines): Add libc_pthread_init,
3176 libc_multiple_threads, register-atfork and unregister-atfork.
3177 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3178 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3179 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3180 pthread-pi-defines.sym, structsem.sym.
3181 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3182 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3183 [$(subdir) = nptl] (tests): Add tst-setgetname.
3184 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3185 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3186 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3187 [!LIBC_SIGACTION]: Remove aliases.
3188 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3189 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3190 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3191 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3192 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3193 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3194 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3195 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3196 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3197 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3198 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3199 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3200 __libc_allocate_rtsig_private.
3201 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3202 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3203 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3204 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3205 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3206 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3207 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3208 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3209 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3210 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3211 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3212 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3213 * nptl/internaltypes.h: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3215 * sysdeps/nptl/jmp-unwind.c: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3217 * nptl/libc-lowlevellock.c: ... here.
3218 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3219 * nptl/libc_multiple_threads.c: ... here.
3220 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3221 * nptl/libc_pthread_init.c: ... here.
3222 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3223 * nptl/lowlevelbarrier.sym: ... here.
3224 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3225 * nptl/lowlevelcond.sym: ... here.
3226 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3227 * nptl/lowlevellock.c: ... here.
3228 * nptl/lowlevellock.h: Moved ...
3229 * sysdeps/nptl/lowlevellock.h: ... here.
3230 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3231 * nptl/lowlevelrobustlock.c: ... here.
3232 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3233 * nptl/lowlevelrobustlock.sym: ... here.
3234 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3235 * nptl/lowlevelrwlock.sym: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3237 * nptl/pt-fork.c: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3239 * nptl/pthread-pi-defines.sym: ... here.
3240 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3241 * nptl/pthread_attr_getaffinity.c: ... here.
3242 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3243 * nptl/pthread_attr_setaffinity.c: ... here.
3244 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3245 * nptl/pthread_mutex_cond_lock.c: ... here.
3246 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3247 Update #include.
3248 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3249 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3250 * nptl/pthread_once.c: ... here, replacing old file.
3251 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3252 * nptl/pthread_yield.c: ... here.
3253 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3254 * nptl/register-atfork.c: ... here.
3255 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3256 * nptl/sem_post.c: ... here.
3257 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3258 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3259 * nptl/sem_timedwait.c: ... here.
3260 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3261 * nptl/sem_trywait.c: ... here.
3262 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3263 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3264 * nptl/sem_wait.c: ... here.
3265 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3266 * nptl/structsem.sym: ... here.
3267 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3268 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3269 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3270 * nptl/unregister-atfork.c: ... here.
3271 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3272 * nptl/unwindbuf.sym: ... here.
3273 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3274 * sysdeps/nptl/fork.c: ... here.
3275 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3276 * sysdeps/nptl/fork.h: ... here.
3277 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3278 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3279 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3280 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3281 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3282 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3283 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3284 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3285 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3286 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3287 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3288 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3289 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3290 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3291 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3292 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3293 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3294 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3295 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3296 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3297 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3298 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3299 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3300 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3301 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3302 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3303 * sysdeps/unix/sysv/linux/raise.c: ... here.
3304 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3305 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3306 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3307 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3308 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3309 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3310 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3311 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3312 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3313 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3314 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3315 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3316 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3317 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3318 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3319
96baf6ff
SP
33202014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3321
3322 * sysdeps/generic/memcopy.h: Add comment for
3323 MEMCPY_OK_FOR_FWD_MEMMOVE.
3324
6b7b14b2
WN
33252014-07-04 Will Newton <will.newton@linaro.org>
3326
1570a72b
WN
3327 * string/memchr.c: Merge from gnulib.
3328 [_LIBC]: Remove conditionals.
3329 (__ptr_t): Remove define.
3330 (LONG_MAX_32_BITS): Likewise.
3331 (LONG_MAX): Likewise.
3332 (MEMCHR): Use ANSI prototype and optimize algorithm.
3333
6b7b14b2
WN
3334 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3335
38851324
SP
33362014-07-03 Roland McGrath <roland@hack.frob.com>
3337
3d9eb57c
RM
3338 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3339 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3340
78b984ae
RM
3341 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3342 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3343 in a bare environment with no <stdlib.h> installed.
3344 * sysdeps/nptl/configure: Regenerated.
3345
2d5976a5
RM
3346 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3347
c1f5acd4
RM
3348 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3349 AC_EGREP_CPP for kernel header checks, so they only succeed if
3350 including <linux/version.h> actually works right.
3351 * sysdeps/unix/sysv/linux/configure: Regenerated.
3352
4d614fe5
RM
3353 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3354 value so it's not diagnosed as unused.
3355
38851324
SP
3356 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3357 thing) with "ifeq ($(subdir),rt)".
3358
b3ec00e5
RH
33592014-07-03 Richard Henderson <rth@redhat.com>
3360
69862e25
RH
3361 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3362 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3363 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3364
d5e16ade
RH
3365 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3366 (math_force_eval): New.
3367
ca7b945c
RH
3368 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3369 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3370
cd1175a3
RH
3371 * sysdeps/alpha/fpu/s_round.c: Remove file.
3372 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3373
b3ec00e5
RH
3374 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3375 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3376 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3377 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3378 (_dl_start, print_statistics): Likewise.
3379 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3380 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3381
3382 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3383 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3384 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3385 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3386 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3387 (HP_SMALL_TIMING_AVAIL): Define.
3388 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3389 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3390 (HP_SMALL_TIMING_AVAIL): Define.
3391 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3392 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3393
3394 * sysdeps/aarch64/hp-timing.h: New file.
3395
3396 * sysdeps/generic/hp-timing.h: Remove dead comment.
3397 * sysdeps/generic/hp-timing-common.h: New file.
3398 * sysdeps/alpha/hp-timing.h: Include it.
3399 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3400 * sysdeps/i386/i686/hp-timing.h: Likewise.
3401 * sysdeps/ia64/hp-timing.h: Likewise.
3402 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3403 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3404 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3405 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3406 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3407 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3408 (hp_timing_t): New.
3409
3410 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3411 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3412 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3413 * elf/rtld.c (_dl_start_final): Likewise.
3414 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3415 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3416 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3417 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3418 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3419 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3420 (HP_TIMING_DIFF_INIT): Remove.
3421 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3422 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3423 (HP_TIMING_DIFF_INIT): Remove.
3424 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3425 * sysdeps/i386/i686/hp-timing.c: Remove file.
3426 * sysdeps/x86_64/hp-timing.c: Remove file.
3427 * sysdeps/ia64/hp-timing.c: Remove file.
3428 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3429 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3430 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3431 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3432
3433 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3434 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3435 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3436 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3437 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3438 (HP_TIMING_ACCUM): Remove.
3439 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3440 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3441 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3442
3443 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3444 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3445 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3446 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3447 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3448 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3449 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3450 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3451
3452 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3453
225f410f
MR
34542014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3455
3456 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3457
3247f285
SP
34582014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3459
3460 Sync up with gettext.
3461 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3462 [_MSC_VER]: Include malloc.h
3463 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3464 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3465 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3466 TEMP_FAILURE_RETRY. Cast return of alloca.
3467 [!_LIBC] Call gl_rwlock_init.
3468 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3469
d12704c7
SP
34702014-07-02 Roland McGrath <roland@hack.frob.com>
3471
3472 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3473 before checking its value.
3474
99f8dc92
SP
34752014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3476
05fdac77
SP
3477 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3478
99f8dc92
SP
3479 * debug/memcpy_chk.c: Don't include pagecopy.h.
3480 * debug/mempcpy_chk.c: Likewise.
3481 * string/memcpy.c: Likewise.
3482 * string/memmove.c: Likewise.
3483 * sysdeps/powerpc/memmove.c: Likewise.
3484 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3485 definition of PAGE_COPY_FWD_MAYBE here...
3486 * sysdeps/generic/pagecopy.h: ... from here.
3487 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3488
bc8ea385
VR
34892014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3490 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3491
3492 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3494 optimizations.
3495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3496 (__libc_ifunc_impl_list): Likewise.
3497 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3498 multiarch strcat for PPC64.
3499 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3500 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3501
fe5f34e4
RM
35022014-07-02 Roland McGrath <roland@hack.frob.com>
3503
3504 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3505
256aa665
SP
35062014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3507
d4eb8195
SP
3508 * intl/loadmsgcat.c: Remove declaration of
3509 get_sysdep_segment_value.
3510 (get_sysdep_segment_value): Use ISO C style.
3511 (_nl_load_domain): Use ISO C style. Get rid of redundant
3512 semicolon. Fix typo and formatting in comment.
3513 (_nl_unload_domain): Use ISO C style.
3514
256aa665
SP
3515 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3516
b100f9aa
WN
35172014-07-02 Will Newton <will.newton@linaro.org>
3518
3519 * malloc/obstack.c: Merge from gnulib master.
3520 [HAVE_CONFIG_H]: Remove conditional code.
3521 [!_LIBC]: Include config.h.
3522 [!ELIDE_CODE]: Don't include inttypes.h, include
3523 stdint.h unconditionally.
3524 (print_and_abort): Mark as _Noreturn.
3525 (_obstack_allocated_p): Mark as __attribute_pure__.
3526 (obstack_free): Rename to __obstack_free.
3527 [!__attribute__]: Remove conditional code.
3528 * malloc/obstack.h: Merge from gnulib master.
3529 [__cplusplus]: Move conditional down.
3530 [!__attribute_pure__]: Define __attribute_pure__ here
3531 if it is not already defined.
3532 (_obstack_memory_used): Mark as __attribute_pure__.
3533 [!__obstack_free]: Define as obstack_free.
3534 [__GNUC__]: Remove check for ancient NeXT gcc.
3535
c4c41244
PE
35362014-07-02 Will Newton <will.newton@linaro.org>
3537 Paul Eggert <eggert@cs.ucla.edu>
3538
3539 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3540
e1e041c4
SP
35412014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3542
3543 * resolv/gethnamaddr.c: Add comment warning that the file is
3544 not maintained.
3545
ccf431ff
CD
35462014-07-01 Carlos O'Donell <carlos@redhat.com>
3547
d34570a6
CD
3548 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3549 entries.
3550
ccf431ff
CD
3551 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3552 entry for aio_cancel and aio_cancel64.
3553 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3554 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3555 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3556 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3557 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3558 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3559 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3560 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3561 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3562 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3563 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3564 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3565 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3566
ca06321d
RM
35672014-07-01 Roland McGrath <roland@hack.frob.com>
3568
3569 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3570 * nptl/pthread_mutex_lock.c: Likewise.
3571 * nptl/pthread_mutex_timedlock.c: Likewise.
3572 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3573
a1ac3184
RH
35742014-07-01 Richard henderson <rth@redhat.com>
3575
631021e0
RH
3576 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3577 (__isnan, __isnanl): Remove.
3578 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3579
a1ac3184
RH
3580 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3581
0c1d731f
SL
35822014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3583
3584 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3585
76985d3e
SP
35862014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3587
3588 * resolv/nss_dns/dns-host.c (getanswer_r)
3589 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3590
b0cb3096
JM
35912014-07-01 Joseph Myers <joseph@codesourcery.com>
3592
3593 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3594 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3595 undefine.
3596 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3597 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3598
4d76cb39
RM
35992014-07-01 Roland McGrath <roland@hack.frob.com>
3600
3601 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3602 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3603
3604 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3605 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3606
3607 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3608 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3609 ... here.
3610 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3611 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3612
3613 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3614 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3615 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3616 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3617
3618 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3619 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3620 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3621 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3622 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3623 Moved ...
3624 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3625 ... here.
3626 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3627 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3628 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3633 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3634 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3635 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3637 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3639 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3641 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3642 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3643 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3644 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3645 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3646 ... here.
3647 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3650 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3651 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3652 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3653 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3654 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3655
0cdcad17
DH
36562014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3657
3658 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3659 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3660 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3661 Add sysdep.
3662
9b71d0e3
AZ
36632014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3664
3665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3666
665390c2
JM
36672014-06-30 Joseph Myers <joseph@codesourcery.com>
3668
ae05a9d7
JM
3669 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3670 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3671
a7672a2f
JM
3672 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3673
665390c2
JM
3674 * sysdeps/arm/libm-test-ulps: Regenerated.
3675
d7a05d07
MR
36762014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3677 Roland McGrath <roland@hack.frob.com>
3678
3679 * test-skeleton.c (signal_handler): Kill the whole process group
3680 before killing the child individually.
3681 (main): Report any failure on `setpgid'.
3682
46f1d8a6
RM
36832014-06-30 Roland McGrath <roland@hack.frob.com>
3684
3685 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3686 from _TLS_H to _ARM_NPTL_TLS_H.
3687 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3688 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3689
9c37ec0b
JM
36902014-06-30 Joseph Myers <joseph@codesourcery.com>
3691
ce9c5b3e
JM
3692 [BZ #16539]
3693 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3694 (__expm1l): Return argument unchanged when small but not
3695 subnormal.
3696
3a6e9887
JM
3697 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3698 include macro name.
3699 (_FP_UNPACK_RAW_1_P): Likewise.
3700 (_FP_PACK_RAW_1): Likewise.
3701 (_FP_PACK_RAW_1_P): Likewise.
3702 (_FP_MUL_MEAT_1_wide): Likewise.
3703 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3704 (_FP_MUL_MEAT_1_hard): Likewise.
3705 (_FP_DIV_MEAT_1_imm): Likewise.
3706 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3707 (_FP_DIV_MEAT_1_udiv): Likewise.
3708 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3709 (_FP_UNPACK_RAW_2): Likewise.
3710 (_FP_UNPACK_RAW_2_P): Likewise.
3711 (_FP_PACK_RAW_2): Likewise.
3712 (_FP_PACK_RAW_2_P): Likewise.
3713 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3714 (_FP_MUL_MEAT_2_wide): Likewise.
3715 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3716 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3717 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3718 (_FP_MUL_MEAT_2_gmp): Likewise.
3719 (_FP_DIV_MEAT_2_udiv): Likewise.
3720 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3721 (_FP_FRAC_SRL_4): Likewise.
3722 (_FP_FRAC_SRST_4): Likewise.
3723 (_FP_FRAC_SRS_4): Likewise.
3724 (_FP_UNPACK_RAW_4): Likewise.
3725 (_FP_UNPACK_RAW_4_P): Likewise.
3726 (_FP_PACK_RAW_4): Likewise.
3727 (_FP_PACK_RAW_4_P): Likewise.
3728 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3729 (_FP_MUL_MEAT_4_wide): Likewise.
3730 (_FP_MUL_MEAT_4_gmp): Likewise.
3731 (umul_ppppmnnn): Likewise.
3732 (_FP_DIV_MEAT_4_udiv): Likewise.
3733 (__FP_FRAC_ADD_4): Likewise.
3734 (__FP_FRAC_SUB_3): Likewise.
3735 (__FP_FRAC_SUB_4): Likewise.
3736 (__FP_FRAC_DEC_3): Likewise.
3737 (__FP_FRAC_DEC_4): Likewise.
3738 (__FP_FRAC_ADDI_4): Likewise.
3739 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3740 (_FP_FRAC_SRL_8): Likewise.
3741 (_FP_FRAC_SRS_8): Likewise.
3742
9c37ec0b
JM
3743 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3744 include macro name.
3745 (FP_UNPACK_RAW_EP): Likewise.
3746 (FP_PACK_RAW_E): Likewise.
3747 (FP_PACK_RAW_EP): Likewise.
3748 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3749 (_FP_ISSIGNAN): Likewise.
3750 (_FP_ADD_INTERNAL): Likewise.
3751 (_FP_FMA): Likewise.
3752 (_FP_CMP): Likewise.
3753 (_FP_SQRT): Likewise.
3754 (_FP_TO_INT): Likewise.
3755 (_FP_FROM_INT): Likewise.
3756 (FP_EXTEND): Likewise.
3757 (_FP_DIV_MEAT_N_loop): Likewise.
3758
2125f674
MR
37592014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3760
3761 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3762 throughout.
3763
edea4028
JM
37642014-06-29 Joseph Myers <joseph@codesourcery.com>
3765
3766 [BZ #17097]
3767 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3768 result with correct sign in case of exponents that produce
3769 overflow except for X very close to 1.
3770
dd0ba018
PE
37712014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3772
3773 mktime: merge #if/#ifdef usage from glibc
3774 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3775 as that works with both Glibc's and Gnulib's style.
3776 See thread starting at Siddhesh Poyarekar's bug report at:
3777 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3778
64df73c2
SP
37792014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3780
3781 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3782 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3783 * sysdeps/tile/tilegx/memmove.c: Remove file.
3784
f1eafb41
JM
37852014-06-27 Joseph Myers <joseph@codesourcery.com>
3786
3787 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3788 abi-name definition.
3789 * scripts/soversions.awk: Do not handle or generate ABI lines.
3790 * shlib-versions: Remove ABI entries.
3791 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3792 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3793
58eb0862
RM
37942014-06-27 Roland McGrath <roland@hack.frob.com>
3795
37caf178
RM
3796 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3797 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3798 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3799 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3800 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3801 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3802 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3803 Moved ...
3804 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3805 ... here.
3806 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3807 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3809 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3811 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3813 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3815 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3817 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3818 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3819 Moved ...
3820 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3822 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3823 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3824 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3825 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3826 Moved ...
3827 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3829 Moved ...
3830 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3832 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3833 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3834 Moved ...
3835 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3837 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3839 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3841 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3842 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3843 Moved ...
3844 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3846 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3847 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3848 Moved ...
3849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3850 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3851 Moved ...
3852 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3853 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3854 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3855 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3856 Moved ...
3857 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3858 ... here.
3859 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3860 Identical file removed.
3861 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3862 Moved ...
3863 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3865 Identical file removed.
3866 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3869 Moved ...
3870 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3872 Identical file removed.
3873 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3874 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3875 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3876 Identical file removed.
3877 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3878 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3880 Identical file removed.
3881 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3882 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3883 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3884 Identical file removed.
3885 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3886 Moved ...
3887 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3888 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3889 Identical file removed.
3890 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3891 Moved ...
3892 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3893 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3894 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3895 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3896 Identical file removed.
3897 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3898 Moved ...
3899 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3900 ... here.
3901 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3902 Identical file removed.
3903 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3904 Moved ...
3905 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3907 Identical file removed.
3908 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3909 Moved ...
3910 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3912 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3913 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3914 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3915 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3916 Moved ...
3917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3918 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3919 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3920
58eb0862
RM
3921 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3922 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3923 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3924 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3925 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3926
6f12d062
AS
39272014-06-27 Arjun Shankar <arjun.is@lostca.se>
3928
3929 [BZ #17092]
3930 * nscd/nscd.c (monitor_child): Return exit status of child
3931 instead of return value from wait syscall.
3932
be254932
JM
39332014-06-27 Joseph Myers <joseph@codesourcery.com>
3934
cb403c34
JM
3935 * configure.ac (libc_commonpagesize): Remove variable.
3936 (libc_relro_required): Likewise.
3937 (libc_cv_z_relro): Remove configure test.
3938 * configure: Regenerated.
3939 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3940 variable.
3941 (libc_relro_required): Likewise.
3942 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3943 (libc_relro_required): Likewise.
3944 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3945 (libc_relro_required): Likewise.
3946 * sysdeps/arm/preconfigure: Regenerated.
3947 * sysdeps/ia64/preconfigure: Remove file.
3948 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3949 variable.
3950 (libc_relro_required): Likewise.
3951
be254932
JM
3952 [BZ #16561]
3953 [BZ #16562]
3954 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3955 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3956 recompute overflowing results in original rounding mode.
3957 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3958 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3959 recompute overflowing results in original rounding mode.
3960 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3961 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3962 recompute overflowing results in original rounding mode.
3963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3964 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3965 recompute overflowing results in original rounding mode.
3966 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3967 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3968 recompute overflowing results in original rounding mode.
3969 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3970 (libc_feholdsetround_ctx): New macro.
3971 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3972 * sysdeps/i386/fpu/libm-test-ulps: Update.
3973 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3974
b351d85a
JM
39752014-06-26 Joseph Myers <joseph@codesourcery.com>
3976
3977 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3978 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3979 corresponding .cpsetup call.
3980
3cb4de47
RM
39812014-06-26 Roland McGrath <roland@hack.frob.com>
3982
3983 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3984 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3985 * sysdeps/arm/Makefile [$(subdir) = csu]
3986 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3987 (static-only-routines): Add aeabi_read_tp here.
3988 (shared-only-routines): Add libc-aeabi_read_tp here.
3989 (CFLAGS-libc-start.c): Add -fexceptions here.
3990 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3991 (sysdep_routines, static-only-routines, shared-only-routines):
3992 Don't add to these here.
3993 (CFLAGS-libc-start.c): Likewise.
3994
3995 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3996 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3997 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3998 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3999 * sysdeps/arm/Makefile [$(subdir) = rt]
4000 (librt-sysdep_routines, librt-shared-only-routines):
4001 Append rt-aeabi_unwind_cpp_pr1 here.
4002 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4003 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4004 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4005 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4006 Append nptl-aeabi_unwind_cpp_pr1 here.
4007 (tests): Filter out tst-cleanupx4 here.
4008 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4009 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4010 Don't do those here.
4011
354426bb
JM
40122014-06-26 Joseph Myers <joseph@codesourcery.com>
4013
4014 * scripts/list-sources.sh: Do not handle ports specially.
4015
28b0a8c9
RM
40162014-06-26 Roland McGrath <roland@hack.frob.com>
4017
a3dd035d
RM
4018 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4019 * sysdeps/arm/feupdateenv.c: Likewise.
4020
28b0a8c9
RM
4021 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4022
e66a8203
JM
40232014-06-26 Joseph Myers <joseph@codesourcery.com>
4024
4025 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4026 trailing whitespace removed.
4027 * scripts/config.guess: Update to version 2014-03-23.
4028 * scripts/config.sub: Update to version 2014-05-01
4029 * scripts/install-sh: Update to version 2013-12-25.23.
4030 * scripts/move-if-change: Update from gnulib.
4031
74171115
SP
40322014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4033
b97c9ce5
SP
4034 * debug/memmove_chk.c: Remove pagecopy.h include.
4035
4000f892
SP
40362014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4037
74171115
SP
4038 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4039 identical to gnulib mktime.
4040
a8779c28
JM
40412014-06-26 Joseph Myers <joseph@codesourcery.com>
4042
e64708de
JM
4043 * configure.ac: Do not test for machine being rs6000. Do not test
4044 for powerpc*-*soft.
4045 * configure: Regenerated.
4046
a8779c28
JM
4047 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4048 test.
4049 * configure: Regenerated.
4050 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4051 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4052 Remove configure test.
4053 * sysdeps/arm/configure: Regenerated.
4054 * sysdeps/nptl/configure.ac: Do not check
4055 libc_cv_asm_cfi_directives.
4056 * sysdeps/nptl/configure: Regenerated.
4057 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4058 * sysdeps/x86_64/nptl/configure: Remove generated file.
4059 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4060 unconditional.
4061 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4062
2aac0a86
SP
40632014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4064
059bf913
SP
4065 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4066 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4067 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4068 it is defined.
4069
4cf5b6d0
SP
4070 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4071 instead of whether it is defined.
4072 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4073 * sysdeps/hppa/dl-machine.h: Likewise.
4074 * sysdeps/ia64/dl-machine.h: Likewise.
4075 * sysdeps/m68k/dl-machine.h: Likewise.
4076 * sysdeps/microblaze/dl-machine.h: Likewise.
4077 * sysdeps/mips/dl-machine.: Likewise.
4078 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4079 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4080 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4081 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4082 * sysdeps/sh/dl-machine.h: Likewise.
4083 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4084 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4085 * sysdeps/tile/dl-machine.h: Likewise.
4086 * sysdeps/x86_64/dl-machine.h: Likewise.
4087
2aac0a86
SP
4088 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4089 code.
4090 (verify_persistent_db): Likewise.
4091
6ad2df0b
RM
40922014-06-26 Roland McGrath <roland@hack.frob.com>
4093
d8a483f3
RM
4094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4095 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4099 Moved ...
4100 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4101 ... here.
4102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4103 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4105 Identical file removed.
4106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4109 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4117 Moved ...
4118 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4120 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4122 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4124 Moved ...
4125 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4127 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4129 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4131 Identical file removed.
4132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4133 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4135 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4137 Moved ...
4138 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4139 ... here.
4140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4141 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4143 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4145 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4147 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4149 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4151 Moved ...
4152 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4154 Moved ...
4155 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4157 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4159 Moved ...
4160 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4162 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4163
52ae23b4
RM
4164 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4165 folded into ...
4166 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4167 * sysdeps/unix/sysv/linux/s390/Versions
4168 (libpthread: GLIBC_2.19): New version set.
4169 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4170 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4171 (librt: GLIBC_2.3.3): New version set.
4172 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4173 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4174 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4175 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4176 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4177 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4178 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4180 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4181 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4182 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4183 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4184 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4185 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4186 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4188 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4190 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4192 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4194 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4195 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4196 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4198 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4200 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4202 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4204 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4206 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4208 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4210 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4212 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4214 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4216 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4217
39507e4a
RM
4218 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4219 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4220 (__libc_vfork): Define the function under this name.
4221 [!NOT_IN_libc] (__vfork): Make this an alias.
4222 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4223 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4224 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4225 (__libc_vfork): Define the function under this name.
4226 [!NOT_IN_libc] (__vfork): Make this an alias.
4227 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4228 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4229 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4231 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4232 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4233
e549ee56
RM
4234 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4235 code that was previously under [RESET_PID].
4236 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4237 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4239
6ad2df0b
RM
4240 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4241 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4242 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4243 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4244 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4245 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4246 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4247 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4248 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4249 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4250 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4251 Moved ...
4252 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4253 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4258 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4259 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4262 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4263 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4264 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4265 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4266 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4267 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4268 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4269 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4270 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4271 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4272 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4273 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4274 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4276 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4277 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4278 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4279 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4280 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4281
7c1c1d8e
RM
42822014-06-25 Roland McGrath <roland@hack.frob.com>
4283
4284 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4285 that was previously under [RESET_PID].
4286 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4287
3e239be6
JM
42882014-06-25 Joseph Myers <joseph@codesourcery.com>
4289
74385da5
JM
4290 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4291 not undefine and redefine.
4292 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4293 [O_CLOEXEC]: Make code unconditional.
4294 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4295 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4296 <kernel-features.h>.
4297 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4298 conditional variable definition.
4299 (shm_open) [O_CLOEXEC]: Make code unconditional.
4300 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4301 code.
4302
c2570a0b
JM
4303 * configure.ac (USE_REGPARMS): Don't define here.
4304 * configure: Regenerated.
4305 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4306 * sysdeps/i386/configure: Regenerated.
4307
11b076bb
JM
4308 * nptl/createthread.c: Don't include kernel-features.h.
4309 * nptl/pthread_cancel.c: Likewise.
4310 * nptl/pthread_condattr_setclock.c: Likewise.
4311 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4312 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4313 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4314 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4315 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4316 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4317 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4318 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4319 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4320 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4321 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4322 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4323 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4324 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4325 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4326 * nscd/gai.c: Likewise.
4327 * nss/nss_db/db-open.c: Likewise.
4328 * sysdeps/generic/ldsodefs.h: Likewise.
4329 * sysdeps/sh/nptl/tls.h: Likewise.
4330 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4331 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4332 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4333 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4334 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4335 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4336 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4337 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4339 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4340 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4341 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4342 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4343 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4344 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4345 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4346 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4347 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4348 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4349 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4350 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4351 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4352 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4353 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4354 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4355 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4356 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4357 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4358 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4359 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4360 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4361 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4362 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4363 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4364 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4365 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4366 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4367 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4368 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4369 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4370 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4371 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4372 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4373 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4374 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4375 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4376 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4377 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4378 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4379 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4380 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4381 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4382 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4383 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4384 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4385 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4387 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4410 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4411 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4412 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4413 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4414 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4415 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4417 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4418 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4419 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4420 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4421 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4422 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4423 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4424 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4425 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4426 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4427 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4428 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4429 * sysdeps/unix/sysv/linux/system.c: Likewise.
4430 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4431 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4432 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4433 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4434 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4435 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4436 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4437
92072d57
JM
4438 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4439 * configure: Regenerated.
4440 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4441
3e239be6
JM
4442 * configure.ac (base_machine): Do not set specially for particular
4443 machines here.
4444 * configure: Regenerated.
4445 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4446 settings from configure.ac.
4447 * sysdeps/i386/preconfigure: New file.
4448 * sysdeps/s390/preconfigure: Likewise.
4449 * sysdeps/sh/preconfigure: Likewise.
4450 * sysdeps/sparc/preconfigure: Likewise.
4451
06d50baa
RM
44522014-06-25 Roland McGrath <roland@hack.frob.com>
4453
74836003
RM
4454 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4455 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4456 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4457 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4458 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4459 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4460 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4461 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4462 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4463 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4464 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4465 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4466 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4467 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4468 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4469 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4470 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4471 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4472 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4473
4474 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4475 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4476 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4477 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4478 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4479 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4480 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4481 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4482 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4483 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4484 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4485 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4486 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4487 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4488 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4489 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4490 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4491 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4492 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4493 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4495 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4497 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4499 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4500 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4501 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4502 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4503 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4504 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4505 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4506 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4507 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4508 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4509 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4510 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4511 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4512
06d50baa
RM
4513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4514 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4516 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4518 Moved ...
4519 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4520 ... here.
4521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4524 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4526 Moved ...
4527 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4529 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4531 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4533 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4535 Moved ...
4536 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4538 Moved ...
4539 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4541 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4543 Moved ...
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4546 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4548 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4550 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4552 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4554 Moved ...
4555 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4556 ... here.
4557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4558 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4560 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4562 Moved ...
4563 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4565 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4567 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4569 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4571 Moved ...
4572 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4574 Moved ...
4575 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4577 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4579 Moved ...
4580 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4582 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4584 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4585
a4ccbc9b
JM
45862014-06-25 Joseph Myers <joseph@codesourcery.com>
4587
0828edbf
JM
4588 * timezone/checktab.awk: Update from tzcode 2014e.
4589 * timezone/private.h: Likewise.
4590 * timezone/tzfile.h: Likewise.
4591 * timezone/zdump.c: Likewise.
4592 * timezone/zic.c: Likewise.
4593
a4ccbc9b
JM
4594 * sysdeps/unix/sysv/linux/kernel-features.h
4595 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4597 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4598 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4599 Remove conditional code.
4600
9aea0cb8
WN
46012014-06-25 Will Newton <will.newton@linaro.org>
4602
4603 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4604 (_dl_arm_cap_flags): Add HWCAP2 values.
4605 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4606 (_DL_HWCAP_COUNT): Increase to 37.
4607 (_DL_HWCAP_LAST): New define.
4608 (_DL_HWCAP2_LAST): New define.
4609 (_dl_procinfo): Add support for printing
4610 AT_HWCAP2 entries.
4611 (_dl_string_hwcap): Use _dl_hwcap_string.
4612
6eaa65ce
AZ
46132014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4614
4615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4616
0f5b7185
JM
46172014-06-25 Joseph Myers <joseph@codesourcery.com>
4618
cfd2ea50
JM
4619 * README: Do not mention ports directory.
4620
cecf2ed4
JM
4621 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4622 Remove macro.
4623 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4624 <kernel-features.h>.
4625 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4626 conditional variable definition.
4627 (__futimes): Update comment.
4628 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4629 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4630
a638de82
JM
4631 [BZ #16560]
4632 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4633 arguments close to 0.
4634 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4635 Likewise.
4636 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4637 Likewise.
4638 * math/auto-libm-test-in: Add more tests of exp10.
4639 * math/auto-libm-test-out: Regenerated.
4640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4641
0f5b7185
JM
4642 * sysdeps/unix/sysv/linux/kernel-features.h
4643 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4644 * sysdeps/unix/sysv/linux/readv.c: Do not include
4645 <kernel-features.h>.
4646 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4647 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4648 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4649 unconditional.
4650 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4651 conditional code.
4652 * sysdeps/unix/sysv/linux/writev.c: Do not include
4653 <kernel-features.h>.
4654 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4655 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4656 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4657 unconditional.
4658 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4659 conditional code.
4660
c7aec4be
WN
46612014-06-25 Will Newton <will.newton@linaro.org>
4662
4663 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4664 comment changes throughout the file. Remove checks
4665 for HAVE_*_H definitions that are not required.
4666 (__gen_tempname): Call abort if an unknown kind value is
4667 passed.
4668
c5241f95
AS
46692014-06-25 Andreas Schwab <schwab@suse.de>
4670
4671 [BZ #17086]
4672 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4673 scalbln, scalblnf, scalblnl in libc.
4674
911422da
SP
46752014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4676
4677 [BZ #17086]
4678 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4679 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4680 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4681
0d749bbe
RM
46822014-06-24 Roland McGrath <roland@hack.frob.com>
4683
4684 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4685 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4686 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4687 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4688 Update #include.
4689 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4690 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4691 Update #include.
4692 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4693 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4694 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4695 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4696 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4697 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4698 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4699 * sysdeps/x86/bits/semaphore.h: ... here.
4700 * sysdeps/x86/nptl/elide.h: Moved ...
4701 * sysdeps/x86/elide.h: ... here.
4702 * sysdeps/x86_64/nptl/Implies: File removed.
4703 * sysdeps/i386/nptl/Implies: File removed.
4704
0ea5d373
JM
47052014-06-24 Joseph Myers <joseph@codesourcery.com>
4706
4060283d
JM
4707 [BZ #16539]
4708 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4709 return the argument for normal arguments with exponent below -64.
4710 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4711 Likewise.
4712 * math/auto-libm-test-in: Add another test of expm1.
4713 * math/auto-libm-test-out: Regenerated.
4714
e7dd3c8c
JM
4715 [BZ #16287]
4716 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4717 calling __erfcl for arguments at least 16.
4718 * math/auto-libm-test-in: Add more tests of erf.
4719 * math/auto-libm-test-out: Regenerated.
4720
0ea5d373
JM
4721 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4722 individual architectures.
4723 * sysdeps/unix/sysv/linux/configure: Regenerated.
4724 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4725 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4726 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4727 (ldd_rewrite_script): Define variable.
4728 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4730 file.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4732 generated file.
4733 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4734 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4735 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4736 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4737 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4738 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4739 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4740 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4741
2307e126
SP
47422014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4743
4744 [BZ #17084]
4745 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4746 Rename member __data.d to __data.__elision_data.
4747
c0a4ed77
W
47482014-06-24 Wilco <wdijkstr@arm.com>
4749
4750 * NEWS: Add 16918 to fixed bug list.
4751
b8c00573
W
47522014-06-24 Wilco <wdijkstr@arm.com>
4753
4754 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4755
b5570d92
W
47562014-06-24 Wilco <wdijkstr@arm.com>
4757
4758 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4759 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4760 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4761 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4762 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4763 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4764 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4765 Use _FPU_MASK_RM.
4766
947bdca2
W
47672014-06-24 Wilco <wdijkstr@arm.com>
4768
4769 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4770
00f669ed
W
47712014-06-24 Wilco <wdijkstr@arm.com>
4772
4773 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4774 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4775 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4776 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4777
db59bad3
W
47782014-06-24 Wilco <wdijkstr@arm.com>
4779
4780 [BZ #16918]
4781 * sysdeps/arm/feupdateenv.c (feupdateenv):
4782 Rewrite to reduce FPSCR accesses and fix return value.
4783
001f7b77
W
47842014-06-24 Wilco <wdijkstr@arm.com>
4785
4786 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4787 Optimize to avoid unnecessary FPSCR writes.
4788 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4789 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4790 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4791 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4792
4841e6a6
W
47932014-06-24 Wilco <wdijkstr@arm.com>
4794
4795 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4796 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4797 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4798 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4799 Call libc_fetestexcept_vfp.
4800 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4801 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4802 __SOFTFP__ ifdef so that they can be built for softfp.
4803
0813022c
SP
48042014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4805
08e5862f
SP
4806 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4807 argument type signed char.
4808
0813022c
SP
4809 * Makerules (check-abi): Dump diff of symlist if the test
4810 fails.
4811
3fc7236a
RM
48122014-06-23 Roland McGrath <roland@hack.frob.com>
4813
aba8ef95
RM
4814 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4815 using abort.
4816
3fc7236a
RM
4817 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4818 Remove unused variable ST.
4819
4da6db51
JM
48202014-06-23 Joseph Myers <joseph@codesourcery.com>
4821
4648909d
JM
4822 [BZ #16354]
4823 [BZ #17061]
4824 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4825 small arguments before calling __expm1.
4826 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4827 small arguments before calling __expm1f.
4828 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4829 small arguments before calling __expm1l.
4830 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4831 Likewise.
4832 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4833 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4834 spurious underflow for some cosh tests.
4835 * math/auto-libm-test-out: Regenerated.
4836 * sysdeps/i386/fpu/libm-test-ulps: Update.
4837
46a3d3c7
JM
4838 [BZ #17050]
4839 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4840 (__ieee754_y1): Set errno if return value overflows.
4841 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4842 (__ieee754_y1f): Set errno if return value overflows.
4843 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4844 (__ieee754_y1l): Set errno if return value overflows.
4845 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4846 (__ieee754_y1l): Set errno if return value overflows.
4847 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4848 * math/auto-libm-test-out: Regenerated.
4849
863893ec
JM
4850 * math/gen-auto-libm-tests.c: Document use of
4851 ignore-zero-inf-sign.
4852 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4853 (input_flags): Add ignore-zero-inf-sign.
4854 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4855 * math/gen-libm-test.pl (generate_testfile): Handle
4856 ignore-zero-inf-sign.
4857 * math/auto-libm-test-in: Mark some cpow tests with
4858 ignore-zero-inf-sign and some with xfail-rounding.
4859 * math/auto-libm-test-out: Regenerated.
4860 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4861 * sysdeps/i386/fpu/libm-test-ulps: Update.
4862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4863
4da6db51
JM
4864 [BZ #16315]
4865 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4866 overflowing or underflowing operations take place with sign of
4867 result.
4868 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4869 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4870 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4871 (__ieee754_pow): Recompute overflowing and underflowing results in
4872 original rounding mode.
4873 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4874 (__powl_helper): Allow negative argument X and scale negated value
4875 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4876 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4877 overflowing or underflowing operations take place with sign of
4878 result.
4879 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4880 Include <math.h>.
4881 * math/auto-libm-test-in: Add more tests of pow.
4882 * math/auto-libm-test-out: Regenerated.
4883 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4884 (pow_tonearest_test_data): Remove.
4885 (pow_test_tonearest): Likewise.
4886 (pow_towardzero_test_data): Likewise.
4887 (pow_test_towardzero): Likewise.
4888 (pow_downward_test_data): Likewise.
4889 (pow_test_downward): Likewise.
4890 (pow_upward_test_data): Likewise.
4891 (pow_test_upward): Likewise.
4892 (main): Don't call removed functions.
4893 * sysdeps/i386/fpu/libm-test-ulps: Update.
4894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4895
5686b236
RM
48962014-06-23 Roland McGrath <roland@hack.frob.com>
4897
4898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4899 Moved ...
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4902 Moved ...
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4905 Moved ...
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4908 Moved ...
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4911 File removed.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4913 File removed.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4915 File removed.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4917 File removed.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4919 File removed.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4921 File removed.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4923 File removed.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4925 File removed.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4927 File removed.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4929 File removed.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4931 File removed.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4933 File removed.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4935 Moved ...
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4938 Moved ...
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4940 ... here.
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4942 Moved ...
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4945 Moved ...
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4948 Moved ...
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4951 Moved ...
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4954 Moved ...
4955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4957 Moved ...
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4960 Moved ...
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4964 ... here.
4965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4966 Moved ...
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4969 Moved ...
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4971 ... here.
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4973 Moved ...
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4975 ... here.
4976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4977 Moved ...
4978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4979 ... here.
4980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4981 Moved ...
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4984 Moved ...
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4989 Moved ...
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4991 ... here.
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4993 Moved ...
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4995 ... here.
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4997 Moved ...
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5000 Moved ...
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5003 Moved ...
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5006 Moved ...
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5009 Moved ...
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5011 ... here.
5012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5013 Moved ...
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5016 Moved ...
5017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5019 Moved ...
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5022 Moved ...
5023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5027 Moved ...
5028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5030 Moved ...
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5033 Moved ...
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5035 ... here.
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5037 Moved ...
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5039 ... here.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5041 Moved ...
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5043 ... here.
5044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5045 Moved ...
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5048 Moved ...
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5051 Moved ...
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5054 Moved ...
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5056 ... here.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5058 Moved ...
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5060 ... here.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5062 Moved ...
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5064 ... here.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5066 Moved ...
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5069 Moved ...
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5071
e6d90d67
WD
50722014-06-23 Will Newton <will.newton@linaro.org>
5073 Wilco <wdijkstr@arm.com>
5074
5075 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5076 implementation. Include get-rounding-mode.h.
5077 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5078 [!libc_feholdsetround_noex_ctx]: Define
5079 libc_feholdsetround_noex_ctx.
5080 [!libc_feholdsetround_noexf_ctx]: Define
5081 libc_feholdsetround_noexf_ctx.
5082 [!libc_feholdsetround_noexl_ctx]: Define
5083 libc_feholdsetround_noexl_ctx.
5084 (libc_feholdsetround_ctx): New function.
5085 (libc_feresetround_ctx): New function.
5086 (libc_feholdsetround_noex_ctx): New function.
5087 (libc_feresetround_noex_ctx): New function.
5088
d42df555
RM
50892014-06-23 Roland McGrath <roland@hack.frob.com>
5090
88a46474
RM
5091 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5092 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5093 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5094 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5095 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5096 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5097
15bed472
RM
5098 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5099 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5100 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5101 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5102 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5103 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5105 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5106 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5107 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5109 Moved ...
5110 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5111 ... here.
5112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5113 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5114 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5115 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5116 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5117 Moved ...
5118 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5120 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5122 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5124 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5125 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5126 Moved ...
5127 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5128 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5129 Moved ...
5130 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5131 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5132 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5133 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5134 Moved ...
5135 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5136 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5137 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5138 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5139 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5140 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5141 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5142 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5143 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5144 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5145 Moved ...
5146 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5147 ... here.
5148 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5149 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5150 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5151 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5153 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5157 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5158 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5159 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5160 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5161 Moved ...
5162 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5164 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5165 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5166 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5167 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5168 Moved ...
5169 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5170 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5171 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5172 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5173 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5174
d42df555
RM
5175 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5176 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5177 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5178 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5179 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5180 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5181 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5182 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5184 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5185 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5186 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5187 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5188 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5189 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5190 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5191 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5192 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5193 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5194 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5195 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5196 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5197 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5198 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5199 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5200 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5201 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5202 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5203
76e5216e
JM
52042014-06-23 Joseph Myers <joseph@codesourcery.com>
5205
5206 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5207 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5208 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5209 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5210 (IPV6_PMTUDISC_INTERFACE): Likewise.
5211 (IPV6_PMTUDISC_OMIT): Likewise.
5212
7a81cbcc
AS
52132014-06-23 Andreas Schwab <schwab@suse.de>
5214
5215 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5216 Remove unused errout label.
5217
db224009
AZ
52182014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5219
5220 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5221 macro: hardware supports Vector Crypto instructions.
5222
f393b4aa
WN
52232014-06-23 Will Newton <will.newton@linaro.org>
5224
cc7d0447
WN
5225 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5226 rather than __builtin_expect.
5227
d6d06225
WN
5228 * elf/dl-lookup.c (undefined_msg): Remove variable.
5229 (_dl_lookup_symbol_x): Replace undefined_msg with string
5230 literal.
5231
f393b4aa
WN
5232 * elf/dl-lookup.c (do_lookup_unique): New function.
5233 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5234 to a separate function.
5235
ac60763e
AS
52362014-06-23 Andreas Schwab <schwab@suse.de>
5237
5238 [BZ #17079]
5239 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5240 before reading the next line.
5241
c5c13355
WN
52422014-06-23 Will Newton <will.newton@linaro.org>
5243
5244 * test-skeleton.c (signal_handler): Use printf and %m
5245 rather than perror. Use printf rather than fprintf to
5246 stderr. Use puts rather than fputs to stderr.
5247 (main): Likewise.
5248
bd3675f9
LC
52492014-06-22 Ludovic Courtès <ludo@gnu.org>
5250
5251 * nscd/nscd.c (thread_info_t): Remove typedef.
5252 (thread_info): Remove variable.
5253
d03efb2f
AM
52542014-06-21 Allan McRae <allan@archlinux.org>
5255
5256 * NEWS: Mention CVE-2014-4043.
5257
bc4a86fa
RM
52582014-06-20 Roland McGrath <roland@hack.frob.com>
5259
dc9a54f8
RM
5260 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5261 * nptl/smp.h: ... here.
5262
bd7022c4
RM
5263 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5264
26ffd5e6
RM
5265 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5266 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5267 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5268 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5269
93a6d082
RM
5270 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5271 * nptl/stack-aliasing.h: New file.
5272 * sysdeps/i386/i686/stack-aliasing.h: New file.
5273 * sysdeps/i386/i686/nptl/Makefile: File removed.
5274 * sysdeps/x86_64/stack-aliasing.h: New file.
5275 * sysdeps/x86_64/nptl/Makefile
5276 (CFLAGS-pthread_create.c): Variable removed.
5277
bc4a86fa
RM
5278 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5279 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5280 old file.
5281 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5282 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5283 old file.
5284
2272ffc1
JM
52852014-06-21 Joseph Myers <joseph@codesourcery.com>
5286
5287 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5288 (__ASSUME_SIGFRAME_V2): Remove macro.
5289 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5290 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5291 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5292 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5293 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5294 Declare as function. Remove conditional macro definitions.
5295 (__default_rt_sa_restorer): Likewise.
5296 (__default_sa_restorer_v1): Remove declaration.
5297 (__default_sa_restorer_v2): Likewise.
5298 (__default_rt_sa_restorer_v1): Likewise.
5299 (__default_rt_sa_restorer_v2): Likewise.
5300 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5301 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5302 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5303
4b88139b
RM
53042014-06-20 Roland McGrath <roland@hack.frob.com>
5305
5306 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5307 (libpthread-routines): Add sysdep.
5308 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5309 * sysdeps/unix/sysv/linux/sparc/Versions
5310 (libpthread: GLIBC_2.3.3): New version set.
5311 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5312 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5313 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5314 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5315 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5316 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5317 Moved ...
5318 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5319 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5320 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5321 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5322 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5324 * sysdeps/sparc/nptl/sem_init.c: ... here.
5325 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5326 * sysdeps/sparc/nptl/sem_post.c: ... here.
5327 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5328 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5329 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5330 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5331 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5332 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5333 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5334 (libpthread-routines): Add cpu_relax.
5335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5336 File removed.
5337 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5338 (librt: GLIBC_2.3.3): New version set.
5339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5340 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5341 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5342 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5343 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5345 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5346 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5347 Moved ...
5348 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5350 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5352 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5354 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5356 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5358 Moved ...
5359 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5360 Update #include.
5361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5362 Moved ...
5363 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5364 Update #include.
5365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5366 Moved ...
5367 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5368 Update #include.
5369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5370 Moved ...
5371 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5372 Update #include.
5373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5374 Moved ...
5375 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5376 Update #include.
5377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5378 Moved ...
5379 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5380 Update #include.
5381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5382 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5388 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5390 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5392 Moved ...
5393 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5395 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5397 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5398
d7109027
JM
53992014-06-20 Joseph Myers <joseph@codesourcery.com>
5400
9bc6103d
JM
5401 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5402 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5403 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5404 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5405 * nscd/nscd.c: Likewise.
5406 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5407 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5408 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5409 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5410
d7109027
JM
5411 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5412 <kernel-features.h>.
5413 (init_mq_netlink): Remove conditional have_sock_cloexec
5414 definitions. Remove code conditional on have_sock_cloexec < 0.
5415 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5416 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5417 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5418 <kernel-features.h>.
5419 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5420 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5421
d92d8f8a
L
54222014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5423
5424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5425 Add tests for memset_chk and memset.
5426
5427 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5428 with AVX2_Usable.
5429
4e6d2347
MR
54302014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5431
257ce712
MR
5432 [BZ #16046]
5433 * elf/tst-dl-iter-static.c: New file.
5434 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5435
4e6d2347
MR
5436 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5437 error.
5438
a2a76afe
JM
54392014-06-20 Joseph Myers <joseph@codesourcery.com>
5440
7fd00f99
JM
5441 * sysdeps/unix/sysv/linux/kernel-features.h
5442 (__ASSUME_F_GETOWN_EX): Remove macro.
5443 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5444 <kernel-features.h>.
5445 (miss_F_GETOWN_EX): Remove variable or macro.
5446 (do_fcntl): Do not check miss_F_GETOWN_EX.
5447 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5448
4a103975
JM
5449 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5450 Remove macro.
5451 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5452 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5453 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5454
a2a76afe
JM
5455 * sysdeps/unix/sysv/linux/kernel-features.h
5456 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5457 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5458 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5459 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5460
90e5dd48
MR
54612014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5462
5463 [BZ #17075]
5464 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5465 Fix calculation of the symbol's value.
5466 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5467 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5468 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5469 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5470 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5471 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5472 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5473 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5474 (modules-names): Add `tst-armtlsdescmod',
5475 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5476 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5477 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5478 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5479 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5480 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5481 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5482 ($(objpfx)tst-armtlsdescloc): New dependency.
5483 ($(objpfx)tst-armtlsdescextnow): Likewise.
5484 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5485 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5486 TLS scheme support.
5487 * sysdeps/arm/configure: Regenerate.
5488
809fdf0d
JM
54892014-06-20 Joseph Myers <joseph@codesourcery.com>
5490
5491 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5492 (__atfct_seterrno_2): Likewise.
5493 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5494 <kernel-features.h>.
5495 (__ASSUME_ATFCTS): Do not undefine and redefine.
5496 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5497 (__have_atfcts): Remove conditional definition.
5498 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5499 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5500 unreachable if [__ASSUME_ATFCTS].
5501 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5502 not undefine and redefine.
5503 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5504 <kernel-features.h>.
5505 (faccessat) [__NR_faccessat]: Make code unconditional.
5506 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5507 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5508 <kernel-features.h>.
5509 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5510 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5511 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5512 <kernel-features.h>.
5513 (fchownat) [__NR_fchownat]: Make code unconditional.
5514 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5515 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5516 <kernel-features.h>.
5517 (futimesat) [__NR_futimesat]: Make code unconditional.
5518 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5519 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5520 <kernel-features.h>.
5521 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5522 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5523 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5524 <kernel-features.h>.
5525 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5526 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5527 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5528 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5529 <kernel-features.h>.
5530 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5531 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5532 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5533 <kernel-features.h>.
5534 (linkat) [__NR_linkat]: Make code unconditional.
5535 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5536 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5537 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5538 <kernel-features.h>.
5539 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5540 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5541 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5542 <kernel-features.h>.
5543 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5544 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5545 * sysdeps/unix/sysv/linux/openat.c: Do not include
5546 <kernel-features.h>.
5547 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5548 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5549 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5550 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5551 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5552 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5553 <kernel-features.h>.
5554 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5555 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5556 result of INLINE_SYSCALL directly, not via int variable.
5557 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5558 <kernel-features.h>.
5559 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5560 (renameat) [__NR_renameat]: Make code unconditional.
5561 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5562 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5563 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5564 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5565 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5566 (__ASSUME_ATFCTS): Do not undefine and redefine.
5567 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5568 <kernel-features.h>.
5569 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5570 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5571 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5572 <kernel-features.h>.
5573 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5574 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5575 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5576 (__ASSUME_ATFCTS): Do not undefine and redefine.
5577 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5578 <kernel-features.h>.
5579 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5580 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5581 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5582 <kernel-features.h>.
5583 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5584 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5585
224c6c51
L
55862014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5589
aa6ec754
AS
55902014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5591
5592 [BZ #17069]
5593 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5594 constructed tree before returning error.
5595 * posix/bug-regexp36.c: Expand test case.
5596
d8c2869d
SL
55972014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5598
3ef6b850
SL
5599 [BZ #6803]
5600 * math/libm-test.inc (scalbln_test_date):
5601 Add errno expectations.
5602 * math/w_scalblnf.c: New File.
5603 Add wrapper which checks for setting errno to ERANGE.
5604 Add weak_alias for corresponding scalbln function.
5605 * math/w_scalbln.c: Likewise.
5606 * math/w_scalblnl.c: Likewise.
5607 * math/Makefile (libm-calls): Add w_scalbln.
5608 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5609 Remove weak_alias for corresponding scalbln function.
5610 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5612 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5614 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5615 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5616 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5617 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5618 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5619 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5620 Remove long_double_symbol for scalblnl function in libm, libc.
5621 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5622 Add wrapper which checks for setting errno to ERANGE.
5623 Add long_double_symbol for scalblnl function in libm, libc.
5624 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5625 Remove long_double_symbol for scalblnl in libm.
5626 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5627 Add wrapper which checks for setting errno to ERANGE.
5628 Add long_double_symbol for scalblnl function in libm.
5629 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5630 Do not use wrapper because of own implementation.
5631
c8daec5c
L
56322014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5633
5634 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5635 3 bytes for __pad1 for x32.
5636 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5637
5c74e47c
LM
56382014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5639 H.J. Lu <hongjiu.lu@intel.com>
5640
5641 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5642 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5643 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5644 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5645 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5646
4d43ef1e
AS
56472014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5648
5649 [BZ #17069]
5650 * posix/regcomp.c (parse_expression): Deallocate partially
5651 constructed tree before returning error.
5652 * posix/Makefile.c (tests): Add bug-regex36.
5653 (generated): Add bug-regex36.mtrace.
5654 (tests-special): Add $(objpfx)bug-regex36-mem.out
5655 (bug-regex36-ENV): New variable.
5656 ($(objpfx)bug-regex36-mem.out): New rule.
5657 * posix/bug-regex36.c: New file.
5658
51a7380b
WN
56592014-06-19 Will Newton <will.newton@linaro.org>
5660
5661 * malloc/malloc.c (systrim): If extra is zero then return
5662 early.
5663
91b84fe5
SP
56642014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5665
5666 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5667
f940b965
RE
56682014-06-19 Richard Earnshaw <rearnsha@arm.com>
5669
5670 * sysdeps/aarch64/strchr.S: New file.
5671
4ba7a00f
JM
56722014-06-18 Joseph Myers <joseph@codesourcery.com>
5673
5674 [BZ #17022]
5675 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5676 from arguments -2 or below.
5677 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5678 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5679
b3a9f56b
AS
56802014-06-18 Andreas Schwab <schwab@suse.de>
5681
5682 [BZ #17062]
5683 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5684 of a bracket expr not to run off the end of the string.
5685 * posix/Makefile (tests): Add tst-fnmatch3.
5686 * posix/tst-fnmatch3.c: New file.
5687
85d89278
JM
56882014-06-18 Joseph Myers <joseph@codesourcery.com>
5689
5690 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5691 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5692 [$(cross-compiling) = no]: Likewise.
5693 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5694 [$(cross-compiling) = no]: Likewise.
5695
754c5a08
RS
56962014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5697
5698 [BZ #17031]
5699 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5700 double, adjusted for any remainder from the high double.
5701 * math/libm-test.inc (nearbyint): Add tests.
5702 (rint): Likewise.
5703
556f529d
AZ
57042014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5705
5706 * nptl/sysdeps/powerpc/Makefile: Moved ...
5707 * sysdeps/powerpc/nptl/Makefile: ... here.
5708 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5709 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5710 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5711 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5712 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5713 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5714 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5715 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5716 * nptl/sysdeps/powerpc/tls.h: Moved ...
5717 * sysdeps/powerpc/nptl/tls.h: ... here.
5718
91c03c53
JM
57192014-06-16 Joseph Myers <joseph@codesourcery.com>
5720
5721 [BZ #16681]
5722 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5723 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5724 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5725 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5726 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5727 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5728 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5729 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5730 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5731
a76e63c5
AS
57322014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5733
5734 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5735
f2f6d82f
AS
57362014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5737
ea8a15f6
AS
5738 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5739 defined operator.
5740
f2f6d82f
AS
5741 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5742 $TIMEOUTFACTOR.
5743
a7291117
FW
57442014-06-16 Florian Weimer <fweimer@redhat.com>
5745
5746 [BZ #17058]
5747 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5748 non-executed part of the test.
5749
3d7c00e3
AS
57502014-06-16 Andreas Schwab <schwab@suse.de>
5751
5752 * string/bits/string2.h (strdup, strndup): Update feature guard.
5753
6957fb31
DM
57542014-06-14 David S. Miller <davem@davemloft.net>
5755
5756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5757
11b9e55b
AS
57582014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5759
1d2a0492
AS
5760 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5761 that was previously under [RESET_PID].
5762 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5763
11b9e55b
AS
5764 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5765 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5766 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5767 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5768 (__libc_vfork): New strong alias.
5769 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5770
0f6901d0
AK
57712014-06-14 Andi Kleen <ak@linux.intel.com>
5772
5773 * sysdeps/generic/elide.h: New file.
5774
38bbbb9f
SL
57752014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5776
5777 * Makefile (installed-headers): Adjust path of pthread.h header.
5778
45193bb8
RM
57792014-06-13 Roland McGrath <roland@hack.frob.com>
5780
9a25fd1e
RM
5781 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5782 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5783 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5784 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5785
4004f7e4
RM
5786 * nptl/sysdeps/s390/Makefile: Moved ...
5787 * sysdeps/s390/nptl/Makefile: ... here.
5788 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5789 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5790 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5791 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5792 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5793 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5794 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5795 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5796 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5797 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5798 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5799 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5800 * nptl/sysdeps/s390/tls.h: Moved ...
5801 * sysdeps/s390/nptl/tls.h: ... here.
5802
45193bb8
RM
5803 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5804 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5805
f6fdf533
DM
58062014-06-13 David S. Miller <davem@davemloft.net>
5807
5808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5811 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5815 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5816 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5817 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5818 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5819 Remove RESET_PID cpp guards.
5820 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5821 Remove RESET_PID cpp guards.
5822 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5823
f5d71e14
AS
58242014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5825
5826 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5827 __sp to uintptr_t.
5828
b7aa8caa
AK
58292014-06-13 Andi Kleen <ak@linux.intel.com>
5830
4b266200
AZ
5831 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5832 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5834 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5835 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5836 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5837 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5838 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5839 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5840 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5841 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5842 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5843 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5844 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5845 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5846 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5847 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5848 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5849 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5850 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5851
5852 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5853 (pthread_rwlock_rdlock): Add elision.
5854 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5855 (pthread_rwlock_wrlock): Add elision.
5856 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5857 (pthread_rwlock_trywrlock): Add elision.
5858 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5859 (pthread_rwlock_tryrdlock): Add elision.
5860 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5861 (pthread_rwlock_tryrdlock): Add elision unlock.
5862 * nptl/sysdeps/pthread/pthread.h:
5863 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5864 (PTHREAD_RWLOCK_INITIALIZER,
5865 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5866 Handle new elision field.
5867 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5868 * sysdeps/arm/nptl/bits/pthreadtypes.h
5869 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5870 * sysdeps/sh/nptl/bits/pthreadtypes.h
5871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5872 * sysdeps/tile/nptl/bits/pthreadtypes.h
5873 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5874 * sysdeps/a/nptl/bits/pthreadtypes.h
5875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5876 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5877 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5878 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5879 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5880 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5882 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5884 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5886 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5888 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5889 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5890 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5891 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5892 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5893 (elision_init): Set try_xbegin to zero when no RTM.
5894 * sysdeps/x86/nptl/bits/pthreadtypes.h
5895 (pthread_rwlock_t): Change __pad1 to __rwelision.
5896 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5897
a832bdd3
AK
58982014-06-13 Andi Kleen <ak@linux.intel.com>
5899
5900 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5901 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5902 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5903 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5904
995a46bb
MI
59052014-06-13 Meador Inge <meadori@codesourcery.com>
5906
5907 [BZ #16996]
03ed7738 5908 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5909 that the cached result has been set before returning it.
5910
45262aee
RM
59112014-06-12 Roland McGrath <roland@hack.frob.com>
5912
febf6cc5
RM
5913 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5914 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5915 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5916 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5917 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5918 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5919
e2682246
RM
5920 * nptl/sysdeps/sparc/Makefile: Moved ...
5921 * sysdeps/sparc/nptl/Makefile: ... here.
5922 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5923 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5924 * nptl/sysdeps/sparc/tls.h: Moved ...
5925 * sysdeps/sparc/nptl/tls.h: ... here.
5926 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5927 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5928 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5929 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5930 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5931 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5932 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5933 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5934 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5935 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5936 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5937 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5938 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5939 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5940 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5941 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5942 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5943 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5944 Update #include.
5945 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5946 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5947 Update #include.
5948 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5949 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5950 Update #include.
5951 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5952 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5953 Update #include.
5954
b0725f43
RM
5955 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5956
b14368b8
RM
5957 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5958 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5959
c5620eb3
RM
5960 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5961 (struct list_links): Type removed.
5962 (struct thread_node, struct timer_node): Replace struct list_links
5963 with struct list_head.
5964 (list_unlink_ip): Likewise.
5965 * sysdeps/pthread/timer_routines.c
5966 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5967 (list_append, list_insbefore): Likewise.
5968 (list_init): Function removed.
5969 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5970 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5971 * sysdeps/pthread/Makefile: ... here, new file.
5972
5973 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5974 * sysdeps/nptl/Implies: ... here.
5975 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5976 * nptl/sysdeps/pthread/list.h: Moved ...
5977 * include/list.h: ... here.
5978 * nptl/sysdeps/pthread/createthread.c: Moved ...
5979 * nptl/createthread.c: ... here.
5980 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5981 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5982 * nptl/pt-longjmp.c: ... here.
5983 * nptl/sysdeps/pthread/Makefile: Moved ...
5984 * sysdeps/nptl/Makefile: ... here.
5985 * nptl/sysdeps/pthread/Subdirs: Moved ...
5986 * sysdeps/nptl/Subdirs: ... here.
5987 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5988 * sysdeps/nptl/aio_misc.h: ... here.
5989 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5990 * sysdeps/nptl/bits/libc-lock.h: ... here.
5991 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5992 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5993 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5994 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5995 * nptl/sysdeps/pthread/configure: Moved ...
5996 * sysdeps/nptl/configure: ... here.
5997 * nptl/sysdeps/pthread/configure.ac: Moved ...
5998 * sysdeps/nptl/configure.ac: ... here.
5999 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6000 * sysdeps/nptl/gai_misc.h: ... here.
6001 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6002 * sysdeps/nptl/librt-cancellation.c: ... here.
6003 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6004 * sysdeps/nptl/malloc-machine.h: ... here.
6005 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6006 * sysdeps/nptl/pthread-functions.h: ... here.
6007 * nptl/sysdeps/pthread/pthread.h: Moved ...
6008 * sysdeps/nptl/pthread.h: ... here.
6009 * nptl/sysdeps/pthread/setxid.h: Moved ...
6010 * sysdeps/nptl/setxid.h: ... here.
6011 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6012 * sysdeps/nptl/sigfillset.c: ... here.
6013 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6014 * sysdeps/nptl/tcb-offsets.h: ... here.
6015 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6016 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6017 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6018 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6019 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6020 * sysdeps/pthread/allocalim.h: ... here.
6021 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6022 * sysdeps/pthread/bits/sigthread.h: ... here.
6023 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6024 * sysdeps/pthread/flockfile.c: ... here.
6025 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6026 * sysdeps/pthread/ftrylockfile.c: ... here.
6027 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6028 * sysdeps/pthread/funlockfile.c: ... here.
6029 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6030 * sysdeps/pthread/posix-timer.h: ... here.
6031 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6032 * sysdeps/pthread/timer_create.c: ... here.
6033 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6034 * sysdeps/pthread/timer_delete.c: ... here.
6035 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6036 * sysdeps/pthread/timer_getoverr.c: ... here.
6037 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6038 * sysdeps/pthread/timer_gettime.c: ... here.
6039 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6040 * sysdeps/pthread/timer_routines.c: ... here.
6041 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6042 * sysdeps/pthread/timer_settime.c: ... here.
6043 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6044 * sysdeps/pthread/tst-timer.c: ... here.
6045 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6046 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6047
e876b090
RM
6048 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6049 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6050
f6b07b3d
RM
6051 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6052 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6053 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6054 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6055 Update #include target.
6056 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6057 * sysdeps/i386/i686/nptl/Makefile: ... here.
6058 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6059 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6060 Update #include target.
6061 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6062 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6063 * nptl/sysdeps/i386/Makefile: Moved ...
6064 * sysdeps/i386/nptl/Makefile: ... here.
6065 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6066 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6067 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6068 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6069 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6070 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6071 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6072 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6073 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6074 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6075 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6076 * nptl/sysdeps/i386/tls.h: Moved ...
6077 * sysdeps/i386/nptl/tls.h: ... here.
6078
45262aee
RM
6079 * sysdeps/sh/Makefile [$(subdir) = csu]
6080 (gen-as-const-headers): Add tcb-offsets.sym.
6081 * nptl/sysdeps/sh/Makefile: File removed.
6082 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6083 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6084 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6085 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6086 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6087 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6088 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6089 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6090 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6091 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6092 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6093 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6094 * nptl/sysdeps/sh/tls.h: Moved ...
6095 * sysdeps/sh/nptl/tls.h: ... here.
6096 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6097 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6098 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6099 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6100 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6101 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6102 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6103 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6104 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6105 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6106 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6107 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6108 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6109 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6111 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6112 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6113 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6114 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6115 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6116 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6117 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6118 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6119 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6120 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6121 Moved ...
6122 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6123 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6124 Moved ...
6125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6126 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6127 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6128 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6129 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6131 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6133 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6135 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6137 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6138 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6139 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6140 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6141 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6142 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6143 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6144
35a5e3e3
SL
61452014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6146
6147 * posix/spawn_faction_addopen.c: Include string.h.
6148
14642b85
RM
61492014-06-11 Roland McGrath <roland@hack.frob.com>
6150
6151 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6152 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6153 * nptl/sysdeps/x86_64/Makefile: Moved ...
6154 * sysdeps/x86_64/nptl/Makefile: ... here.
6155 * nptl/sysdeps/x86_64/configure: Moved ...
6156 * sysdeps/x86_64/nptl/configure: ... here.
6157 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6158 * sysdeps/x86_64/nptl/configure.ac: ... here.
6159 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6160 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6161 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6162 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6163 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6164 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6165 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6166 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6167 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6168 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6169 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6170 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6171 * nptl/sysdeps/x86_64/tls.h: Moved ...
6172 * sysdeps/x86_64/nptl/tls.h: ... here.
6173 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6174 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6175 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6176 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6177
6178 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6179
31c44fea
AZ
61802014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181
6182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6183
e81a4f9a
JM
61842014-06-11 Joseph Myers <joseph@codesourcery.com>
6185
6186 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6187 type.
6188 [POSIX] (off_t): Likewise.
6189 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6190 [POSIX] (S_ISBLK): Require macro.
6191 [POSIX] (S_ISCHR): Likewise.
6192 [POSIX] (S_ISDIR): Likewise.
6193 [POSIX] (S_ISFIFO): Likewise.
6194 [POSIX] (S_ISREG): Likewise.
6195 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6196 optional-macro.
6197 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6198 type.
6199 [POSIX] (time_t): Likewise.
6200 [POSIX] (timer_t): Likewise.
6201
89e435f3
FW
62022014-06-11 Florian Weimer <fweimer@redhat.com>
6203
6204 [BZ #17048]
6205 * posix/spawn_int.h (struct __spawn_action): Make the path string
6206 non-const to support deallocation.
6207 * posix/spawn_faction_addopen.c
6208 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6209 * posix/spawn_faction_destroy.c
6210 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6211 path in all spawn_do_open actions.
6212 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6213 posix_spawn_file_actions_addopen.
6214
c3a2ebe1
CM
62152014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6216
6217 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6218 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6219 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6220 conditional code always true.
6221 (__libc_vfork): New alias.
6222
9503784a
RM
62232014-06-11 Roland McGrath <roland@hack.frob.com>
6224
c9cab3d2
RM
6225 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6226 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6227
d3996c79
RM
6228 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6229
ba5ec611
RM
6230 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6231 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6232
f12b4814
RM
6233 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6234 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6235
9503784a
RM
6236 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6237 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6238
e23d3d26
VR
62392014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6240
6241 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6242 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6243 multiarch strcmp for PPC64.
6244 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6245 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6247 multiarch optimizations.
6248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6249 (__libc_ifunc_impl_list): Likewise.
6250
42b1161e
SP
62512014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6252
6253 * benchtests/scripts/validate_benchout.py: New script.
6254 * benchtests/Makefile (bench-func): Call it.
6255 * benchtests/scripts/benchout.schema.json: New file.
6256
2d0fc4dc
CM
62572014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6258
4a594c34
AZ
6259 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6260 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6261 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6262 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6263 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6264 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6265 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6266 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6267 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6268 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6269 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6270 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6271 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6272 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6273 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6274 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6276 Moved ...
4a594c34 6277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6278 ... here.
4a594c34 6279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6280 Moved ...
4a594c34
AZ
6281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6283 Moved ...
4a594c34 6284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6285 ... here.
4a594c34 6286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6287 Moved ...
4a594c34 6288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6289 ... here.
4a594c34 6290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6291 Moved ...
4a594c34
AZ
6292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6294 Moved ...
4a594c34 6295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6296 ... here.
4a594c34 6297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6298 Moved ...
4a594c34 6299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6300 ... here.
4a594c34 6301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6302 Moved ...
4a594c34
AZ
6303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6305 Moved ...
4a594c34 6306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6307 ... here.
4a594c34 6308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6309 Moved ...
4a594c34 6310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6311 ... here.
4a594c34 6312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6313 Moved ...
4a594c34 6314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6315 ... here.
4a594c34 6316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6317 Moved ...
4a594c34
AZ
6318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6320 Moved ...
4a594c34 6321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6322 ... here.
4a594c34 6323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6324 Moved ...
4a594c34 6325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6326 ... here.
4a594c34 6327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6328 Moved ...
4a594c34 6329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6330 ... here.
4a594c34 6331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6332 Moved ...
4a594c34
AZ
6333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6335 Moved ...
4a594c34 6336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6337 ... here.
4a594c34 6338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6339 Moved ...
4a594c34 6340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6341 ... here.
4a594c34 6342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6343 Moved ...
4a594c34
AZ
6344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6346 Moved ...
4a594c34 6347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6348 ... here.
4a594c34 6349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6350 Moved ...
4a594c34
AZ
6351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6353 Moved ...
4a594c34
AZ
6354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6356 Moved ...
4a594c34 6357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6358 ... here.
4a594c34 6359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6360 Moved ...
4a594c34 6361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6362 ... here.
4a594c34 6363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6364 Moved ...
4a594c34 6365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6366 ... here.
4a594c34 6367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6368 Moved ...
4a594c34
AZ
6369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6371 Moved ...
4a594c34 6372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6373 ... here.
4a594c34 6374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6375 Moved ...
4a594c34 6376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6377 ... here.
4a594c34
AZ
6378 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6379 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6380 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6381 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6382 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6383 Moved ...
4a594c34 6384 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6385 ... here.
4a594c34
AZ
6386 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6387 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6389 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6391 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6392 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6393 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6395 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6396 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6397 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6398 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6399 Moved ...
4a594c34
AZ
6400 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6401 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6402 Moved ...
4a594c34
AZ
6403 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6404 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6405 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6406 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6407 Moved ...
4a594c34
AZ
6408 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6409 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6410 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6411 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6412 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6413 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6414 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6415
0570cfed
W
64162014-06-10 Wilco <wdijkstr@arm.com>
6417
6418 * math/test-fenv-return.c: New file.
6419 * math/Makefile: Add new test test-fenv-return.
6420
f8ba1b56
JM
64212014-06-10 Joseph Myers <joseph@codesourcery.com>
6422
6423 [BZ #17042]
6424 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6425 when x - 1 is zero.
6426 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6427 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6428 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6429 0.0L for an argument of 1.0L.
6430 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6431 Likewise.
6432 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6433 value when x - 1 is zero.
6434 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6435 * sysdeps/i386/fpu/libm-test-ulps: Update.
6436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6437
2c3520d9
BO
64382014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6439
6440 [BZ #15119]
6441 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6442
acaa4d24
RM
64432014-06-09 Roland McGrath <roland@hack.frob.com>
6444
6445 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6446 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6447
962b744d
RM
64482014-06-09 Roland McGrath <roland@hack.frob.com>
6449
d752f0cc
RM
6450 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6451 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6452
34eda6d1
RM
6453 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6454 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6455
50f0a637
RM
6456 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6457 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6458
08f41f04
RM
6459 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6460 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6461
962b744d
RM
6462 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6463 if not already defined.
6464 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6465 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6466 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6467 (TLS_INIT_TP): Use it.
6468 (TLS_DEFINE_INIT_TP): New macro.
6469 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6470
09f19b05
JM
64712014-06-09 Joseph Myers <joseph@codesourcery.com>
6472
6473 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6474 constant.
6475 [POSIX] (IXANY): Likewise.
6476 [POSIX] (OLCUC): Likewise.
6477 [POSIX || POSIX2008] (CBAUD): Do not allow.
6478 [POSIX || POSIX2008] (DEFECHO): Likewise.
6479 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6480 [POSIX || POSIX2008] (ECHOKE): Likewise.
6481 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6482 [POSIX || POSIX2008] (EXTA): Likewise.
6483 [POSIX || POSIX2008] (EXTB): Likewise.
6484 [POSIX || POSIX2008] (FLUSHO): Likewise.
6485 [POSIX || POSIX2008] (LOBLK): Likewise.
6486 [POSIX || POSIX2008] (PENDIN): Likewise.
6487 [POSIX || POSIX2008] (SWTCH): Likewise.
6488 [POSIX || POSIX2008] (VDISCARD): Likewise.
6489 [POSIX || POSIX2008] (VDSUSP): Likewise.
6490 [POSIX || POSIX2008] (VLNEXT): Likewise.
6491 [POSIX || POSIX2008] (VREPRINT): Likewise.
6492 [POSIX || POSIX2008] (VSTATUS): Likewise.
6493 [POSIX || POSIX2008] (VWERASE): Likewise.
6494 (B*): Change to B[0123456789]*.
6495 * conform/data/time.h-data [POSIX || UNIX98]
6496 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6497 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6498 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6499 [POSIX] (tm_*): Do not allow.
6500
686554bf
JM
65012014-06-07 Joseph Myers <joseph@codesourcery.com>
6502
6503 * Makefile (install): Don't set LANGUAGE.
6504 * Makefile.in (install): Likewise.
6505 * assert/Makefile (test-assert-ENV): Remove variable.
6506 (test-assert-perr-ENV): Likewise.
6507 * elf/Makefile (neededtest4-ENV): Likewise.
6508 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6509 [$(cross-compiling) = no]: Don't set LANGUAGE.
6510 * io/ftwtest-sh (LANG): Remove variable.
6511 * libio/Makefile (tst-widetext-ENV): Likewise.
6512 * manual/install.texi (Running make install): Don't refer to
6513 environment settings for make install.
6514 * INSTALL: Regenerated.
6515 * nptl/tst-tls6.sh: Don't set LANG.
6516 * posix/globtest.sh (LANG): Remove variable.
6517 * string/Makefile (tester-ENV): Likewise.
6518 (inl-tester-ENV): Likewise.
6519 (noinl-tester-ENV): Likewise.
6520 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6521 [$(cross-compiling) = no]: Don't set LANGUAGE.
6522 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6523 without explicit environment settings.
6524
68e6b6b1
RM
65252014-06-06 Roland McGrath <roland@hack.frob.com>
6526
6527 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6528 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6529 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6530 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6531
4d3ae034
CM
65322014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6533
6534 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6535 other files in the crypt directory.
6536 * crypt/crypt.c: Remove duplicate includes.
6537 * crypt/crypt-entry.c: Likewise.
6538 * crypt/crypt_util.c: Likewise.
6539
8540f6d2
JM
65402014-06-06 Joseph Myers <joseph@codesourcery.com>
6541
6542 * Makeconfig (run-program-env): New variable.
6543 (run-program-prefix-before-env): Likewise.
6544 (run-program-prefix-after-env): Likewise.
6545 (run-program-prefix): Define in terms of new variables.
6546 (built-program-cmd-before-env): New variable.
6547 (built-program-cmd-after-env): Likewise.
6548 (built-program-cmd): Define in terms of new variables.
6549 (test-program-prefix-before-env): New variable.
6550 (test-program-prefix-after-env): Likewise.
6551 (test-program-prefix): Define in terms of new variables.
6552 (test-program-cmd-before-env): New variable.
6553 (test-program-cmd-after-env): Likewise.
6554 (test-program-cmd): Define in terms of new variables.
6555 * Rules (make-test-out): Use $(run-program-env).
6556 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6557 (help): Do not mention environment variables. Mention
6558 --timeoutfactor option.
6559 (timeoutfactor): New variable.
6560 (blacklist_exports): Remove function.
6561 (exports): Remove variable.
6562 (command): Do not include ${exports}.
6563 * manual/install.texi (Configuring and compiling): Do not mention
6564 test wrappers preserving environment variables. Mention that last
6565 assignment to a variable must take precedence.
6566 * INSTALL: Regenerated.
6567 * benchtests/Makefile (run-bench): Use $(run-program-env).
6568 * catgets/Makefile ($(objpfx)test1.cat): Use
6569 $(built-program-cmd-before-env), $(run-program-env) and
6570 $(built-program-cmd-after-env).
6571 ($(objpfx)test2.cat): Do not specify environment variables
6572 explicitly.
6573 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6574 $(run-program-env) and $(built-program-cmd-after-env).
6575 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6576 $(run-program-env) and $(test-program-cmd-after-env).
6577 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6578 explicitly.
6579 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6580 run_program_env and test_program_cmd_after_env arguments.
6581 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6582 * elf/tst-pathopt.sh: Use run_program_env argument.
6583 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6584 $(test-wrapper-env) and $(run-program-env).
6585 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6586 run_program_env arguments.
6587 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6588 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6589 $(test-program-prefix-before-env), $(run-program-env) and
6590 $(test-program-prefix-after-env).
6591 ($(objpfx)tst-gettext2.out): Likewise.
6592 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6593 run_program_env and test_program_prefix_after_env arguments.
6594 * intl/tst-gettext2.sh: Likewise.
6595 * intl/tst-gettext4.sh: Do not set environment variables
6596 explicitly.
6597 * intl/tst-gettext6.sh: Likewise.
6598 * intl/tst-translit.sh: Likewise.
6599 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6600 $(test-program-prefix-before-env), $(run-program-env) and
6601 $(test-program-prefix-after-env).
6602 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6603 run_program_env and test_program_prefix_after_env arguments.
6604 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6605 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6606 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6607 explicitly with each use of ${test_wrapper_env}.
6608 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6609 $(test-program-prefix-before-env), $(run-program-env) and
6610 $(test-program-prefix-after-env).
6611 * posix/tst-getconf.sh: Do not set environment variables
6612 explicitly.
6613 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6614 run_program_env and test_program_prefix_after_env arguments.
6615 * stdio-common/tst-printf.sh: Do not set environment variables
6616 explicitly.
6617 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6618 $(test-program-prefix-before-env), $(run-program-env) and
6619 $(test-program-prefix-after-env).
6620 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6621 run_program_env and test_program_prefix_after_env arguments.
6622 Split $test calls into $test_pre and $test.
6623 * timezone/Makefile (build-testdata): Use
6624 $(built-program-cmd-before-env), $(run-program-env) and
6625 $(built-program-cmd-after-env).
6626
ed36bfa1
AZ
66272014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6628
6629 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6630 strlen for non SHARED builds.
6631
fc75bf46
SP
66322014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6633
6634 * nptl/allocatestack.c (check_list): Inlined function...
6635 (__reclaim_stacks): ... here.
6636
d89b3d80
OB
66372014-06-05 Ondřej Bílka <neleai@seznam.cz>
6638
6639 [BZ #15698]
6640 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6641 memory overrun.
6642
2bf18041
JM
66432014-06-05 Joseph Myers <joseph@codesourcery.com>
6644
6645 * Rules (make-test-out): Include
6646 LOCPATH=$(common-objpfx)localedata in default environment.
6647 * debug/Makefile (tst-chk1-ENV): Remove variable.
6648 (tst-chk2-ENV): Likewise.
6649 (tst-chk3-ENV): Likewise.
6650 (tst-chk4-ENV): Likewise.
6651 (tst-chk5-ENV): Likewise.
6652 (tst-chk6-ENV): Likewise.
6653 (tst-lfschk1-ENV): Likewise.
6654 (tst-lfschk2-ENV): Likewise.
6655 (tst-lfschk3-ENV): Likewise.
6656 (tst-lfschk4-ENV): Likewise.
6657 (tst-lfschk5-ENV): Likewise.
6658 (tst-lfschk6-ENV): Likewise.
6659 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6660 (tst-iconv7-ENV): Likewise.
6661 * intl/Makefile (LOCPATH-ENV): Likewise.
6662 (tst-codeset-ENV): Likewise.
6663 (tst-gettext3-ENV): Likewise.
6664 (tst-gettext5-ENV): Likewise.
6665 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6666 (tst-fopenloc-ENV): Likewise.
6667 (tst-fgetws-ENV): Remove variable.
6668 (tst-ungetwc1-ENV): Likewise.
6669 (tst-ungetwc2-ENV): Likewise.
6670 (bug-ungetwc2-ENV): Likewise.
6671 (tst-swscanf-ENV): Likewise.
6672 (bug-ftell-ENV): Likewise.
6673 (tst-fgetwc-ENV): Likewise.
6674 (tst-fseek-ENV): Likewise.
6675 (tst-ftell-partial-wide-ENV): Likewise.
6676 (tst-ftell-active-handler-ENV): Likewise.
6677 (tst-ftell-append-ENV): Likewise.
6678 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6679 (tst-regexloc-ENV): Likewise.
6680 (bug-regex1-ENV): Likewise.
6681 (tst-regex-ENV): Likewise.
6682 (tst-regex2-ENV): Likewise.
6683 (bug-regex5-ENV): Likewise.
6684 (bug-regex6-ENV): Likewise.
6685 (bug-regex17-ENV): Likewise.
6686 (bug-regex18-ENV): Likewise.
6687 (bug-regex19-ENV): Likewise.
6688 (bug-regex20-ENV): Likewise.
6689 (bug-regex22-ENV): Likewise.
6690 (bug-regex23-ENV): Likewise.
6691 (bug-regex25-ENV): Likewise.
6692 (bug-regex26-ENV): Likewise.
6693 (bug-regex30-ENV): Likewise.
6694 (bug-regex32-ENV): Likewise.
6695 (bug-regex33-ENV): Likewise.
6696 (bug-regex34-ENV): Likewise.
6697 (bug-regex35-ENV): Likewise.
6698 (tst-rxspencer-ENV): Likewise.
6699 (tst-rxspencer-no-utf8-ENV): Likewise.
6700 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6701 (tst-sscanf-ENV): Likewise.
6702 (tst-swprintf-ENV): Likewise.
6703 (tst-swscanf-ENV): Likewise.
6704 (test-vfprintf-ENV): Likewise.
6705 (scanf13-ENV): Likewise.
6706 (bug14-ENV): Likewise.
6707 (tst-grouping-ENV): Likewise.
6708 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6709 (tst-strtod3-ENV): Likewise.
6710 (tst-strtod4-ENV): Likewise.
6711 (tst-strtod5-ENV): Likewise.
6712 (testmb2-ENV): Likewise./
6713 * string/Makefile (tst-strxfrm-ENV): Likewise.
6714 (tst-strxfrm2-ENV): Likewise.
6715 (bug-strcoll1-ENV): Likewise.
6716 (test-strcasecmp-ENV): Likewise.
6717 (test-strncasecmp-ENV): Likewise.
6718 * time/Makefile (tst-strptime-ENV): Likewise.
6719 (tst-ftime_l-ENV): Likewise.
6720 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6721 (tst-mbrtowc-ENV): Likewise.
6722 (tst-wcrtomb-ENV): Likewise.
6723 (tst-mbrtowc2-ENV): Likewise.
6724 (tst-c16c32-1-ENV): Likewise.
6725 (tst-mbsnrtowcs-ENV): Likewise.
6726
cd1fb604
OB
67272014-06-05 Ondřej Bílka <neleai@seznam.cz>
6728
6729 * manual/resource.texi (How to get information about the memory
6730 subsystem?): Fix typo.
6731 Reported by Peon de la Parra Ivan <peon@keba.com>
6732
b42eca7d
GY
67332014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6734
6735 [BZ #16882]
6736 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6737 (pthread_spin_lock): Branch out of spin loop to proper location.
6738 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6739 (pthread_spin_lock): Likewise.
6740
902b71f9
DM
6741 * nptl/tst-spin4.c: New test.
6742 * nptl/Makefile (tests): Add tst-spin4.
6743
f9d2d032
AS
67442014-06-03 Andreas Schwab <schwab@suse.de>
6745
6746 [BZ #15946]
6747 * resolv/res_send.c (send_dg): Reload file descriptor after
6748 calling reopen.
6749
cf7bfd28
SL
67502014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6751
6752 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6753
111cc714
RH
67542014-06-03 Richard Henderson <rth@redhat.com>
6755
89b4bd6b
RH
6756 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6757 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6758 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6759 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6760 in the SAVE_PID block.
6761 (__libc_vfork): New alias.
71840409 6762 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6763
111cc714
RH
6764 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6765 child in registers, not on the stack. Remove RESET_PID conditionals.
6766 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6767
ccc39911
MS
67682014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6769
6770 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6771
693096cc
W
67722014-06-03 Wilco <wdijkstr@arm.com>
6773
6774 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6775 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6776 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6777 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6778 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6779 Likewise.
6780
0b4366bc
W
67812014-06-03 Wilco <wdijkstr@arm.com>
6782
6783 * sysdeps/aarch64/fpu/math_private.h
6784 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6785 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6786 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6787 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6788 Fix declarations.
6789
8747cd03
KS
67902014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6791
6792 * crypt/crypt-private.h: Include ufc-crypt.h.
6793 (__b64_from_24bit): Declare extern.
6794 * crypt/crypt_util.c(__b64_from_24bit): New function.
6795 (b64t): New static const variable.
6796 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6797 (b64t): Remove variable.
6798 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6799 * crypt/sha256-crypt.c: Include crypt-private.h.
6800 (b64t): Remove variable.
6801 (__sha256_crypt_r): Remove b64_from_24bit and replace
6802 with __b64_from_24bit.
6803 * crypt/sha512-crypt.c: Likewise.
6804
d936d379
RM
68052014-06-02 Roland McGrath <roland@hack.frob.com>
6806
6807 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6808 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6809 Label the code __libc_vfork rather than __vfork.
6810 [!NOT_IN_libc] (vfork): Define as weak alias.
6811 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6812 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6813 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6814
9fa76613
SP
68152014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6816
6817 * malloc/malloc.c (malloc_info): Fix format specifier for
6818 n_mmaps.
6819
a88dadbe
W
68202014-06-02 Wilco <wdijkstr@arm.com>
6821
6822 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6823 FPCR write.
6824
c95b3011
W
68252014-06-02 Wilco <wdijkstr@arm.com>
6826
6827 [BZ #17009]
6828 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6829 Rewrite to reduce FPCR/FPSR accesses.
6830
6b4d7a90
DM
68312014-06-01 David S. Miller <davem@davemloft.net>
6832
6833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6834
30f3d07c
DM
68352014-05-31 David S. Miller <davem@davemloft.net>
6836
6837 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6838 to occur in round to nearest mode when |x| >= 2.0
6839
74f31c18
RH
68402014-05-30 Richard Henderson <rth@twiddle.net>
6841
f0712b54
RH
6842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6843 (PSEUDO_RET_NOERRNO): Remove.
6844 (ret): Don't redefine.
6845 (ret_NOERRNO): Define in terms of ret.
6846 (ret_ERRVAL): Likewise.
6847
74f31c18
RH
6848 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6849 use of PSEUDO_RET; perform the error check directly.
6850
30477995
MM
68512014-05-30 Marko Myllynen <myllynen@redhat.com>
6852
6853 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6854 with __int128_t.
6855
62a58816
SP
68562014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6857
6858 * malloc/malloc (malloc_info): Fix formatting.
6859
4d653a59
SP
68602014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6861 Roland McGrath <roland@hack.frob.com>
6862
6863 * malloc/malloc (malloc_info): Also print mmapped statistics.
6864
5190c17f
RM
68652014-05-30 Roland McGrath <roland@hack.frob.com>
6866
6867 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6868 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6869
987c0269
OB
68702014-05-30 Ondřej Bílka <neleai@seznam.cz>
6871
6872 * malloc/malloc.c (malloc_info): Inline mi_arena.
6873
af4e8ef9
RH
68742014-05-29 Richard Henderson <rth@twiddle.net>
6875
1670e207
RH
6876 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6877 Remove comma before expanding ASM_ARGS_##nr.
6878 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6879 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6880 of ASM_ARGS_##nr.
6881 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6882 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6883 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6884 (ASM_ARGS_1): Add leading comma.
6885
11a28aee
RH
6886 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6887 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6888 to __errno_location.
6889 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6890 Remove the expected plt for __errno_location.
6891
a17e5ffb 6892 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6893 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6894 call to __read_tp.
6895
b5be4597
RH
6896 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6897 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6898 it and break it down.
6899 (DOCARGS_0, DOCARGS_1): Do nothing.
6900 (DOCARGS_2): Update to store into the new stack frame.
6901 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6902 (UNDOCARGS_1): Update to restore from the new stack frame.
6903 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6904 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6905
645d44ab
RH
6906 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6907 (SINGLE_THREAD_P): New parameter for result regno.
6908 (PSEUDO): Update to match; use cbz instead of beq.
6909
a8b4f04a
RH
6910 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6911 Use ENTRY to define the _nocancel entry point. Share the syscall
6912 and syscall error check paths with the cancel path.
6913 (PSEUDO_END): New.
6914
af4e8ef9
RH
6915 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6916 whitespace; tabs before and after asm mnemonics.
6917
26b0d2e1
EW
69182014-05-29 Eric Wong <normalperson@yhbt.net>
6919
6920 [BZ #15132]
6921 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6922 Call fstat64 or stat64 internally, depending on arguments passed.
6923 Replace stat buffer argument with file descriptor argument.
6924 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6925 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6926 Pass fd to __internal_statvfs instead of calling fstat64.
6927 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6928 Pass fd to __internal_statvfs64 instead of calling fstat64.
6929 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6930 Pass -1 to __internal_statvfs instead of calling stat64.
6931 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6932 Pass -1 to __internal_statvfs64 instead of calling stat64.
6933
1efe2bd9
RM
69342014-05-28 Roland McGrath <roland@hack.frob.com>
6935
0d3b7a19
RM
6936 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6937 that was previously under [RESET_PID].
6938 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6939
1efe2bd9
RM
6940 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6941 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6942
a6bea3ca
RM
69432014-05-27 Roland McGrath <roland@hack.frob.com>
6944
30b6629e
RM
6945 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6946
a6bea3ca
RM
6947 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6948 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6949
3dfb9a5c
OB
69502014-05-27 Ondřej Bílka <neleai@seznam.cz>
6951
6952 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6953
774f9285
AS
69542014-05-27 Andreas Schwab <schwab@suse.de>
6955
6956 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6957 TLS_INIT_TP macro.
6958 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6959 * elf/rtld.c (init_tls, dl_main): Likewise.
6960 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6961 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6962 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6963 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6964 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6965 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6966 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6967 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6968 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6969 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6970 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6971 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6972 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6973 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6974 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6975 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6976 * sysdeps/generic/tls.h: Update description.
6977
36ffe739
WN
69782014-05-27 Will Newton <will.newton@linaro.org>
6979
6980 [BZ #16990]
6981 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6982 and restore r2 rather than just restoring.
6983
2482ae43
SP
69842014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6985
6986 [BZ #16724]
6987 * libio/tst-ftell-append.c: New test case.
6988 * libio/Makefile (tests): Add test case.
6989 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6990 append mode.
6991 * libio/wfileops.c (do_ftell_wide): Likewise.
6992
3d1024e8
AZ
69932014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6994
bab90016
AZ
6995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6996
c7a8d667
AZ
6997 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6998 ...
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7001 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7002 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7003 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7004 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7005 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7006 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7007 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7008 Moved ...
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7010 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7011 Moved ...
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7013 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7014 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7015 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7016 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7017 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7018 ...
7019 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7020 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7021 Moved ...
7022 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7023 here.
7024 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7025 ...
7026 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7027 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7028 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7029
daee7851
AZ
7030 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7031 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7032 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7033 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7034
50a40819
AZ
7035 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7036 merge into ...
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7038 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7039 ...
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7041 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7042 ...
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7045 Moved ...
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7047 here.
7048 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7049 Moved ...
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7051 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7052 Moved ...
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7054
8464c2a1
AZ
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7056 conditional [RESET_PID].
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7059 removed.
7060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7061 removed.
7062
3d1024e8
AZ
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7064 <tcb-offsets.h>.
7065 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7066 (__libc_vfork): New strong alias.
7067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7068 removed.
7069 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7070 Removed.
7071
7072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7073 <tcb-offsets.h>.
7074 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7075 (__libc_vfork): New strong alias.
7076 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7077 removed.
7078 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7079 removed.
7080
fdfd175d
CD
70812014-05-26 Carlos O'Donell <carlos@redhat.com>
7082
7083 * malloc/malloc.c (mi_arena): New function.
7084 (malloc_info): Remove nested function mi_arena. Call non-nosted
7085 function mi_arena.
7086
d298c416
AZ
70872014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088
7089 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7090 by insrwi.
7091 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7092 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7093 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7094 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7096 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7098
b60ea6ff
AS
70992014-05-26 Andreas Schwab <schwab@suse.de>
7100
7101 [BZ #16984]
7102 * locale/programs/repertoire.c (repertoire_read): Add slash
7103 between I18NPATH element and file name.
7104 * locale/programs/locfile.c (locfile_read): Likewise.
7105
67365926
SL
71062014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7107
7108 * nptl/pthread_mutexattr_settype.c
7109 (__pthread_mutexattr_settype):
7110 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7111
f8bdf1f0
SL
71122014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7113
7114 * nptl/tst-mutex5 (do_test):
7115 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7116
15eaf6ff
SP
71172014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7118
7119 * benchtests/README: Document 'init' directive.
7120 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7121 BENCH_INIT.
7122 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7123 (parse_file): Recognize 'init' directive.
7124
75f11331
KM
71252014-05-26 Kyle McMartin <kyle@redhat.com>
7126
7127 [BZ #16796]
7128 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7129 alignment of struct pthread.
7130
c3ec475c
SP
71312014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7132
7133 [BZ #16878]
7134 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7135 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7136 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7137 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7138
82aab97c
RH
71392014-05-25 Richard Henderson <rth@twiddle.net>
7140
aa2f176d
RH
7141 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7142 (SINGLE_THREAD_P_PIC): Remove.
7143 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7144 (SINGLE_THREAD_P_PIC): Remove.
7145
ca3cfa40
RH
7146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7147 branch to syscall error ...
7148 (PSEUDO): ... here.
7149 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7150 from __local_syscall_error to .Lsyscall_error.
7151 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7152 (SYSCALL_ERROR): Update label name.
7153
6e6c2d01
RH
7154 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7155 Do not use DOARGS/UNDOARGS.
7156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7157 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7158 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7159 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7160 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7161
c69abcee
RH
7162 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7163 block comment.
7164
82aab97c
RH
7165 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7166 define if !NOT_IN_libc.
7167 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7168 define with non-default symbol versions.
7169
8820e3ac
RH
71702014-05-23 Richard Henderson <rth@twiddle.net>
7171
900e445f
RH
7172 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7173 (vfork, __vfork): Define via compat_symbol.
7174
8820e3ac
RH
7175 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7176 [!HAVE_IFUNC] (vfork_compat): Remove.
7177 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7178
e59252a5
JM
71792014-05-23 Joseph Myers <joseph@codesourcery.com>
7180
7181 [BZ #16978]
7182 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7183 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7184 variable.
7185
132c7f5f
RH
71862014-05-23 Richard Henderson <rth@twiddle.net>
7187
bc89e962
RH
7188 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7189 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7190 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7191 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7192
7193 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7194 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7195 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7196 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7197 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7198 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7199 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7200 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7201 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7202 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7203 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7204 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7205 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7206 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7207 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7208 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7209 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7210 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7211 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7212 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7213 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7214 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7215 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7216 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7217 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7218 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7219 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7220 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7221 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7222 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7223 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7224 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7225 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7226 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7227 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7228 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7229 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7230 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7231 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7232 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7233 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7234 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7235 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7236 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7237 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7238 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7239 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7240 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7241 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7242 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7244 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7245 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7246 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7247 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7248 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7249
e2fa4bc2
RH
7250 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7251 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7252 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7253 before exiting on error.
7254 (__libc_vfork): New strong alias.
7255 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7256 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7257
279b24e2
RH
7258 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7259 that was previously under [RESET_PID].
7260 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7261
132c7f5f
RH
7262 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7263
b72592e7
JM
72642014-05-23 Joseph Myers <joseph@codesourcery.com>
7265
7266 [BZ #16977]
7267 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7268 value when x - 1 is zero.
7269 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7270 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7271 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7272 0.0L for an argument of 1.0L.
7273 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7274 Likewise.
7275 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7276 value when x - 1 is zero.
7277 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7278 * sysdeps/i386/fpu/libm-test-ulps: Update.
7279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7280
2302d679
RV
72812014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7282
7283 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7284 alphasort and versionsort.
7285
32999d63
AZ
72862014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7287
7288 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7289 macro.
7290 [copysignf]: Likewise.
7291
019324d0
SP
72922014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7293
7294 * crypt/md5-crypt.c: Fix formatting.
7295
34fff5c2
KS
72962014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7297
7298 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7299 (b64_from_24bit): New function.
7300
3d2badac
AZ
73012014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7302
7303 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7304 libc_hidden_builtin_def to ifunc.
7305 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7306 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7307
f7bb179f 73082014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7309
7310 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7311 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7312
4134b50d
JM
73132014-05-21 Joseph Myers <joseph@codesourcery.com>
7314
bb7d0337
JM
7315 * nscd/Depend (linuxthreads): Remove.
7316 (nptl): Add.
7317 * resolv/Depend (linuxthreads): Remove.
7318 * rt/Depend (linuxthreads): Remove.
7319
4134b50d
JM
7320 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7321 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7322 $(common-objpfx)elf/.
7323 (link-libc-before-gnulib): Likewise.
7324 (elfobjdir): Remove variable.
7325 * Makefile (install): Use $(elf-objpfx) instead of
7326 $(common-objpfx)elf/.
7327 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7328 $(elfobjdir)/.
7329 (link-libc-deps): Likewise.
7330 ($(common-objpfx)libc.so): Likewise.
7331 ($(common-objpfx)linkobj/libc.so): Likewise.
7332 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7333 instead of $(common-objpfx)elf/.
7334 (symbolic-link-list): Likewise.
7335 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7336 [$(cross-compiling) = no]: Likewise.
7337 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7338 $(elfobjdir)/.
7339 (static-gnulib-arch): Likewise.
7340 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7341 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7342 $(common-objpfx)elf/.
7343
3612eb8f
RH
73442014-05-21 Richard Henderson <rth@redhat.com>
7345
a6b3657b
RH
7346 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7347 (SINGLE_THREAD_P): Use the correct width load. Fold
7348 into the ldr offset.
7349
3612eb8f
RH
7350 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7351 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7352
175cef41
JM
73532014-05-20 Joseph Myers <joseph@codesourcery.com>
7354
7355 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7356 (libgcc_s_resume): Use __attribute_used__.
7357 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7358 Likewise.
7359
e13bccd3
AZ
73602014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7361
7362 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7363 optimization when used with float constants.
7364
7c112a38
AZ
7365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7366
ae75a883
AJ
73672014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7368
7369 [BZ #16915]
7370 * locale/nl_langinfo_l.c: Make direct reference to every
7371 _nl_current_CATEGORY symbol.
7372 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7373 (tests-static): Add tst-langinfo-static.
7374 (tests-special): Add tst-langinfo-static.out.
7375 ($(objpfx)tst-langinfo.out): Redirect output.
7376 ($(objpfx)tst-langinfo-static.out): New.
7377 * localedata/tst-langinfo.sh: Send output to stdout.
7378 * localedata/tst-langinfo-static.c: New file.
7379
4406c41c
AJ
7380 [BZ #16965]
7381 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7382 when the shift amount is modulo the limb size.
7383
4c0a1e63
RH
73842014-05-20 Richard Henderson <rth@redhat.com>
7385
de9d8f20
RH
7386 [BZ #16967]
7387 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7388 Change type of sa_flags from unsigned int to int.
7389
4c0a1e63
RH
7390 [BZ #16966]
7391 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7392
7393 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7394
a60339aa
WN
73952014-05-20 Will Newton <will.newton@linaro.org>
7396
7397 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7398 Test the return value of the system call in the nocancel case.
7399
7d05a816
YR
74002014-05-20 Will Newton <will.newton@linaro.org>
7401 Yvan Roux <yvan.roux@linaro.org>
7402
7403 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7404 #include of asm/ptrace.h.
7405 (PTRACE_GET_THREAD_AREA): Remove #undef.
7406 (PTRACE_GETHBPREGS): Likewise.
7407 (PTRACE_SETHBPREGS): Likewise.
7408 (struct user_regs_struct): New structure.
7409 (struct user_fpsimd_struct): New structure.
7410 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7411 #include of asm/ptrace.h and second #include of sys/user.h.
7412 (PTRACE_GET_THREAD_AREA): Remove #undef.
7413 (PTRACE_GETHBPREGS): Likewise.
7414 (PTRACE_SETHBPREGS): Likewise.
7415 (ELF_NGREG): Use new struct user_regs_struct.
7416 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7417
af121e37
AZ
74182014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7419
7420 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7421 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7422
834caf06
JM
74232014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7424
7425 [BZ #16958]
7426 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7427 membar to avoid block loads/stores to overlap previous stores.
7428
e184a918
RH
74292014-05-17 Richard Henderson <rth@redhat.com>
7430
7431 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7432 Create the __##syscall_name##_nocancel entry point.
7433 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7434 Remove; let the sysdep-cancel.h code create it.
7435
f56c7a6a
DM
74362014-05-17 David S. Miller <davem@davemloft.net>
7437
7438 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7439 Protect with __USE_GNU.
7440 (TIOCSET_TEMPT): Likewise.
7441 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7442 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7443 these are already provided in bits/ioctl-types.h
7444
f75616b2
RM
74452014-05-16 Roland McGrath <roland@hack.frob.com>
7446
3edeca86
RM
7447 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7448 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7449
f75616b2
RM
7450 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7451 Use wait4 regardless of [__NR_waitpid].
7452
deb0f7f6
MR
74532014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7454
7455 PR libgcc/60166
7456 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7457 (_FP_NANSIGN_Q): Set the quiet bit.
7458
79520f4b
JM
74592014-05-16 Joseph Myers <joseph@codesourcery.com>
7460
7461 * benchtests/Makefile
7462 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7463 not $(common-objpfx)math/libm.so.
7464 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7465 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7466 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7467 $(common-objpfx)dlfcn/libdl.so.
7468 ($(objpfx)tst-audit8): Depend on $(libm), not
7469 $(common-objpfx)math/libm.so.
7470 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7471 not $(common-objpfx)dlfcn/libdl.so.
7472 * math/Makefile
7473 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7474 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7475 [$(build-shared) = yes].
7476 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7477 $(common-objpfx)nptl/libpthread.so.
7478 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7479 $(common-objpfx)math/libm.so$(libm.so-version) or
7480 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7481 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7482 $(common-objpfx)dlfcn/libdl.so.
7483 * setjmp/Makefile (link-libm): Remove variable.
7484 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7485 * stdio-common/Makefile (link-libm): Remove variable.
7486 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7487 * stdlib/Makefile (link-libm): Remove variable.
7488 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7489 ($(objpfx)tst-strtod-round): Likewise.
7490 ($(objpfx)tst-tininess): Likewise.
7491 ($(objpfx)tst-strtod-underflow): Likewise.
7492 ($(objpfx)tst-strtod6): Likewise.
7493 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7494 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7495 $(common-objpfx)dlfcn/libdl.so.
7496
026b0fe4
AZ
74972014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7498
7499 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7500 BSD terminal modes definitions.
7501
def4bcb2
RM
75022014-05-16 Roland McGrath <roland@hack.frob.com>
7503
fe39b021
RM
7504 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7505 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7506
1d1fc46e 7507 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7508 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7509 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7510 Don't do #include_next.
7511 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7512 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7513 Don't do #include_next.
7514 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7515 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7516 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7517 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7518
c72399fb
AM
75192014-05-16 Allan McRae <allan@archlinux.org>
7520
d51d659d
AM
7521 * po/sv.po: Update Swedish translation from translation project.
7522
c72399fb
AM
7523 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7524 in sed expression.
7525
d0583c40
AJ
75262014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7527
7528 [BZ #16917]
7529 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7530 errno if the TIOCGPTN ioctl fails with an error different than
7531 EINVAL.
7532 * login/tst-ptsname.c: New file.
7533 * login/Makefile (tests): Add tst-ptsname.
7534
d16e6ec7
AJ
7535 [BZ #16943]
7536 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7537 and prlimit64.
7538
cf26a0cb
SP
75392014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7540
7541 [BZ #16849]
7542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7543 herrno to return EAI_AGAIN.
7544
5675da1e
RM
75452014-05-14 Roland McGrath <roland@hack.frob.com>
7546
a5d87b3d
RM
7547 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7548 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7549 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7550 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7551 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7552 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7553 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7554 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7555 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7556 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7557 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7558 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7559 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7560 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7561 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7562 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7563 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7564 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7565 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7566 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7567 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7568 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7569 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7570 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7571 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7572 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7573 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7574 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7575 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7576 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7578 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7580 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7582 Moved ...
7583 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7585 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7587 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7589 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7591 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7593 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7595 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7597 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7599 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7601 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7603 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7605 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7607 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7609 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7611 Moved ...
7612 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7614 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7616 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7618 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7620 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7622 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7624 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7626 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7628 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7630 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7632 Moved ...
7633 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7635 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7636
039890a6
RM
7637 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7638 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7639 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7640 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7641 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7642 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7643 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7644 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7645 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7647 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7649 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7650 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7651 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7652 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7653 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7654 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7655 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7656 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7657 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7658 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7659 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7661 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7662 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7663 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7664 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7665 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7666 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7667 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7668
65c89320
RM
7669 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7670 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7671
348f8e8c
RM
7672 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7673 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7674 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7675 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7676 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7677 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7678 Moved ...
7679 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7680 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7681 Moved ...
7682 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7683 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7684 Moved ...
7685 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7686 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7687 Moved ...
7688 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7689 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7690 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7691 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7692 Moved ...
7693 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7694 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7695 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7696 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7697 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7698 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7699 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7700 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7701 Moved ...
7702 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7703 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7704 Moved ...
7705 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7706 ... here.
7707 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7708 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7709 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7710 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7711 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7712 Moved ...
7713 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7714 ... here.
7715 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7716 Moved ...
7717 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7718 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7719 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7720 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7721 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7722 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7723 Moved ...
7724 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7725 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7726 Moved ...
7727 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7728 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7729 Moved ...
7730 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7731 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7732 Moved ...
7733 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7734 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7735 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7736 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7737 Moved ...
7738 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7739 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7740 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7741 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7742 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7743 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7744 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7745 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7746 Moved ...
7747 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7748 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7749 Moved ...
7750 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7751 ... here.
7752 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7753 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7754 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7755 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7756 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7757 Moved ...
7758 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7759 ... here.
7760 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7761 Moved ...
7762 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7763 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7764 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7765 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7766 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7767 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7768 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7769 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7770 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7771 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7772 Moved ...
7773 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7774 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7775 Moved ...
7776 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7777 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7778 Moved ...
7779 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7780 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7781 Moved ...
7782 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7783 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7784 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7785 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7786 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7787 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7788 Moved ...
7789 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7790 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7791 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7792 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7793 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7794 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7795 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7796 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7797 Moved ...
7798 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7799 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7800 Moved ...
7801 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7802 ... here.
7803 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7804 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7805 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7806 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7807 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7808 Moved ...
7809 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7810 ... here.
7811 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7812 Moved ...
7813 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7814 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7815 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7816 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7817 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7818 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7819 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7820 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7821 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7822 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7823 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7824
5085af05
RM
7825 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7826 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7827
708f0813
RM
7828 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7829 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7830
c96067bc
RM
7831 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7832 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7833 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7834 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7835 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7836 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7837 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7838 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7839 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7840 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7841 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7842 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7843 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7844 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7845 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7846 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7847 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7848 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7849 Moved ...
7850 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7851 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7852 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7853 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7854 Moved ...
7855 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7856 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7857 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7858 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7859 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7860 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7861 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7862 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7863 Moved ...
7864 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7865 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7866 Moved ...
7867 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7869 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7870 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7871 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7872 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7873 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7874 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7875 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7876 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7877 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7878 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7879 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7880 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7881 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7882 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7883 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7884
ec136444
RM
7885 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7886 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7887 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7888 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7889 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7890
2fbdf533
RM
7891 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7892 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7893 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7894 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7895 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7896 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7897 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7898 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7899 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7900 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7901
4c68138b
RM
7902 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7904
4eaae765
RM
7905 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7906 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7907 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7908 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7909 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7910 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7911 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7912 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7913 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7914 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7915 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7916 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7917 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7918 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7920 Update #include.
7921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7922 Likewise.
7923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7924 Likewise.
7925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7926 Likewise.
7927 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7928 Likewise.
7929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7930 Likewise.
7931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7932 Likewise.
7933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7934 Likewise.
7935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7936 Likewise.
7937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7938 Likewise.
4ef6befa
RM
7939 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7940 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7941 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7942 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7943 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7944 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7945 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7946 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7947 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7948 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7949 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7950 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7951 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7952 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7953 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7954
941d7dfd
RM
7955 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7956 that was previously under [RESET_PID].
7957 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7958 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7959 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7960
1b731c35
RM
7961 * sysdeps/i386/nptl/Implies: New file.
7962 * sysdeps/x86_64/nptl/Implies: New file.
7963 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7964 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7965 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7966 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7967
e2787137
RM
7968 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7969 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7970 (__libc_vfork): New strong alias.
7971 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7972 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7973
7974 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7975 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7976 (__libc_vfork): New strong alias.
7977 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7978 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7979
5675da1e
RM
7980 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7981 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7982 (__libc_vfork): New strong alias.
7983 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7984 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7985 * nptl/pt-vfork.c: New file.
7986 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7987 (libpthread: GLIBC_2.20): New version set (empty).
7988
4f02e2b8
WN
79892014-05-14 Will Newton <will.newton@linaro.org>
7990
7991 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7992 rather than #if.
7993
0bf061d3
JM
79942014-05-14 Joseph Myers <joseph@codesourcery.com>
7995
1a84c3d6
JM
7996 [BZ #16564]
7997 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7998 arguments with exponent 65 or above.
7999 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8000 arguments 0x1p113L or above.
8001 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8002 to arguments 0x1p107L or above.
8003 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8004 positive arguments with exponent 65 or above.
8005 * math/auto-libm-test-in: Add more tests of log1p.
8006 * math/auto-libm-test-out: Regenerated.
8007
01dbacd2
JM
8008 [BZ #16928]
8009 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8010 non-finite arguments is +0.
8011 * math/s_cacosf.c (__cacosf): Likewise.
8012 * math/s_cacosl.c (__cacosl): Likewise.
8013 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8014 * sysdeps/i386/fpu/libm-test-ulps: Update.
8015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8016
913d03c8
JM
8017 [BZ #16927]
8018 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8019 value.
8020 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8021 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8022 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8023 for explicit high bit of mantissa when testing for argument equal
8024 to 1.
8025 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8026 * sysdeps/i386/fpu/libm-test-ulps: Update.
8027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8028
0bf061d3
JM
8029 [BZ #16516]
8030 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8031 (__erf): Scale by 16 instead of 8 in potentially underflowing
8032 case. Ensure exception if result actually underflows.
8033 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8034 (__erff): Scale by 16 instead of 8 in potentially underflowing
8035 case. Ensure exception if result actually underflows.
8036 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8037 (efx8): Remove variable.
8038 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8039 case. Ensure exception if result actually underflows.
8040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8041 (efx8): Remove variable.
8042 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8043 case. Ensure exception if result actually underflows.
8044 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8045 (efx8): Remove variable.
8046 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8047 case. Ensure exception if result actually underflows.
8048 * math/auto-libm-test-in: Add more tests of erf.
8049 * math/auto-libm-test-out: Regenerated.
8050
73ba67cb
AS
80512014-05-14 Andreas Schwab <schwab@suse.de>
8052
3d8c8bff
AS
8053 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8054 Remove code conditionalized on USE___THREAD.
8055
73ba67cb
AS
8056 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8057 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8058 not definedness.
8059
5c521ecd
JM
80602014-05-14 Joseph Myers <joseph@codesourcery.com>
8061
5e7698c6
JM
8062 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8063 Define unconditionally.
8064 (__ASSUME_O_CLOEXEC): Likewise.
8065 (__ASSUME_SOCK_CLOEXEC): Likewise.
8066 (__ASSUME_IN_NONBLOCK): Likewise.
8067 (__ASSUME_PIPE2): Likewise.
8068 (__ASSUME_EVENTFD2): Likewise.
8069 (__ASSUME_SIGNALFD4): Likewise.
8070 (__ASSUME_DUP3): Likewise.
8071 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8072 (__ASSUME_DUP3): Do not define.
8073 (__ASSUME_EVENTFD2): Likewise.
8074 (__ASSUME_IN_NONBLOCK): Likewise.
8075 (__ASSUME_O_CLOEXEC): Likewise.
8076 (__ASSUME_PIPE2): Likewise.
8077 (__ASSUME_SIGNALFD4): Likewise.
8078 (__ASSUME_SOCK_CLOEXEC): Likewise.
8079 (__ASSUME_UTIMES): Undefine.
8080 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8081 (__ASSUME_UTIMES): Do not define.
8082 (__ASSUME_O_CLOEXEC): Likewise.
8083 (__ASSUME_SOCK_CLOEXEC): Likewise.
8084 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8085 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8086 0x020621].
8087 (__ASSUME_PIPE2): Likewise.
8088 (__ASSUME_EVENTFD2): Likewise.
8089 (__ASSUME_SIGNALFD4): Likewise.
8090 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8091 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8092 Do not define.
8093 (__ASSUME_EVENTFD2): Likewise.
8094 (__ASSUME_SIGNALFD4): Likewise.
8095 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8096 (__ASSUME_32BITUIDS): Likewise.
8097 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8098 (__ASSUME_IPC64): Likewise.
8099 (__ASSUME_ST_INO_64_BIT): Likewise.
8100 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8101 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8102 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8103 (__ASSUME_UTIMES): Do not define.
8104 (__ASSUME_PSELECT): Likewise.
8105 (__ASSUME_PPOLL): Likewise.
8106 (__ASSUME_O_CLOEXEC): Likewise.
8107 (__ASSUME_SOCK_CLOEXEC): Likewise.
8108 (__ASSUME_IN_NONBLOCK): Likewise.
8109 (__ASSUME_PIPE2): Likewise.
8110 (__ASSUME_EVENTFD2): Likewise.
8111 (__ASSUME_SIGNALFD4): Likewise.
8112 (__ASSUME_DUP3): Likewise.
8113 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8114 (__ASSUME_UTIMES): Likewise.
8115 (__ASSUME_O_CLOEXEC): Likewise.
8116 (__ASSUME_SOCK_CLOEXEC): Likewise.
8117 (__ASSUME_IN_NONBLOCK): Likewise.
8118 (__ASSUME_PIPE2): Likewise.
8119 (__ASSUME_EVENTFD2): Likewise.
8120 (__ASSUME_SIGNALFD4): Likewise.
8121 (__ASSUME_DUP3): Likewise.
8122 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8123 (__ASSUME_UTIMES): Likewise.
8124 (__ASSUME_O_CLOEXEC): Likewise.
8125 (__ASSUME_SOCK_CLOEXEC): Likewise.
8126 (__ASSUME_IN_NONBLOCK): Likewise.
8127 (__ASSUME_PIPE2): Likewise.
8128 (__ASSUME_EVENTFD2): Likewise.
8129 (__ASSUME_SIGNALFD4): Likewise.
8130 (__ASSUME_DUP3): Likewise.
8131 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8132 Likewise.
8133 (__ASSUME_UTIMES): Likewise.
8134 (__ASSUME_EVENTFD2): Likewise.
8135 (__ASSUME_SIGNALFD4): Likewise.
8136 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8137 (__ASSUME_O_CLOEXEC): Likewise.
8138 (__ASSUME_SOCK_CLOEXEC): Likewise.
8139 (__ASSUME_IN_NONBLOCK): Likewise.
8140 (__ASSUME_PIPE2): Likewise.
8141 (__ASSUME_EVENTFD2): Likewise.
8142 (__ASSUME_SIGNALFD4): Likewise.
8143 (__ASSUME_DUP3): Likewise.
8144 (__ASSUME_UTIMES): Undefine.
8145
5c521ecd
JM
8146 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8147 feclearexcept. Remove symbol versioning code.
8148 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8149 symbol versioning code.
8150 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8151 symbol versioning code.
8152 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8153 feupdateenv. Remove symbol versioning code.
8154 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8155 fegetexceptflag. Remove symbol versioning code.
8156 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8157 fesetexceptflag. Remove symbol versioning code.
8158 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8159 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8160 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8161 (__posix_fadvise64_l32): Remove prototype.
8162 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8163 code.
8164
5da9dfad
RM
81652014-05-13 Roland McGrath <roland@hack.frob.com>
8166
8167 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8168 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8169 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8170 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8171
893b4f37
SK
81722014-05-13 Sami Kerola <kerolasa@iki.fi>
8173
8174 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8175 current working directory
8176
e0db6517
RM
81772014-05-13 Roland McGrath <roland@hack.frob.com>
8178
58aa195d
RM
8179 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8180 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8181 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8182 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8183 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8184 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8185 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8186 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8187 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8188 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8189 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8190 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8191 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8192 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8193 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8194 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8195 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8196 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8197 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8198 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8199 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8200 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8201 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8202 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8203 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8204 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8206 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8208 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8209 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8210 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8211 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8212 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8213 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8214 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8215 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8216 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8217 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8218 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8219 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8220 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8221
8c6d01f0
RM
8222 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8223 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8224
8225 * sysdeps/unix/sysv/linux/arm/Makefile
8226 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8227 Add rt-aeabi_unwind_cpp_pr1.
8228 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8229 Add nptl-aeabi_unwind_cpp_pr1.
8230 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8231 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8232 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8233 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8234 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8235 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8236
8237 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8238 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8239 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8240 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8241
bba6da4e
RM
8242 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8243 Deconditionalize the code that was previously under [RESET_PID].
8244 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8245
e0db6517
RM
8246 * sysdeps/generic/exit-thread.h: New file.
8247 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8248 * include/unistd.h (__exit_thread): Remove declaration.
8249 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8250 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8251 * csu/libc-start.c: Include <exit-thread.h>.
8252 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8253 * nptl/pthread_create.c: Include <exit-thread.h>.
8254 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8255 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8256 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8257 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8258 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8259 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8260 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8261 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8262 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8263 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8264 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8265 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8266 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8267 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8268 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8269 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8270 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8271
01eb16fd
AS
82722014-05-13 Andreas Schwab <schwab@suse.de>
8273
8274 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8275
637461d9
JM
82762014-05-12 Joseph Myers <joseph@codesourcery.com>
8277
8278 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8279 (__ASSUME_UTIMES): Do not condition on kernel version.
8280 (__ASSUME_PSELECT): Define unconditionally.
8281 (__ASSUME_PPOLL): Likewise.
8282 (__ASSUME_ATFCTS): Likewise.
8283 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8284 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8285 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8286 (__ASSUME_UTIMENSAT): Define unconditionally.
8287 (__ASSUME_PRIVATE_FUTEX): Likewise.
8288 (__ASSUME_FALLOCATE): Likewise.
8289 (__ASSUME_O_CLOEXEC): Likewise.
8290 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8291 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8292 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8293 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8294 (__ASSUME_IN_NONBLOCK): Likewise.
8295 (__ASSUME_PIPE2): Likewise.
8296 (__ASSUME_EVENTFD2): Likewise.
8297 (__ASSUME_SIGNALFD4): Likewise.
8298 (__ASSUME_DUP3): Likewise.
8299 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8300 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8301 (__ASSUME_AT_RANDOM): Likewise.
8302 (__ASSUME_PREADV): Likewise.
8303 (__ASSUME_PWRITEV): Likewise.
8304 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8305 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8306 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8308 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8309 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8310 (__ASSUME_O_CLOEXEC): Define unconditionally.
8311 (__ASSUME_PSELECT): Do not undefine conditionally.
8312 (__ASSUME_PPOLL): Likewise.
8313 (__ASSUME_ATFCTS): Likewise.
8314 (__ASSUME_SET_ROBUST_LIST): Likewise.
8315 (__ASSUME_UTIMENSAT): Likewise.
8316 (__ASSUME_FDATASYNC): Define unconditionally.
8317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8318 (__ASSUME_SIGFRAME_V2): Likewise.
8319 )__ASSUME_EVENTFD2): Likewise.
8320 (__ASSUME_SIGNALFD4): Likewise.
8321 (__ASSUME_PSELECT): Do not undefine conditionally.
8322 (__ASSUME_PPOLL): Likewise.
8323 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8324 (__ASSUME_PSELECT): Define unconditionally.
8325 (__ASSUME_PPOLL): Likewise.
8326 (__ASSUME_O_CLOEXEC): Likewise.
8327 (__ASSUME_SOCK_CLOEXEC): Likewise.
8328 (__ASSUME_IN_NONBLOCK): Likewise.
8329 (__ASSUME_PIPE2): Likewise.
8330 (__ASSUME_EVENTFD2): Likewise.
8331 (__ASSUME_SIGNALFD4): Likewise.
8332 (__ASSUME_DUP3): Likewise.
8333 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8334 (__ASSUME_O_CLOEXEC): Likewise.
8335 (__ASSUME_SOCK_CLOEXEC): Likewise.
8336 (__ASSUME_IN_NONBLOCK): Likewise.
8337 (__ASSUME_PIPE2): Likewise.
8338 (__ASSUME_EVENTFD2): Likewise.
8339 (__ASSUME_SIGNALFD4): Likewise.
8340 (__ASSUME_DUP3): Likewise.
8341 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8342 (__ASSUME_EVENTFD2): Likewise.
8343 (__ASSUME_SIGNALFD4): Likewise.
8344 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8345
315eb1d8
AS
83462014-05-12 Andreas Schwab <schwab@suse.de>
8347
8348 [BZ #16932]
8349 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8350 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8351 than maximum RPC packet size.
8352 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8353 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8354 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8355 (_nss_nis_getservbyport_r): Likewise.
8356
91df99f7
WN
83572014-05-12 Will Newton <will.newton@linaro.org>
8358
8359 * malloc/Makefile (tests): Add tst-mallopt.
8360 * malloc/tst-mallopt.c: New file.
8361
0a982a29
RM
83622014-05-09 Roland McGrath <roland@hack.frob.com>
8363
8364 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8365 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8366
0ded08a5
AZ
83672014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8368
8369 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8370 (tst-tlsmod6.so): Likewise.
8371
55d4d550
RM
83722014-05-09 Roland McGrath <roland@hack.frob.com>
8373
8374 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8375
77d08aca
JM
83762014-05-09 Joseph Myers <joseph@codesourcery.com>
8377
8378 [BZ #16064]
8379 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8380 and <dl-procinfo.h>.
8381 (__fegetenv): Save SSE state in envp->__eip if supported.
8382 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8383 envp->__eip if supported.
8384 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8385 and <dl-procinfo.h>.
8386 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8387 __data_offset and __data_selector in environment to 0. Set SSE
8388 state if supported.
8389 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8390 test-fenv-sse.
8391 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8392 -mfpmath=sse.
8393 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8394
28162f4d
WN
83952014-05-09 Will Newton <will.newton@linaro.org>
8396
8397 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8398 and libc_relro_required for ARM.
8399 * sysdeps/arm/preconfigure: Regenerate.
8400
5a414ff7
DV
84012014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8402 Stefan Liebler <stli@linux.vnet.ibm.com>
8403
8404 * config.make.in (enable-lock-elision): New Makefile variable.
8405 * configure.ac: Likewise.
8406 * configure: Regenerate.
8407 * sysdeps/s390/configure.ac:
8408 Add check for gcc transactions support.
8409 * sysdeps/s390/configure: Regenerate.
8410 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8411 Build elision files if enabled.
8412 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8413 Add lock elision support for s390.
8414 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8415 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8416 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8417 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8418 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8419 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8420 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8421 Likewise.
8422 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8423 Likewise.
8424 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8425 Likewise.
8426 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8427 Likewise.
8428 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8429 (__lll_timedlock_elision, __lll_lock_elision)
8430 (__lll_unlock_elision, __lll_trylock_elision)
8431 (lll_timedlock_elision, lll_lock_elision)
8432 (lll_unlock_elision, lll_trylock_elision): Add.
8433 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8434 (pthread_mutex_t): Add lock elision support for s390.
8435
1a2f40e5
W
84362014-05-14 Wilco <wdijkstr@arm.com>
8437
8438 * sysdeps/arm/fclrexcpt.c: Cleanup.
8439 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8440 * sysdeps/arm/feenablxcpt.c: Cleanup.
8441 * sysdeps/arm/fegetenv.c: Cleanup.
8442 * sysdeps/arm/fegetexcept.c: Cleanup.
8443 * sysdeps/arm/fegetround.c: Cleanup.
8444 * sysdeps/arm/feholdexcpt.c: Cleanup.
8445 * sysdeps/arm/fesetenv.c: Cleanup.
8446 * sysdeps/arm/fesetround.c: Cleanup.
8447 * sysdeps/arm/feupdateenv.c: Cleanup.
8448 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8449 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8450 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8451 * sysdeps/arm/ftestexcept.c: Cleanup.
8452 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8453 * sysdeps/arm/setfpucw.c: Cleanup.
8454
f63c86fe
WN
84552014-05-09 Will Newton <will.newton@linaro.org>
8456
8457 * sysdeps/arm/armv7/strcmp.S: New file.
8458 * NEWS: Mention addition of ARMv7 optimized strcmp.
8459
7a1a51b5
RM
84602014-05-08 Roland McGrath <roland@hack.frob.com>
8461
95afbbe5
RM
8462 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8463 look for %.ac rather than %.in.
8464
8465 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8466 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8467 * sysdeps/mach/hurd/configure: Regenerated.
8468 * sysdeps/unix/sysv/linux/configure: Regenerated.
8469
7a1a51b5
RM
8470 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8471
5057ad3b
SE
84722014-05-07 Steve Ellcey <sellcey@mips.com>
8473
8474 [BZ# 16922]
8475 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8476 (LONG_SUB): Ditto.
8477 (PTR_SUB): Ditto.
8478
8dc97517
AS
84792014-05-07 Andreas Schwab <schwab@suse.de>
8480
8481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8482 when skipping over non-matching result from nscd.
8483
ce0c5b8f
OB
84842014-05-07 Ondřej Bílka <neleai@seznam.cz>
8485
8486 [BZ #16876]
8487 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8488
a1189263
OB
8489 [BZ #16877]
8490 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8491 nscd security class.
ce0c5b8f 8492
0f58d252
RM
84932014-05-06 Roland McGrath <roland@hack.frob.com>
8494
8495 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8496 * sysdeps/arm/unwind.h: ... here.
8497
83df9ad0
AJ
84982014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8499
ce0c5b8f
OB
8500 [BZ# 16916]
8501 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8502 Define.
83df9ad0 8503
f360f94a
VR
85042014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8505
8506 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8507 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8508 multiarch strncpy for PPC64.
8509 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8510 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8512 multiarch optimizations.
8513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8514 (__libc_ifunc_impl_list): Likewise.
8515 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8516 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8517 multiarch stpncpy for PPC64.
8518 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8519 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8520
978a41c3
AS
85212014-05-06 Andreas Schwab <schwab@suse.de>
8522
8523 [BZ #16912]
8524 * gmon/mcount.c (_MCOUNT_DECL): Use
8525 atomic_compare_and_exchange_bool_acq instead of
8526 catomic_compare_and_exchange_bool_acq.
8527
eb1ed03d
RM
85282014-05-05 Roland McGrath <roland@hack.frob.com>
8529
fe658845
RM
8530 * elf/Makefile (others, install-bin): Remove pldd.
8531 (pldd-modules): Variable removed.
8532 ($(objpfx)pldd): Target removed.
8533 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8534 (others, install-bin): Append pldd here.
8535 ($(objpfx)pldd): New target.
8536
eb1ed03d
RM
8537 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8538 to 0, so the first #if test emitted later doesn't see it undefined.
8539 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8540 * sysdeps/gnu/errlist.c: Regenerated.
8541
19c4bec0
AZ
85422014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8543
8544 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8545 [libc_hidden_builtin_def]: Define to empty value.
8546 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8547 [libc_hidden_builtin_def]: Likewise.
8548 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8549 [libc_hidden_builtin_def]: Likewise.
8550 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8551 [libc_hidden_builtin_def]: Likewise.
8552 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8553 __redirect_memcpy and define ifunc as default hidden symbol.
8554 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8555 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8556
7776e669
AC
85572014-05-04 Adam Conrad <adconrad@0c3.net>
8558
8559 * locale/iso-4217.def: Reintroduce XDR currency.
8560
d69aeb12
AM
85612014-05-04 Allan McRae <allan@archlinux.org>
8562
8563 * po/eo.po: Update Esperanto translation from translation project.
8564
8f1df5cf
CD
85652014-05-02 Carlos O'Donell <carlos@redhat.com>
8566
8567 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8568 and FEATURE_INDEX_MAX to 1.
8569 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8570
13e402e7
SE
85712014-05-01 Steve Ellcey <sellcey@mips.com>
8572
8573 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8574 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8575 * iconvdata/big5.c (ONE_DIRECTION): Define.
8576 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8577 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8578 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8579 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8580 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8581 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8582 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8583 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8584 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8585 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8586 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8587 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8588 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8589 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8590 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8591 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8592 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8593 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8594 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8595 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8596 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8597 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8598 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8599 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8600 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8601 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8602 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8603 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8604 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8605 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8606 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8607 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8608 * iconvdata/johab.c (ONE_DIRECTION): Define.
8609 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8610 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8611 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8612 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8613 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8614 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8615 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8616 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8617 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8618 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8619
c727f032
RM
86202014-05-01 Roland McGrath <roland@hack.frob.com>
8621
8f2f08d0
RM
8622 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8623 (_IO_JUMPS_OFFSET): Define to 0.
8624
c727f032
RM
8625 * nptl/sysdeps/pthread/bits/libc-lock.h
8626 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8627 (__libc_lock_define_initialized_recursive): Always define using
8628 initializer. Modern compilers treat uninitialized (implicit zero) and
8629 explicit zero initializers the same (i.e. put the datum in bss).
8630
a849e800
AS
86312014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8632
8633 * nscd/nscd-client.h: Include <string.h>.
8634
5331255b
DM
86352014-05-01 David S. Miller <davem@davemloft.net>
8636
8637 [BZ #16885]
8638 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8639 multiple zero bytes exist at the end of a string.
8640 Reported by Aurelien Jarno <aurelien@aurel32.net>
8641
8642 * string/test-strcmp.c (check): Add explicit test for situations where
8643 there are multiple zero bytes after the first.
8644
4fdfe821
AS
86452014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8646
8647 [BZ #16890]
8648 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8649 when compiling wprintf.
8650 * stdio-common/tstdiomisc.c (t3): New function.
8651 (main): Call it.
8652
0cdddc25
SE
86532014-05-01 Steve Ellcey <sellcey@mips.com>
8654
8655 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8656 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8657 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8658 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8659
6426d77e
SE
86602014-05-01 Steve Ellcey <sellcey@mips.com>
8661
8662 * stdlib/longlong.h: Updated from GCC.
8663
6d96f5e4
WN
86642014-05-01 Will Newton <will.newton@linaro.org>
8665 Bernard Ogden <bernie.ogden@linaro.org>
8666
7470db0c
WN
8667 * NEWS: Update fixed bug list.
8668
6d96f5e4
WN
8669 [BZ #15119]
8670 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8671
211d653c
DM
86722014-04-30 David S. Miller <davem@davemloft.net>
8673
4fa262fa
DM
8674 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8675 (libc_feholdexcept_setround_sparc_ctx): New function.
8676 (libc_fesetenv_sparc_ctx): Likewise.
8677 (libc_feupdateenv_sparc_ctx): Likewise.
8678 (libc_feholdsetround_sparc_ctx): Likewise.
8679 (libc_feholdexcept_setround_ctx): Define.
8680 (libc_feholdexcept_setroundf_ctx): Likewise.
8681 (libc_feholdexcept_setroundl_ctx): Likewise.
8682 (libc_fesetenv_ctx): Likewise.
8683 (libc_fesetenvf_ctx): Likewise.
8684 (libc_fesetenvl_ctx): Likewise.
8685 (libc_feupdateenv_ctx): Likewise.
8686 (libc_feupdateenvf_ctx): Likewise.
8687 (libc_feupdateenvl_ctx): Likewise.
8688 (libc_feresetround_ctx): Likewise.
8689 (libc_feresetroundf_ctx): Likewise.
8690 (libc_feresetroundl_ctx): Likewise.
8691 (libc_feholdsetround_ctx): Likewise.
8692 (libc_feholdsetroundf_ctx): Likewise.
8693 (libc_feholdsetroundl_ctx): Likewise.
8694
1d3d93ef
DM
8695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8696 with __USE_GNU instead of XOPEN cpp guards.
8697
8aa583c3
DM
8698 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8699 0.
8700
211d653c
DM
8701 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8702 with XOPEN cpp guards.
8703
60c8f1f6
JB
87042014-04-30 Julian Brown <julian@codesourcery.com>
8705
8706 [BZ #16888]
8707 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8708 handling.
8709
9a461d46
JM
87102014-04-30 Joseph Myers <joseph@codesourcery.com>
8711
d0f5b3f8
JM
8712 [BZ #9894]
8713 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8714 Change to 2.6.32.
8715 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8716 * sysdeps/unix/sysv/linux/configure: Regenerated.
8717 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8718 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8719 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8720 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8721 * README: Update reference to required Linux kernel version.
8722 * manual/install.texi (Linux): Update reference to required Linux
8723 kernel headers version.
8724 * INSTALL: Regenerated.
8725
9a461d46
JM
8726 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8727 header inclusion.
8728 [POSIX] (limits.h): Likewise.
8729 [POSIX] (math.h): Likewise.
8730 [POSIX] (sys/wait.h): Likewise.
8731 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8732 function.
8733 [POSIX] (stddef.h): Do not allow header inclusion.
8734
1775babf
AZ
87352014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8736
57f41c40 8737 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8738
8f630cca
YY
87392014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8740
8741 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8742 Return immediately after lll_futex_wake.
8743
1cdeb237
SP
87442014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8745
bc8f194c
SP
8746 [BZ #16791]
8747 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8748 structure.
8749 (datahead_init_pos): Call datahead_init_common early.
8750 (datahead_init_neg): Likewise.
8751
1cdeb237
SP
8752 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8753 datahead_init_neg): New functions.
8754 * nscd/aicache.c (addhstaiX): Use them.
8755 * nscd/grpcache.c (cache_addgr): Likewise.
8756 * nscd/hstcache.c (cache_addhst): Likewise.
8757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8758 * nscd/netgroupcache.c (do_notfound): Likewise.
8759 (addgetnetgrentX): Likewise.
8760 (addinnetgrX): Likewise.
8761 * nscd/pwdcache.c (cache_addpw): Likewise.
8762 * nscd/servicescache.c (cache_addserv): Likewise.
8763
16b293a7
SP
87642014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8765 Atsushi Onoe <atsushi@onoe.org>
8766
8767 [BZ #14308]
8768 [BZ #12994]
8769 [BZ #13651]
8770 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8771 one response is valid.
8772 * resolv/res_send.c (send_dg): Check for validity of other
8773 response if the current response is a referral.
8774
a28a9b94
SE
87752014-04-29 Steve Ellcey <sellcey@mips.com>
8776
8777 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8778
2ca180e9
SL
87792014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8780
8781 [BZ #16823]
8782 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8783 Always divide by positive zero when computing -Inf result.
8784 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8785 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8786
18f2945a
AZ
87872014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8788
8789 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8790 FPSCR if value do not change.
8791 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8792 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8793 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8794 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8795 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8796 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8797 function.
8798
5abebba4
CD
87992014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8800
8801 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8802 * sysdeps/unix/sysv/linux/hppa: Move directory from
8803 ports/systeps/unix/sysv/linux/hppa.
8804 * README: Update listing for hppa-*-linux-gnu.
8805
f7ed60c2
OB
88062014-04-28 Ondřej Bílka <neleai@seznam.cz>
8807
fff763a5
OB
8808 [BZ #16754]
8809 * manual/stdio.texi (Hook functions): Fix types of stream hook
8810 functions.
f7ed60c2
OB
8811 [BZ #16854]
8812 * socket/sys/socket.h: Fix typo in comment.
8813
df639d73
WD
88142014-04-28 Wilco <wdijkstr@arm.com>
8815
f7ed60c2 8816 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
8817 * sysdeps/arm/math_private.h: New file.
8818 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8819
48332d82
L
88202014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8821
8822 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8823 with __int128_t.
8824 (La_x86_64_retval): Likewise.
8825
e5e0d9a4
IB
88262014-04-24 Ian Bolton <ian.bolton@arm.com>
8827
8828 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8829 fpsr if value didn't change.
8830 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8831 to fpcr if value didn't change.
8832 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8833 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8834 fpsr or fpcr if value didn't change.
8835 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8836 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8837 fpcr if value didn't change.
8838 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8839 to fpsr if value didn't change.
8840
bacc75f7
SP
88412014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8842
8843 * nptl/tst-sem3.c: Use test-skeleton.c
8844 (main): Rename to do_test. Use return instead of
8845 exit.
8846 * nptl/tst-sem4.c: Use test-skeleton.c
8847 (main): Rename to do_test.
8848
a059d359
DM
88492014-04-22 David S. Miller <davem@davemloft.net>
8850
8851 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8852 (struct sigaction): New struct member __glibc_reserved0, change
8853 type of sa_flags to int.
8854
ea6c92f3
YZ
88552014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8856
8857 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8858 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8859
766c4a36
SP
88602014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8861
8862 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8863 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8864
140cc7ab
VK
88652014-04-22 Will Newton <will.newton@linaro.org>
8866 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8867
8868 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8869 (__longjmp): Add longjmp and longjmp_target SystemTap
8870 probes.
8871 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8872 (__sigsetjmp): Add setjmp SystemTap probe.
8873
c54e5cf7
CD
88742014-04-17 Carlos O'Donell <carlos@redhat.com>
8875
8876 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8877 match manual order.
8878
75ffb047
AZ
88792014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8880
8881 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8882
2cd925f7
AZ
8883 * sysdeps/powerpc/fpu/fenv_private.h
8884 (libc_feholdexcept_setroundl_ctx): Define to
8885 libc_feholdexcept_setround_ppc_ctx.
8886 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8887 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8888 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8889 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8890
39e6cd8d
IB
88912014-04-17 Ian Bolton <ian.bolton@arm.com>
8892
8893 * sysdeps/aarch64/math-tests.h: New file.
8894
f9281df9
SY
88952014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8896
8897 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8898 New.
8899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8900 Check and set bit_AVX2_Usable.
8901 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8902 macro.
8903 (bit_AVX2): Likewise.
8904 (index_AVX2_Usable): Likewise.
8905 (CPUID_AVX2): Likewise.
8906 (HAS_AVX2): Likewise.
8907
37d35007
WN
89082014-04-17 Will Newton <will.newton@linaro.org>
8909
7c677662
WN
8910 * manual/setjmp.texi (System V contexts): Add note that
8911 calling setcontext on a context created by a call to a
8912 signal handler is undefined. Update text to note that
8913 setcontext from a signal handler is possible but not
8914 recommended.
8915
37d35007 8916 [BZ #16629]
e04a4e9d
WN
8917 * stdlib/tst-setcontext.c: Include signal.h.
8918 (main): Check that the signal stack before and
8919 after swapcontext is the same.
8920
37d35007
WN
8921 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8922 Re-implement to restore registers in user code and avoid
8923 rt_sigreturn system call.
8924
423a7160
W
89252014-04-17 Wilco <wdijkstr@arm.com>
8926
8927 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8928 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8929 * math/test-fenv.c: Skip exception trap tests on targets which only
8930 support non-stop mode.
8931
bc93ab29
IB
89322014-04-17 Ian Bolton <ian.bolton@arm.com>
8933 Wilco Dijkstra <wilco.dijkstra@arm.com>
8934
8935 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8936 (libc_feholdsetround_aarch64_ctx)
8937 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8938 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8939 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8940 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8941 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8942 (libc_feresetround_noexl_ctx): Define.
8943
95fc5fa3
RH
89442014-04-16 Richard Henderson <rth@redhat.com>
8945
ddb04724
RH
8946 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8947
d77c0899
RH
8948 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8949 unwind tables.
8950
a3df56fc
RH
8951 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8952 const from the non-libc, non-ldso copy.
8953
95fc5fa3
RH
8954 * sysdeps/alpha/libm-test-ulps: Regenerate.
8955
7e0b6763
IB
89562014-04-16 Ian Bolton <ian.bolton@arm.com>
8957 Wilco Dijkstra <wilco.dijkstra@arm.com>
8958
8959 * sysdeps/aarch64/fpu/math_private.h: New file.
8960
a9ea2e0c
MS
89612014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8962
8963 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8964
ea8ba7cd
IZ
89652014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8966
7e54fd04 8967 [BZ #16275]
ea8ba7cd
IZ
8968 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8969 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8971 Intel MPX bound registers before _dl_profile_fixup.
8972 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8973 registers after _dl_profile_fixup. Save and restore bound
8974 registers bnd0/bnd1 when calling _dl_call_pltexit.
8975 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8976 (LR_BND_OFFSET): Likewise.
8977 (LRV_BND0_OFFSET): Likewise.
8978 (LRV_BND1_OFFSET): Likewise.
8979
9f2a4fbc
ST
89802014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8981
8982 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8983 to...
8984 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8985 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8986 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8987 fields.
9f2a4fbc 8988
fd15a59b
ST
89892014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8990
8991 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8992
f19dfa0a
SL
89932014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8994
8995 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8996
4fa8bc3b
SL
89972014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8998
8999 [BZ #14770]
9000 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9001 * sysdeps/s390/configure: Regenerate.
9002
8ea587db
SL
9003 [BZ #16824]
9004 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9005 Set round-to-nearest internally to reduce error accumulation.
9006
aa5f0ff1
AM
90072014-04-16 Alan Modra <amodra@gmail.com>
9008
9009 [BZ #16740]
9010 [BZ #16619]
9011 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9012 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9013 * NEWS: Update fixed bug list.
aa5f0ff1 9014
bb9c256f
SP
90152014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9016
9017 * benchtests/Makefile: Depend on libraries in build directory.
9018 (bench-math): Separate out math tests.
9019 (bench-pthread): Separate out pthread tests.
9020 (bench): Include math and pthread tests.
9021
f737dfd0
CD
90222014-04-14 Carlos O'Donell <carlos@redhat.com>
9023
9024 [BZ #16831]
9025 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9026 _dl_debug_initialize.
9027
0699f766
CD
9028 * configure.ac: Remove SELinux header check.
9029 * configure: Regenerate.
9030 * nscd/selinux.c (perms): Array of const char* to permission names.
9031 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9032 default policy. Call string_to_security_class and string_to_av_perm to
9033 translate strings. Enforce default policy and call avs_has_perm with
9034 results of translated strings.
9035
809bd45f
DM
90362014-04-13 David S. Miller <davem@davemloft.net>
9037
9038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9039
89e691f2
AM
90402014-04-12 Allan McRae <allan@archlinux.org>
9041
9042 [BZ #16838]
9043 * manual/string.texi (Collation Functions): Fix qsort argument
9044 order in example.
9045 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9046
9c9daaeb
CM
90472014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9048
9049 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9050 Make the test a no-op if there are no exceptions defined.
9051
95561fb9
PP
90522014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9053
fe8d072c 9054 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9055 enable-hardcoded-path-in-tests
9056
970c602a
WN
90572014-04-11 Will Newton <will.newton@linaro.org>
9058
9059 * benchtests/Makefile (extra-objs): Add json-lib.o.
9060 (bench-func): Tidy up JSON output.
9061 * benchtests/bench-skeleton.c: Include json-lib.h.
9062 (main): Use JSON library functions to do output of
9063 benchmark results.
9064 * benchtests/bench-timing-type.c (main): Output the
9065 timing type simply, leaving formatting to the user.
9066 * benchtests/json-lib.c: New file.
9067 * benchtests/json-lib.h: Likewise.
9068
36875b06
TR
90692014-04-11 Torvald Riegel <triegel@redhat.com>
9070
9071 [BZ #15215]
9072 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9073 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9074 memory barriers. Add comments.
9075 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9076 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9077 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9078 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9079 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9080 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9081
579db35a
SL
90822014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9083
9084 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9085 * sysdeps/s390/s390-64/configure.ac: ... this ...
9086 * sysdeps/s390/configure.ac: ... to here.
9087 * sysdeps/s390/s390-32/configure: Delete file.
9088 * sysdeps/s390/s390-64/configure: Delete file.
9089 * sysdeps/s390/configure: Regenerate.
9090
c12e9f37
JAPH
90912014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9092
9093 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9094
439bda32
WN
90952014-04-11 Will Newton <will.newton@linaro.org>
9096
9097 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9098 to zero if it is not defined elsewhere. (mtrim): Test
9099 the value of MALLOC_DEBUG with #if rather than #ifdef.
9100
6a5d6ea1
TR
91012014-04-10 Torvald Riegel <triegel@redhat.com>
9102
9103 * benchtests/pthread_once-inputs: New file.
9104 * benchtests/pthread_once-source.c: New file.
9105 * benchtests/README: Update documentation.
9106
a4c75cfd
IZ
91072014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9108 H.J. Lu <hongjiu.lu@intel.com>
9109
7e54fd04 9110 [BZ #16275]
a4c75cfd
IZ
9111 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9112 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9113 * sysdeps/x86_64/configure: Regenerated.
9114 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9115 macro.
9116 (REGISTER_SAVE_RAX): Likewise.
9117 (REGISTER_SAVE_RCX): Likewise.
9118 (REGISTER_SAVE_RDX): Likewise.
9119 (REGISTER_SAVE_RSI): Likewise.
9120 (REGISTER_SAVE_RDI): Likewise.
9121 (REGISTER_SAVE_R8): Likewise.
9122 (REGISTER_SAVE_R9): Likewise.
9123 (REGISTER_SAVE_BND0): Likewise.
9124 (REGISTER_SAVE_BND1): Likewise.
9125 (REGISTER_SAVE_BND2): Likewise.
9126 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9127 bound registers when calling _dl_fixup.
9128
27822ce6
AZ
91292014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130
9131 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9132 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9133 of its definition.
27822ce6
AZ
9134 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9135 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9136 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9137 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9138 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9139 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9140 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9141
a88ddc90
PTB
91422014-04-09 Peter Brett <peter@peter-b.co.uk>
9143
9144 [BZ #15514]
9145 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9146 pathconf(_PC_NAME_MAX).
9147
01f8eac2
AZ
91482014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9149
9150 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9151 Remove macro usage.
9152 (__PTHREAD_SPINS): Move definition to ...
9153 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9154 (__PTHREAD_SPINS): ... here.
9155 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9156 (__PTHREAD_SPIN): Likewise.
9157 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9158 (__PTHREAD_SPIN): Likewise.
9159 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9160 (__PTHREAD_SPIN): Likewise.
9161 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9162 (__PTHREAD_SPIN): Likewise.
9163 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9164 (__PTHREAD_SPIN): Likewise.
9165 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9166 (__PTHREAD_SPIN): Likewise.
9167 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9168 (__PTHREAD_SPIN): Likewise.
9169 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9170 (__PTHREAD_SPIN): Likewise.
9171 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9172 (__PTHREAD_SPIN): Likewise.
9173 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9174 (__PTHREAD_SPIN): Likewise.
9175 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9176 (__PTHREAD_SPIN): Likewise.
9177 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9178 (__PTHREAD_SPIN): Likewise.
9179
de21c33c
AZ
9180 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9181 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9182 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9183 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9184 imply folder.
9185 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9186 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9187 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9188 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9189 correct imply path.
9190 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9191 strlen symbol for non multi-arch builds.
9192 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9193 missing hidden_def and weak_alias.
9194
862c472e
CD
91952014-04-08 Carlos O'Donell <carlos@redhat.com>
9196
9197 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9198
8667f90e
WN
91992014-04-07 Will Newton <will.newton@linaro.org>
9200
9201 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9202 and contents. [!_LIBC] Remove #ifndef and contents.
9203 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9204 * string/memccpy.c (__memccpy): Use ANSI prototype.
9205 * string/memfrob.c (memfrob): Likewise.
9206 * string/strcoll.c (STRCOLL): Likewise.
9207 * string/strlen.c (strlen): Likewise.
9208 * string/strtok.c (STRTOK): Likewise.
9209 * string/strcat.c: Remove unused #include of memcopy.h.
9210 (strcat): Use ANSI prototype.
9211 * string/strchr.c: Remove unused #include of memcopy.h.
9212 (strchr): Use ANSI prototype.
9213 * string/strcmp.c: Remove unused #include of memcopy.h.
9214 (strcmp): Use ANSI prototype.
9215 * string/strcpy.c: Remove unused #include of memcopy.h.
9216 (strcpy): Use ANSI prototype.
9217
7ffa9423
AZ
92182014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9219
9220 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9221 * config.make.in (config-extra-cppflags): Set it from
9222 libc_extra_cppflags.
9223 * configure.ac (libc_extra_cflags): Make it accumulate over
9224 configure fragments.
9225 (libc_extra_cppflags): New flag.
9226 * configure. Regenerate.
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9228 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9229 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9231
8bd70862
AZ
9232 [BZ #16815]
9233 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9234 result for FE_DOWNWARD rounding mode.
9235 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9236 Likewise.
9237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9238
d42f3448
CM
92392014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9240
9241 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9242 in function argument name.
9243
1c21d115
DS
92442014-04-03 David Svoboda <svoboda@cert.org>
9245
9246 [BZ #5666]
9247 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9248 explicitly.
9249
fcccd512
RM
92502014-04-03 Roland McGrath <roland@hack.frob.com>
9251
9252 * elf/dl-unmap-segments.h: New file.
9253 * sysdeps/generic/ldsodefs.h
9254 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9255 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9256 * elf/dl-fptr.c: Likewise.
9257 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9258 * sysdeps/aarch64/tlsdesc.c: Likewise.
9259 * sysdeps/arm/tlsdesc.c: Likewise.
9260 * sysdeps/i386/tlsdesc.c: Likewise.
9261 * sysdeps/tile/dl-runtime.c: Likewise.
9262 * sysdeps/x86_64/tlsdesc.c: Likewise.
9263 * elf/dl-load.h: New file.
9264 * elf/dl-load.c: Include it.
9265 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9266 Macros moved to dl-load.h.
9267 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9268 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9269 Use _dl_unmap_segments in place of __munmap.
9270 Break out segment-mapping loop into ...
9271 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9272
f6488e2b
WN
92732014-04-03 Will Newton <will.newton@linaro.org>
9274
9275 * elf/dl-lookup.c (do_lookup_x): Remove comment
9276 referring to nested function and move variable
9277 declarations down to before first use.
9278
6f05bafe
JM
92792014-04-02 Joseph Myers <joseph@codesourcery.com>
9280
a84e78c8
JM
9281 [BZ #16799]
9282 [BZ #16800]
9283 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9284 with 0 numerator.
9285 * math/s_catanf.c (__catanf): Likewise.
9286 * math/s_catanh.c (__catanh): Likewise.
9287 * math/s_catanhf.c (__catanhf): Likewise.
9288 * math/s_catanhl.c (__catanhl): Likewise.
9289 * math/s_catanl.c (__catanl): Likewise.
9290 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9291 by positive zero when computing -Inf result.
9292 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9293 (catanh_test): Likewise.
9294 * sysdeps/i386/fpu/libm-test-ulps: Update.
9295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9296
6f05bafe
JM
9297 [BZ #16789]
9298 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9299 instead of using underflowing value in computing result.
9300 * math/s_clog10.c (__clog10): Likewise.
9301 * math/s_clog10f.c (__clog10f): Likewise.
9302 * math/s_clog10l.c (__clog10l): Likewise.
9303 * math/s_clogf.c (__clogf): Likewise.
9304 * math/s_clogl.c (__clogl): Likewise.
9305 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9306 (clog10_test): Likewise.
9307 * sysdeps/i386/fpu/libm-test-ulps: Update.
9308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9309
b0abbc21
AM
93102014-04-02 Alan Modra <amodra@gmail.com>
9311
9312 [BZ #16739]
9313 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9314 output when value is near a power of two. Use int64_t for lx and
9315 remove casts. Use decimal rather than hex exponent constants.
9316 Don't use long double multiplication when double will suffice.
9317 * math/libm-test.inc (nextafter_test_data): Add tests.
9318 * NEWS: Add 16739 and 16786 to bug list.
9319
af6b1797
AM
9320 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9321
483818d7
AM
9322 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9323
f6c55796
WN
93242014-04-01 Will Newton <will.newton@linaro.org>
9325
9326 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9327 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9328
13f7fe35
FW
93292014-04-01 Florian Weimer <fweimer@redhat.com>
9330
9331 [BZ #13347]
9332 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9333 * nptl/tst-setuid2.c: New file.
9334 * nptl/Makefile (xtests): Add tst-setuid2.
9335
c859b32e
AM
93362014-04-01 Alan Modra <amodra@gmail.com>
9337
9338 [BZ #16786]
9339 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9340
54fa2475
JM
93412014-03-31 Joseph Myers <joseph@codesourcery.com>
9342
8795b4a4
JM
9343 [BZ #6803]
9344 [BZ #6804]
9345 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9346 set errno as appropriate.
9347 * math/w_scalbf.c (__scalbf): Likewise.
9348 * math/w_scalbl.c (__scalbl): Likewise.
9349 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9350 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9351 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9352 Add more NaN tests.
9353
54fa2475
JM
9354 [BZ #16349]
9355 * math/w_atan2.c: Include <errno.h>.
9356 (__atan2): Set errno for result underflowing to zero.
9357 * math/w_atan2f.c: Include <errno.h>.
9358 (__atan2f): Set errno for result underflowing to zero.
9359 * math/w_atan2l.c: Include <errno.h>.
9360 (__atan2l): Set errno for result underflowing to zero.
9361 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9362 tests.
9363 * math/auto-libm-test-out: Regenerated.
9364
757d9dd5
AZ
93652014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9366
9367 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9368 Encode instruction correctly in little endian.
9369 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9370 Likewise.
9371 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9372 Likewise.
9373 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9374 Likewise.
9375 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9376 Likewise.
9377
d7a68734
JM
93782014-03-31 Joseph Myers <joseph@codesourcery.com>
9379
47c5adeb
JM
9380 [BZ #9894]
9381 * sysdeps/unix/sysv/linux/kernel-features.h
9382 [__sparc__ && !__arch64__ && !__sparc_v9__]
9383 (__ASSUME_SET_ROBUST_LIST): Do not define.
9384 [__sparc__ && !__arch64__ && !__sparc_v9__]
9385 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9386 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9387 Likewise.
9388 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9389 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9390 (__ASSUME_REQUEUE_PI): Likewise.
9391 (__ASSUME_SET_ROBUST_LIST): Likewise.
9392 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9393 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9394 Undefine.
9395 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9396 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9397 Likewise.
9398 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9399 Likewise.
9400 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9401 Likewise.
9402 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9403 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9404 Undefine.
9405 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9406 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9407 Likewise.
9408
d7a68734
JM
9409 [BZ #16648]
9410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9411 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9412 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9413
c760f5c2
WN
94142014-03-31 Will Newton <will.newton@linaro.org>
9415
9416 * benchtests/Makefile (bench): Add ffs and ffsll to list
9417 of tests.
9418 * benchtests/ffs-inputs: New file.
9419 * benchtests/ffsll-inputs: Likewise.
9420
ea6029b1
JM
94212014-03-29 Joseph Myers <joseph@codesourcery.com>
9422
9423 [BZ #16770]
9424 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9425 too large before casting to int.
9426 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9427 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9428 * math/libm-test.inc (scalb_test_data): Add more tests.
9429
cf806aff
SP
94302014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9431
56737508
SP
9432 * benchtests/Makefile (DETAILED_OPT): New make option.
9433 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9434 set.
9435 * benchtests/bench-skeleton.c: Include stdbool.h.
9436 (main): Store and print timings per input.
9437 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9438 member to each argument value.
9439 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9440 (_print_arg_data): Initialize per-input timing to 0.
9441
cb5e4aad
SP
9442 * benchtests/Makefile (timing-type): New binary.
9443 (bench-clean): Also remove bench-timing-type.
9444 (bench): New target for timing-type.
9445 (bench-func): Print output in JSON format.
9446 * benchtests/bench-skeleton.c (main): Print output in JSON
9447 format.
9448 * benchtests/bench-timing-type.c: New file.
9449 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9450 (TIMING_PRINT_STATS): Remove.
9451 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9452 name separately.
9453
cf806aff
SP
9454 * benchtests/bench-modf.c: Remove.
9455 * benchtests/modf-inputs: New inputs file.
9456
289e0779
JM
94572014-03-28 Joseph Myers <joseph@codesourcery.com>
9458
9459 [BZ #16362]
9460 * math/s_clog10.c (M_PI_LOG10E): New macro.
9461 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9462 imaginary parts are 0.
9463 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9464 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9465 imaginary parts are 0.
9466 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9467 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9468 imaginary parts are 0.
9469 * math/libm-test.inc (clog10_test_data): Update expected results
9470 for when real and imaginary parts are 0.
9471
277ae3f1
PP
94722014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9473
9474 * elf/dl-load.c: Finish conversion of __builtin_expect into
9475 __glibc_{un}likely.
9476
03a7091f
JM
94772014-03-27 Joseph Myers <joseph@codesourcery.com>
9478
9479 [BZ #16348]
9480 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9481 1+x for argument with exponent below -67.
9482 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9483 Likewise.
9484 * math/auto-libm-test-in: Add more tests of exp.
9485 * math/auto-libm-test-out: Regenerated.
9486
ea7d8b95
SP
94872014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9488
dd3022d7
SP
9489 [BZ #16759]
9490 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9491 (nscd_getnetgrent): Use it.
9492
ea7d8b95
SP
9493 [BZ #16760]
9494 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9495 of stpcpy.
9496
df5b85da
AK
94972014-03-27 Andi Kleen <ak@linux.intel.com>
9498
57f41c40
AS
9499 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9500 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9501 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9502 (lll_robust_unlock): Remove out of line section. Use cfi
9503 intrinsics.
df5b85da 9504 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9505 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9506 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9507 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9508 (lll_robust_unlock): Remove out of line section. Use cfi
9509 intrinsics.
df5b85da
AK
9510 (LLL_STUB_UNWIND_INFO*): Remove.
9511
fbd6b5a4
SP
95122014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9513
9514 [BZ #16758]
9515 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9516 blank values.
9517
1b26b855
PP
95182014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9519
9520 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9521
9be36fb8
JM
95222014-03-26 Joseph Myers <joseph@codesourcery.com>
9523
9524 [BZ #16198]
9525 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9526 fnstenv.
9527 * math/test-fenv-preserve.c: New file.
9528 * math/Makefile (tests): Add test-fenv-preserve.
9529
60a2f3c1
WN
95302014-03-26 Will Newton <will.newton@linaro.org>
9531
9532 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9533
a5e5f1e2
RM
95342014-03-25 Roland McGrath <roland@hack.frob.com>
9535
9536 * scripts/versionlist.awk: Partition the version sets and emit all
9537 GLIBC_* (sorted) before all others (sorted).
9538
00f4012a
JM
95392014-03-25 Joseph Myers <joseph@codesourcery.com>
9540
9541 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9542 GLIBC_2.2.5 version.
9543
7bc5a741
AZ
95442014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9545
9546 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9547 calls.
9548
7578473b
AZ
9549 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9550 previous change.
9551
f3f1dab3
AZ
9552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9553
6da36183
AS
95542014-03-25 Andreas Schwab <schwab@suse.de>
9555
9556 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9557 label to be used after in6ailist is initialized.
9558
f3f1dab3 95592014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9560
7578473b 9561 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9562 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9563
046651c1
JM
95642014-03-25 Joseph Myers <joseph@codesourcery.com>
9565
9566 [BZ #16357]
9567 [BZ #16599]
9568 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9569 min_plus_half.
9570 (fp_formats): Update initializers.
9571 (init_fp_formats): Initialize new field.
9572 (output_for_one_input_case): Allow underflow for results up to
9573 min_plus_half.
9574 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9575 * math/auto-libm-test-in: Don't mark some underflows from asin and
9576 atanh as spurious.
9577 * math/auto-libm-test-out: Regenerated.
9578 * sysdeps/i386/fpu/libm-test-ulps: Update.
9579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9580
003e49ed
AS
95812014-03-25 Andreas Schwab <schwab@suse.de>
9582
9583 * libio/Makefile (tst-ftell-partial-wide-ENV)
9584 (tst-ftell-active-handler-ENV): Define.
9585
de031874
SL
95862014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9587
9588 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9589
55a81e3b
PP
95902014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9591
9592 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9593
f3426898
JM
95942014-03-24 Joseph Myers <joseph@codesourcery.com>
9595
9596 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9597 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9598 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9599
a42faf59
PP
96002014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9601
9602 [BZ #16634]
a42faf59 9603 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9604 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9605 (open_path): Change from boolean 'secure' to complete flag 'mode'
9606 (_dl_map_object): Adjust.
a42faf59
PP
9607 * elf/Makefile (tests): Add tst-dlopen-aout.
9608 * elf/tst-dlopen-aout.c: New test.
9609
50936127
SL
96102014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9611
9612 [BZ #16714]
9613 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9614 (struct stat): Rename member pad0 to __glibc_reserved0.
9615
26011b5c
SL
9616 [BZ #16712]
9617 * sysdeps/s390/s390-32/bits/wordsize.h
9618 (__WORDSIZE32_SIZE_ULONG): New define.
9619 * sysdeps/s390/s390-64/bits/wordsize.h
9620 (__WORDSIZE32_SIZE_ULONG): Likewise.
9621 * sysdeps/generic/stdint.h (SIZE_MAX):
9622 Define as UL if __WORDSIZE32_SIZE_ULONG.
9623
a2d86bf1
SL
9624 [BZ #16713]
9625 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9626 (__glibc_reserved0): New variable.
9627 (sa_flags): Change type to int.
9628
78b6eebc
SL
9629 * posix/Makefile (before-compile): Use += before-compile instead
9630 of a :=.
9631
f1399b5a
SL
9632 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9633 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9634
a071766e
AS
96352014-03-20 Andreas Schwab <schwab@suse.de>
9636
9637 [BZ #16743]
9638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9639 non-matching result from nscd.
9640
27c673b8
SP
96412014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9642
9643 * scripts/bench.py: Moved to ...
9644 * benchtests/scripts/bench.py: ... here.
9645 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9646
44152e4b
AS
96472014-03-24 Andreas Schwab <schwab@suse.de>
9648
9649 [BZ #16002]
9650 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9651 alloca_account and account alloca use for struct in6ailist.
9652
b376a11a
JM
96532014-03-24 Joseph Myers <joseph@codesourcery.com>
9654
9655 [BZ #16284]
9656 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9657 rounding mode to recompute results that overflow to infinity or
9658 underflow to zero.
9659 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9660 bug 16284.
9661 * math/auto-libm-test-out: Regenerated.
9662 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9663 (ccosh_test): Likewise.
9664 (csin_test_data): Use plus_oflow.
9665 (csin_test): Use ALL_RM_TEST.
9666 (csinh_test_data): Use plus_oflow.
9667 (csinh_test): Use ALL_RM_TEST.
9668 * sysdeps/i386/fpu/libm-test-ulps: Update.
9669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9670
f7be7376
JM
96712014-03-21 Joseph Myers <joseph@codesourcery.com>
9672
1ca2d03e
JM
9673 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9674 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9675 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9676
f7be7376
JM
9677 [BZ #16731]
9678 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9679 when x - 1 is zero.
9680 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9681 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9682 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9683 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9684 argument is 1.
9685 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9686 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9687 zero.
9688 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9689 * sysdeps/i386/fpu/libm-test-ulps: Update.
9690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9691
fdf4534d
SP
96922014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9693
df26ea53
SP
9694 * scripts/bench.pl: Remove file.
9695 * scripts/bench.py: New benchmark script.
9696 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9697 * benchtests/README: Mention python dependency.
9698 * scripts/pylintrc: New file.
9699 * scripts/pylint: New file.
9700
fdf4534d
SP
9701 * bits/mathdef.h: Use #ifdef instead of #if.
9702 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9703 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9704 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9705 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9706 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9707 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9708
6f23d093
AZ
97092014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9710 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9711
9712 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9714 and strpbrk-ppc64 objects.
9715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9716 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9717 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9718 multiarch strpbrk for POWER7.
9719 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9720 multiarch strpbrk for PPC64.
9721 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9722 ifunc selector.
9723 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9724 strpbrk for POWER7.
9725
8c92dfff
JM
97262014-03-20 Joseph Myers <joseph@codesourcery.com>
9727
9728 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9729 (atan_test): Likewise.
9730 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9731 (atanh_test): Use ALL_RM_TEST.
9732 (atan2_test_data): Likewise.
9733 (cabs_test): Likewise.
9734 (cacosh_test): Likewise.
9735 (carg_test): Likewise.
9736 (casin_test): Likewise.
9737 (casinh_test): Likewise.
9738 (cbrt_test): Likewise.
9739 (csqrt_test): Likewise.
9740 (erf_test): Likewise.
9741 (erfc_test): Likewise.
9742 (pow10_test): Likewise.
9743 (exp2_test): Likewise.
9744 (hypot_test): Likewise.
9745 (j0_test): Likewise.
9746 (j1_test): Likewise.
9747 (lgamma_test): Likewise.
9748 (gamma_test): Likewise.
9749 (sincos_test): Likewise.
9750 (tanh_test): Likewise.
9751 (y0_test): Likewise.
9752 (y1_test): Likewise.
9753 * sysdeps/i386/fpu/libm-test-ulps: Update.
9754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9755
6eaf95cb
AZ
97562014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9757
a387428c
SP
9758 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9760 and strcspn-ppc64 objects.
9761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9762 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9763 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9764 multiarch strcspn for POWER7.
9765 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9766 multiarch strcspn for PPC64.
9767 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9768 ifunc selector.
9769 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9770 strcspn for POWER7.
9771
ae3a5dff
JM
97722014-03-20 Joseph Myers <joseph@codesourcery.com>
9773
9774 * math/gen-libm-test.pl (generate_testfile): Expect only function
9775 name as argument to AUTO_TESTS_* and pass results for all rounding
9776 modes to parse_args.
9777 (parse_auto_input): Separate inputs of automatic tests from
9778 outputs before storing in %auto_tests.
9779 * math/libm-test.inc (acos_test_data): Update call to
9780 AUTO_TESTS_f_f.
9781 (acos_test): Use ALL_RM_TEST.
9782 (acos_tonearest_test_data): Remove.
9783 (acos_test_tonearest): Likewise.
9784 (acos_towardzero_test_data): Likewise.
9785 (acos_test_towardzero): Likewise.
9786 (acos_downward_test_data): Likewise.
9787 (acos_test_downward): Likewise.
9788 (acos_upward_test_data): Likewise.
9789 (acos_test_upward): Likewise.
9790 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9791 (asin_test_data): Likewise.
9792 (asin_test): Use ALL_RM_TEST.
9793 (asin_tonearest_test_data): Remove.
9794 (asin_test_tonearest): Likewise.
9795 (asin_towardzero_test_data): Likewise.
9796 (asin_test_towardzero): Likewise.
9797 (asin_downward_test_data): Likewise.
9798 (asin_test_downward): Likewise.
9799 (asin_upward_test_data): Likewise.
9800 (asin_test_upward): Likewise.
9801 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9802 (atan_test_data): Likewise.
9803 (atanh_test_data): Likewise.
9804 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9805 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9806 (carg_test_data): Likewise.
9807 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9808 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9809 (ccosh_test_data): Likewise.
9810 (cexp_test_data): Likewise.
9811 (clog_test_data): Likewise.
9812 (clog10_test_data): Likewise.
9813 (cos_test_data): Update call to AUTO_TESTS_f_f.
9814 (cos_test): Use ALL_RM_TEST.
9815 (cos_tonearest_test_data): Remove.
9816 (cos_test_tonearest): Likewise.
9817 (cos_towardzero_test_data): Likewise.
9818 (cos_test_towardzero): Likewise.
9819 (cos_downward_test_data): Likewise.
9820 (cos_test_downward): Likewise.
9821 (cos_upward_test_data): Likewise.
9822 (cos_test_upward): Likewise.
9823 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9824 (cosh_test): Use ALL_RM_TEST.
9825 (cosh_tonearest_test_data): Remove.
9826 (cosh_test_tonearest): Likewise.
9827 (cosh_towardzero_test_data): Likewise.
9828 (cosh_test_towardzero): Likewise.
9829 (cosh_downward_test_data): Likewise.
9830 (cosh_test_downward): Likewise.
9831 (cosh_upward_test_data): Likewise.
9832 (cosh_test_upward): Likewise.
9833 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9834 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9835 (ctan_test_data): Likewise.
9836 (ctan_test): Use ALL_RM_TEST.
9837 (ctan_tonearest_test_data): Remove.
9838 (ctan_test_tonearest): Likewise.
9839 (ctan_towardzero_test_data): Likewise.
9840 (ctan_test_towardzero): Likewise.
9841 (ctan_downward_test_data): Likewise.
9842 (ctan_test_downward): Likewise.
9843 (ctan_upward_test_data): Likewise.
9844 (ctan_test_upward): Likewise.
9845 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9846 (ctanh_test): Use ALL_RM_TEST.
9847 (ctanh_tonearest_test_data): Remove.
9848 (ctanh_test_tonearest): Likewise.
9849 (ctanh_towardzero_test_data): Likewise.
9850 (ctanh_test_towardzero): Likewise.
9851 (ctanh_downward_test_data): Likewise.
9852 (ctanh_test_downward): Likewise.
9853 (ctanh_upward_test_data): Likewise.
9854 (ctanh_test_upward): Likewise.
9855 (erf_test_data): Update call to AUTO_TESTS_f_f.
9856 (erfc_test_data): Likewise.
9857 (exp_test_data): Likewise.
9858 (exp_test): Use ALL_RM_TEST.
9859 (exp_tonearest_test_data): Remove.
9860 (exp_test_tonearest): Likewise.
9861 (exp_towardzero_test_data): Likewise.
9862 (exp_test_towardzero): Likewise.
9863 (exp_downward_test_data): Likewise.
9864 (exp_test_downward): Likewise.
9865 (exp_upward_test_data): Likewise.
9866 (exp_test_upward): Likewise.
9867 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9868 (exp10_test): Use ALL_RM_TEST.
9869 (exp10_tonearest_test_data): Remove.
9870 (exp10_test_tonearest): Likewise.
9871 (exp10_towardzero_test_data): Likewise.
9872 (exp10_test_towardzero): Likewise.
9873 (exp10_downward_test_data): Likewise.
9874 (exp10_test_downward): Likewise.
9875 (exp10_upward_test_data): Likewise.
9876 (exp10_test_upward): Likewise.
9877 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9878 (expm1_test_data): Likewise.
9879 (expm1_test): Use ALL_RM_TEST.
9880 (expm1_tonearest_test_data): Remove.
9881 (expm1_test_tonearest): Likewise.
9882 (expm1_towardzero_test_data): Likewise.
9883 (expm1_test_towardzero): Likewise.
9884 (expm1_downward_test_data): Likewise.
9885 (expm1_test_downward): Likewise.
9886 (expm1_upward_test_data): Likewise.
9887 (expm1_test_upward): Likewise.
9888 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9889 (fma_test): Use ALL_RM_TEST.
9890 (fma_towardzero_test_data): Remove.
9891 (fma_test_towardzero): Likewise.
9892 (fma_downward_test_data): Likewise.
9893 (fma_test_downward): Likewise.
9894 (fma_upward_test_data): Likewise.
9895 (fma_test_upward): Likewise.
9896 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9897 (j0_test_data): Update call to AUTO_TESTS_f_f.
9898 (j1_test_data): Likewise.
9899 (jn_test_data): Update call to AUTO_TESTS_if_f.
9900 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9901 (log_test_data): Update call to AUTO_TESTS_f_f.
9902 (log10_test_data): Likewise.
9903 (log1p_test_data): Likewise.
9904 (log2_test_data): Likewise.
9905 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9906 (pow_tonearest_test_data): Likewise.
9907 (sin_test_data): Update call to AUTO_TESTS_f_f.
9908 (sin_test): Use ALL_RM_TEST.
9909 (sin_tonearest_test_data): Remove.
9910 (sin_test_tonearest): Likewise.
9911 (sin_towardzero_test_data): Likewise.
9912 (sin_test_towardzero): Likewise.
9913 (sin_downward_test_data): Likewise.
9914 (sin_test_downward): Likewise.
9915 (sin_upward_test_data): Likewise.
9916 (sin_test_upward): Likewise.
9917 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9918 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9919 (sinh_test): Use ALL_RM_TEST.
9920 (sinh_tonearest_test_data): Remove.
9921 (sinh_test_tonearest): Likewise.
9922 (sinh_towardzero_test_data): Likewise.
9923 (sinh_test_towardzero): Likewise.
9924 (sinh_downward_test_data): Likewise.
9925 (sinh_test_downward): Likewise.
9926 (sinh_upward_test_data): Likewise.
9927 (sinh_test_upward): Likewise.
9928 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9929 (sqrt_test): Use ALL_RM_TEST.
9930 (sqrt_tonearest_test_data): Remove.
9931 (sqrt_test_tonearest): Likewise.
9932 (sqrt_towardzero_test_data): Likewise.
9933 (sqrt_test_towardzero): Likewise.
9934 (sqrt_downward_test_data): Likewise.
9935 (sqrt_test_downward): Likewise.
9936 (sqrt_upward_test_data): Likewise.
9937 (sqrt_test_upward): Likewise.
9938 (tan_test_data): Update call to AUTO_TESTS_f_f.
9939 (tan_test): Use ALL_RM_TEST.
9940 (tan_tonearest_test_data): Remove.
9941 (tan_test_tonearest): Likewise.
9942 (tan_towardzero_test_data): Likewise.
9943 (tan_test_towardzero): Likewise.
9944 (tan_downward_test_data): Likewise.
9945 (tan_test_downward): Likewise.
9946 (tan_upward_test_data): Likewise.
9947 (tan_test_upward): Likewise.
9948 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9949 (tgamma_test_data): Likewise.
9950 (y0_test_data): Likewise.
9951 (y1_test_data): Likewise.
9952 (yn_test_data): Update call to AUTO_TESTS_if_f.
9953 (main): Do not call removed functions.
9954
d71aeee8
JM
99552014-03-19 Joseph Myers <joseph@codesourcery.com>
9956
9957 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9958 (ldexp_test_data): Remove.
9959 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9960 scalbn_test_data.
9961 (scalb_test): Use ALL_RM_TEST.
9962
baaf1ded
AS
99632014-03-19 Andreas Schwab <schwab@suse.de>
9964
9965 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9966
b1115e91
JM
99672014-03-19 Joseph Myers <joseph@codesourcery.com>
9968
9969 [BZ #16649]
9970 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9971 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9972 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9974 (__ASSUME_PREADV): Undefine.
9975 (__ASSUME_PWRITEV): Likewise.
9976
0283ecca
RM
99772014-03-18 Roland McGrath <roland@hack.frob.com>
9978
7d375303
RM
9979 * bits/mman-linux.h: Add comment about non-Linux use.
9980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9981 bits/mman-linux.h resting place.
9982
0283ecca
RM
9983 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9984 * bits/mman-linux.h: ... here.
9985
aebe1003
AZ
99862014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9987
9988 * conform/conformtest.pl: Add standard definition when calling C
9989 preprocessor on data files.
9990 (checknamespace): Remove unused variable.
9991
b29b6bb8
JM
99922014-03-18 Joseph Myers <joseph@codesourcery.com>
9993
9994 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9995 minus_oflow, plus_uflow and minus_uflow in expected results.
9996 * math/libm-test.inc (scalbn_test_data): Add more tests of
9997 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9998 minus_uflow.
9999 (scalbn_test): Use ALL_RM_TEST.
10000 (scalbln_test_data): Add more tests of negative arguments. Use
10001 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10002 (scalbln_test): Use ALL_RM_TEST.
10003
c8f8fa15
RM
100042014-03-18 Roland McGrath <roland@hack.frob.com>
10005
10006 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10007
fede7a5f
WN
100082014-03-18 Will Newton <will.newton@linaro.org>
10009
10010 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10011 inaccurate comment.
10012
80cf0a58
JM
100132014-03-18 Joseph Myers <joseph@codesourcery.com>
10014
10015 * Makerules [!subdir] (check-abi): Exit with error status if a
10016 test failed.
10017
b3620862
JM
100182014-03-17 Joseph Myers <joseph@codesourcery.com>
10019
10020 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10021 for rint. Include results for all rounding modes.
10022 (nearbyint_test): Use ALL_RM_TEST.
10023 (rint_test_data): Include all tests used for nearbyint.
10024
788bba36
WN
100252014-03-17 Will Newton <will.newton@linaro.org>
10026
04ec140a
WN
10027 * nptl/sysdeps/pthread/pthread.h: Revert previous
10028 change.
10029
7579d8d5
WN
10030 * sysdeps/generic/ldsodefs.h: Revert previous
10031 change.
10032
c15cf13a
WN
10033 * libio/genops.c: Revert previous change.
10034 * libio/libioP.h: Likewise.
10035 * stdio-common/vfprintf.c: Likewise.
10036
d0ac1324
WN
10037 * sysdeps/generic/math_private.h: Revert previous
10038 change.
10039
9290130a
WN
10040 * sysdeps/generic/math_private.h: Check whether
10041 HAVE_RM_CTX is defined with #ifdef rather
10042 than #if.
10043
afb466fc
WN
10044 * argp/argp-fmtstream.h: Check whether
10045 __STRICT_ANSI__ is defined with #ifdef rather
10046 than #if.
10047 * argp/argp.h: Likewise.
10048
f7efd7c3
WN
10049 * libio/genops.c: Check whether
10050 _IO_JUMPS_OFFSET is defined with #ifdef rather
10051 than #if.
10052 * libio/libioP.h: Likewise.
10053 * stdio-common/vfprintf.c: Likewise.
10054
53f1bed3
WN
10055 * sysdeps/generic/ldsodefs.h: Check whether
10056 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10057 than #if.
10058
788bba36
WN
10059 * nptl/sysdeps/pthread/pthread.h: Check
10060 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10061 its value.
10062
fcd89ebe
SP
100632014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10064
ae42bbc5
SP
10065 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10066 setting O_APPEND.
10067 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10068 test case.
10069
ea33158c
SP
10070 [BZ #16680]
10071 * libio/fileops.c (_IO_file_open): Seek to end of file but
10072 don't cache the offset.
10073 (get_file_offset): Remove function.
10074 (do_ftell): Use cached offset when available.
10075 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10076 don't cache the offset.
10077 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10078 case.
10079 (do_one_test): Call it.
10080 (do_ftell_test): Fix up expected old offset for a+ mode.
10081 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10082 available.
10083
b1dbb426
SP
10084 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10085 up test status with function return status.
10086 (do_write_test): Likewise.
10087 (do_append_test): Likewise.
10088
fcd89ebe
SP
10089 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10090 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10091 Remove.
10092
9962a2d3
JM
100932014-03-17 Joseph Myers <joseph@codesourcery.com>
10094
10095 * math/gen-libm-test.pl (parse_args): Handle results specified for
10096 each rounding mode separately.
10097 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10098 tests and results from lrint_tonearest_test_data,
10099 lrint_towardzero_test_data, lrint_downward_test_data and
10100 lrint_upward_test_data.
10101 (lrint_test): Use ALL_RM_TEST.
10102 (lrint_tonearest_test_data): Remove.
10103 (lrint_test_tonearest): Likewise.
10104 (lrint_towardzero_test_data): Likewise.
10105 (lrint_test_towardzero): Likewise.
10106 (lrint_downward_test_data): Likewise.
10107 (lrint_test_downward): Likewise.
10108 (lrint_upward_test_data): Likewise.
10109 (lrint_test_upward): Likewise.
10110 (llrint_test_data): Merge in per-rounding-mode tests and results
10111 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10112 llrint_downward_test_data and llrint_upward_test_data.
10113 (llrint_test): Use ALL_RM_TEST.
10114 (llrint_tonearest_test_data): Remove.
10115 (llrint_test_tonearest): Likewise.
10116 (llrint_towardzero_test_data): Likewise.
10117 (llrint_test_towardzero): Likewise.
10118 (llrint_downward_test_data): Likewise.
10119 (llrint_test_downward): Likewise.
10120 (llrint_upward_test_data): Likewise.
10121 (llrint_test_upward): Likewise.
10122 (rint_test_data): Merge in per-rounding-mode tests and results
10123 from rint_tonearest_test_data, rint_towardzero_test_data,
10124 rint_downward_test_data and rint_upward_test_data. Add
10125 per-rounding-mode results for tests not in those arrays.
10126 (rint_test): Use ALL_RM_TEST.
10127 (rint_tonearest_test_data): Remove.
10128 (rint_test_tonearest): Likewise.
10129 (rint_towardzero_test_data): Likewise.
10130 (rint_test_towardzero): Likewise.
10131 (rint_downward_test_data): Likewise.
10132 (rint_test_downward): Likewise.
10133 (rint_upward_test_data): Likewise.
10134 (rint_test_upward): Likewise.
10135 (main): Don't call removed functions.
10136
5006148e
RM
101372014-03-14 Roland McGrath <roland@hack.frob.com>
10138
10139 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10140 "Compiled on ..." crapola. It is anti-useful.
10141
d6fe5e58
JM
101422014-03-14 Joseph Myers <joseph@codesourcery.com>
10143
10144 * scripts/evaluate-test.sh: Handle fourth argument to determine
10145 whether test run should stop on failure.
10146 * Makeconfig (stop-on-test-failure): New variable.
10147 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10148 $(stop-on-test-failure).
10149 * Makefile (tests): Give a summary of results from testing and
10150 exit with failure status if they include an ERROR or FAIL.
10151 (xtests): Likewise.
10152 * manual/install.texi (Configuring and compiling): Mention
10153 stop-on-test-failure=y.
10154 * INSTALL: Regenerated.
10155
498a2233
RM
101562014-03-14 Roland McGrath <roland@hack.frob.com>
10157
22dbc19d
RM
10158 * scripts/versionlist.awk: New file.
10159 * Makerules [$(build-shared) = yes]
10160 (postclean-generated): Add Versions.def, not Versions.def.v and
10161 Versions.def.v.i.
10162 ($(common-objpfx)Versions.def.v.i): Target removed.
10163 ($(common-objpfx)Versions.def): New target.
10164 ($(common-objpfx)Versions.all): Depend on that rather that
10165 $(common-objpfx)Versions.def.v.
10166 * Versions.def: File removed.
10167
498a2233
RM
10168 * Makeconfig (+gccwarn): Add -Wundef.
10169 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10170 a dl-sysdep.h breaking its contract.
10171 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10172 * include/stackinfo.h: New file.
10173 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10174 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10175 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10176 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10177 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10178 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10179 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10180 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10181 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10182 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10183 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10184 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10185 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10186 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10187 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10188
c7de5025
AZ
101892014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10190
10191 [BZ #16707]
10192 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10193 implementation.
10194 * math/libm-test.inc (round_test_data): Add more tests.
10195
98fb27a3
AZ
10196 [BZ #16706]
10197 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10198 implementation.
10199 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10200
374f7f61
AZ
10201 [BZ #16701]
10202 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10203 implementation.
10204 * math/libm-test.inc (ceil_test_data): Add more tests.
10205
4655c291
AZ
10206 * math/libm-test.inc (trunc_test_data): Add more tests related to
10207 BZ#16414.
10208
d7329d4b
RM
102092014-03-14 Roland McGrath <roland@hack.frob.com>
10210
10211 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10212 with #if rather than #ifdef.
10213 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10214
aa4de9ce
L
102152014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10216
10217 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10218 first. Disable AVX-512 GCC support if assembler doesn't support
10219 it.
10220 * sysdeps/x86_64/configure: Regenerated.
10221
2e03fae7
CD
102222014-03-13 Carlos O'Donell <carlos@redhat.com>
10223
10224 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10225 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10226 (__old_pthread_attr_setstack): Likewise.
10227 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10228 [!_STACK_GROWS_DOWN]: Likewise.
10229
43ca83ec
MF
102302014-03-13 Mike Frysinger <vapier@gentoo.org>
10231
10232 * config.make.in (have-bash2): Delete.
10233 * configure.ac (libc_cv_have_bash2): Delete.
10234 * configure: Regenerate.
10235 * elf/Makefile (common-ldd-rewrite): Rename to ...
10236 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10237 (sh-ldd-rewrite): Delete.
10238 (bash-ldd-rewrite): Delete.
10239 (have-bash2): Delete checks.
57f41c40
AS
10240 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10241 ldd-rewrite.
c66e48b4
MF
10242
10243 * config.make.in (have-ksh): Delete.
10244 (KSH): Delete.
10245 * configure.ac (libc_cv_have_ksh): Delete.
10246 * configure: Regenerate.
10247
b93834ef
MF
10248 * elf/Makefile: Delete $(have-ksh) check.
10249 ($(objpfx)sotruss): Change KSH to BASH.
10250 * elf/sotruss.ksh: Rename to ...
10251 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10252 function style to match POSIX. Drop ksh vim mode setting.
10253
f3a4632a
MF
10254 * manual/time.texi (Specifying the Time Zone with TZ): Change
10255 Tuesday to Thursday.
10256
5896c8bd
MF
10257 * debug/tst-longjmp_chk2.c: Update header comment.
10258 (stackoverflow_handler): Add comment. Call assert on pass value.
10259
2d63a517
IZ
102602014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10261
7e54fd04 10262 [BZ #16194]
2d63a517
IZ
10263 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10264 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10265 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10266 (La_x86_64_vector): Add zmm.
10267 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10268 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10269 ($(objpfx)tst-audit10): New target.
10270 ($(objpfx)tst-audit10.out): Likewise.
10271 (tst-audit10-ENV): New.
10272 (AVX512-CFLAGS): Likewise.
10273 (CFLAGS-tst-audit10.c): Likewise.
10274 (CFLAGS-tst-auditmod10a.c): Likewise.
10275 (CFLAGS-tst-auditmod10b.c): Likewise.
10276 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10277 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10278 * sysdeps/x86_64/configure: Regenerated.
10279 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10280 AVX-512 zmm register support.
10281 (_dl_x86_64_save_sse): Likewise.
10282 (_dl_x86_64_restore_sse): Likewise.
10283 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10284 size vector registers.
10285 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10286 (ZMM_SIZE): Likewise.
10287 * sysdeps/x86_64/tst-audit10.c: New file.
10288 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10289 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10290
44c4e5d5
RM
102912014-03-13 Roland McGrath <roland@hack.frob.com>
10292
10293 * configure.ac (HAVE_EHDR_START): New check.
10294 * configure: Regenerated.
10295 * config.h.in (HAVE_EHDR_START): New #undef.
10296 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10297 assuming the lowest-addressed segment maps the start of the file.
10298
acd6e389
JM
102992014-03-13 Joseph Myers <joseph@codesourcery.com>
10300
10301 * INSTALL: Regenerated.
10302
6f918f36
WN
103032014-03-13 Will Newton <will.newton@linaro.org>
10304
10305 * manual/setjmp.texi (System V contexts): Improve
10306 clarity and grammar of documentation.
10307
798212a0
PP
103082014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10309
10310 [BZ #16381]
798212a0 10311 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10312 (tests-pie): Add tst-pie2.
798212a0
PP
10313 * elf/tst-pie2.c: New file.
10314 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10315 for ET_EXEC.
10316 * elf/rtld.c (map_doit): Load executable as lt_executable.
10317 (dl_main): Likewise.
10318
abe6d90c
JM
103192014-03-12 Joseph Myers <joseph@codesourcery.com>
10320
10321 [BZ #16642]
10322 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10323 (__ASSUME_PSELECT): Undefine.
10324
dd3946c6
AZ
103252014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10326
10327 [BZ #16689]
10328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10329 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10330 static build.
10331 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10332 selector for static builds.
10333
c44496df
SP
103342014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10335
10336 [BZ #16695]
10337 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10338 key in the buffer.
10339
27c7220a
AZ
103402014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10341
57f41c40
AS
10342 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10343 IFUNC selector for static builds.
27c7220a 10344
600fa361
JM
103452014-03-11 Joseph Myers <joseph@codesourcery.com>
10346
76c96cf7
JM
10347 * sysdeps/mips/math_private.h [__mips_hard_float]
10348 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10349 libc_feresetround_mips_ctx.
10350 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10351 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10352 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10353
600fa361
JM
10354 [BZ #16677]
10355 * math/s_nextafter.c (__nextafter): Do not return value from
10356 overflowing computation.
10357 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10358 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10359 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10360 Likewise.
10361 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10362 Likewise.
10363 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10364 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10365
d7706c32
RM
103662014-03-11 Roland McGrath <roland@hack.frob.com>
10367
10368 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10369 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10370 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10371 the new mov targetting sp.
10372
4facea47
AZ
103732014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10374
10375 [BZ #16683]
10376 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10377 Define it for static builds as well.
10378 (NO_BZERO_IMPL): Likewise.
10379
e65caf1f
VR
103802014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10381
10382 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10383 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10384 multiarch strspn for PPC64.
10385 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10386 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10388 (__libc_ifunc_impl_list): Likewise.
10389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10390 multiarch optimizations
10391 * string/strspn.c (strspn): Using macro to redefine symbol name.
10392
ba9cc071
AZ
103932014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10394 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10395
10396 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10397 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10398 multiarch strncat for PPC64.
10399 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10400 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10402 (__libc_ifunc_impl_list): Likewise.
10403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10404 multiarch optimizations
10405
8b4ff974
SP
104062014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10407
10408 [BZ #16639]
10409 * nscd/nscd.service: Make service type forking.
10410
54b46a4b
AZ
104112014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10412
10413 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10414 sign in non default rounding modes.
10415 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10416
e9996ef7
JM
104172014-03-08 Joseph Myers <joseph@codesourcery.com>
10418
10419 * math/libm-test.inc (ALL_RM_TEST): New macro.
10420 (ceil_test): Use ALL_RM_TEST.
10421 (cimag_test): Likewise.
10422 (conj_test): Likewise.
10423 (copysign_test): Likewise.
10424 (cproj_test): Likewise.
10425 (creal_test): Likewise.
10426 (fabs_test): Likewise.
10427 (floor_test): Likewise.
10428 (fmax_test): Likewise.
10429 (fmin_test): Likewise.
10430 (fmod_test): Likewise.
10431 (fpclassify_test): Likewise.
10432 (frexp_test): Likewise.
10433 (ilogb_test): Likewise.
10434 (isfinite_test): Likewise.
10435 (finite_test): Likewise.
10436 (isgreater_test): Likewise.
10437 (isgreaterequal_test): Likewise.
10438 (isinf_test): Likewise.
10439 (isless_test): Likewise.
10440 (islessequal_test): Likewise.
10441 (islessgreater_test): Likewise.
10442 (isnan_test): Likewise.
10443 (isnormal_test): Likewise.
10444 (issignaling_test): Likewise.
10445 (isunordered_test): Likewise.
10446 (logb_test): Likewise.
10447 (logb_downward_test_data): Remove.
10448 (logb_test_downward): Likewise.
10449 (lround_test): Use ALL_RM_TEST.
10450 (llround_test): Likewise.
10451 (modf_test): Likewise.
10452 (nexttoward_test): Likewise.
10453 (remainder_test): Likewise.
10454 (drem_test): Likewise.
10455 (remainder_tonearest_test_data): Likewise.
10456 (remainder_test_tonearest): Likewise.
10457 (drem_test_tonearest): Likewise.
10458 (remainder_towardzero_test_data): Likewise.
10459 (remainder_test_towardzero): Likewise.
10460 (drem_test_towardzero): Likewise.
10461 (remainder_downward_test_data): Likewise.
10462 (remainder_test_downward): Likewise.
10463 (drem_test_downward): Likewise.
10464 (remainder_upward_test_data): Likewise.
10465 (remainder_test_upward): Likewise.
10466 (drem_test_upward): Likewise.
10467 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10468 (round_test): Use ALL_RM_TEST.
10469 (signbit_test): Likewise.
10470 (trunc_test): Likewise.
10471 (significand_test): Likewise.
10472 (main): Don't call removed functions.
10473
bc61d27c
JM
104742014-03-07 Joseph Myers <joseph@codesourcery.com>
10475
5c780849
JM
10476 [BZ #16674]
10477 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10478 || __USE_XOPEN2K8].
10479 (ILL_ILLOPN): Likewise.
10480 (ILL_ILLADR): Likewise.
10481 (ILL_ILLTRP): Likewise.
10482 (ILL_PRVOPC): Likewise.
10483 (ILL_PRVREG): Likewise.
10484 (ILL_COPROC): Likewise.
10485 (ILL_BADSTK): Likewise.
10486 (FPE_INTDIV): Likewise.
10487 (FPE_INTOVF): Likewise.
10488 (FPE_FLTDIV): Likewise.
10489 (FPE_FLTOVF): Likewise.
10490 (FPE_FLTUND): Likewise.
10491 (FPE_FLTRES): Likewise.
10492 (FPE_FLTINV): Likewise.
10493 (FPE_FLTSUB): Likewise.
10494 (SEGV_MAPERR): Likewise.
10495 (SEGV_ACCERR): Likewise.
10496 (BUS_ADRALN): Likewise.
10497 (BUS_ADRERR): Likewise.
10498 (BUS_OBJERR): Likewise.
10499 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10500 (TRAP_TRACE): Likewise.
10501 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10502 __USE_XOPEN2K8].
10503 (CLD_KILLED): Likewise.
10504 (CLD_DUMPED): Likewise.
10505 (CLD_TRAPPED): Likewise.
10506 (CLD_STOPPED): Likewise.
10507 (CLD_CONTINUED): Likewise.
10508 (POLL_IN): Likewise.
10509 (POLL_OUT): Likewise.
10510 (POLL_MSG): Likewise.
10511 (POLL_ERR): Likewise.
10512 (POLL_PRI): Likewise.
10513 (POLL_HUP): Likewise.
10514 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10515 Likewise.
10516 (ILL_ILLOPN): Likewise.
10517 (ILL_ILLADR): Likewise.
10518 (ILL_ILLTRP): Likewise.
10519 (ILL_PRVOPC): Likewise.
10520 (ILL_PRVREG): Likewise.
10521 (ILL_COPROC): Likewise.
10522 (ILL_BADSTK): Likewise.
10523 (FPE_INTDIV): Likewise.
10524 (FPE_INTOVF): Likewise.
10525 (FPE_FLTDIV): Likewise.
10526 (FPE_FLTOVF): Likewise.
10527 (FPE_FLTUND): Likewise.
10528 (FPE_FLTRES): Likewise.
10529 (FPE_FLTINV): Likewise.
10530 (FPE_FLTSUB): Likewise.
10531 (SEGV_MAPERR): Likewise.
10532 (SEGV_ACCERR): Likewise.
10533 (BUS_ADRALN): Likewise.
10534 (BUS_ADRERR): Likewise.
10535 (BUS_OBJERR): Likewise.
10536 (BUS_MCEERR_AR): Likewise.
10537 (BUS_MCEERR_AO): Likewise.
10538 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10539 (TRAP_TRACE): Likewise.
10540 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10541 __USE_XOPEN2K8].
10542 (CLD_KILLED): Likewise.
10543 (CLD_DUMPED): Likewise.
10544 (CLD_TRAPPED): Likewise.
10545 (CLD_STOPPED): Likewise.
10546 (CLD_CONTINUED): Likewise.
10547 (POLL_IN): Likewise.
10548 (POLL_OUT): Likewise.
10549 (POLL_MSG): Likewise.
10550 (POLL_ERR): Likewise.
10551 (POLL_PRI): Likewise.
10552 (POLL_HUP): Likewise.
10553 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10554 (ILL_ILLOPN): Likewise.
10555 (ILL_ILLADR): Likewise.
10556 (ILL_ILLTRP): Likewise.
10557 (ILL_PRVOPC): Likewise.
10558 (ILL_PRVREG): Likewise.
10559 (ILL_COPROC): Likewise.
10560 (ILL_BADSTK): Likewise.
10561 (FPE_INTDIV): Likewise.
10562 (FPE_INTOVF): Likewise.
10563 (FPE_FLTDIV): Likewise.
10564 (FPE_FLTOVF): Likewise.
10565 (FPE_FLTUND): Likewise.
10566 (FPE_FLTRES): Likewise.
10567 (FPE_FLTINV): Likewise.
10568 (FPE_FLTSUB): Likewise.
10569 (SEGV_MAPERR): Likewise.
10570 (SEGV_ACCERR): Likewise.
10571 (BUS_ADRALN): Likewise.
10572 (BUS_ADRERR): Likewise.
10573 (BUS_OBJERR): Likewise.
10574 (BUS_MCEERR_AR): Likewise.
10575 (BUS_MCEERR_AO): Likewise.
10576 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10577 (TRAP_TRACE): Likewise.
10578 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10579 __USE_XOPEN2K8].
10580 (CLD_KILLED): Likewise.
10581 (CLD_DUMPED): Likewise.
10582 (CLD_TRAPPED): Likewise.
10583 (CLD_STOPPED): Likewise.
10584 (CLD_CONTINUED): Likewise.
10585 (POLL_IN): Likewise.
10586 (POLL_OUT): Likewise.
10587 (POLL_MSG): Likewise.
10588 (POLL_ERR): Likewise.
10589 (POLL_PRI): Likewise.
10590 (POLL_HUP): Likewise.
10591 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10592 Likewise.
10593 (ILL_ILLOPN): Likewise.
10594 (ILL_ILLADR): Likewise.
10595 (ILL_ILLTRP): Likewise.
10596 (ILL_PRVOPC): Likewise.
10597 (ILL_PRVREG): Likewise.
10598 (ILL_COPROC): Likewise.
10599 (ILL_BADSTK): Likewise.
10600 (ILL_BADIADDR): Likewise.
10601 (ILL_BREAK): Likewise.
10602 (FPE_INTDIV): Likewise.
10603 (FPE_INTOVF): Likewise.
10604 (FPE_FLTDIV): Likewise.
10605 (FPE_FLTOVF): Likewise.
10606 (FPE_FLTUND): Likewise.
10607 (FPE_FLTRES): Likewise.
10608 (FPE_FLTINV): Likewise.
10609 (FPE_FLTSUB): Likewise.
10610 (FPE_DECOVF): Likewise.
10611 (FPE_DECDIV): Likewise.
10612 (FPE_DECERR): Likewise.
10613 (FPE_INVASC): Likewise.
10614 (FPE_INVDEC): Likewise.
10615 (SEGV_MAPERR): Likewise.
10616 (SEGV_ACCERR): Likewise.
10617 (SEGV_PSTKOVF): Likewise.
10618 (BUS_ADRALN): Likewise.
10619 (BUS_ADRERR): Likewise.
10620 (BUS_OBJERR): Likewise.
10621 (BUS_MCEERR_AR): Likewise.
10622 (BUS_MCEERR_AO): Likewise.
10623 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10624 (TRAP_TRACE): Likewise.
10625 (TRAP_BRANCH): Likewise.
10626 (TRAP_HWBKPT): Likewise.
10627 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10628 __USE_XOPEN2K8].
10629 (CLD_KILLED): Likewise.
10630 (CLD_DUMPED): Likewise.
10631 (CLD_TRAPPED): Likewise.
10632 (CLD_STOPPED): Likewise.
10633 (CLD_CONTINUED): Likewise.
10634 (POLL_IN): Likewise.
10635 (POLL_OUT): Likewise.
10636 (POLL_MSG): Likewise.
10637 (POLL_ERR): Likewise.
10638 (POLL_PRI): Likewise.
10639 (POLL_HUP): Likewise.
10640 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10641 (ILL_ILLOPN): Likewise.
10642 (ILL_ILLADR): Likewise.
10643 (ILL_ILLTRP): Likewise.
10644 (ILL_PRVOPC): Likewise.
10645 (ILL_PRVREG): Likewise.
10646 (ILL_COPROC): Likewise.
10647 (ILL_BADSTK): Likewise.
10648 (FPE_INTDIV): Likewise.
10649 (FPE_INTOVF): Likewise.
10650 (FPE_FLTDIV): Likewise.
10651 (FPE_FLTOVF): Likewise.
10652 (FPE_FLTUND): Likewise.
10653 (FPE_FLTRES): Likewise.
10654 (FPE_FLTINV): Likewise.
10655 (FPE_FLTSUB): Likewise.
10656 (SEGV_MAPERR): Likewise.
10657 (SEGV_ACCERR): Likewise.
10658 (BUS_ADRALN): Likewise.
10659 (BUS_ADRERR): Likewise.
10660 (BUS_OBJERR): Likewise.
10661 (BUS_MCEERR_AR): Likewise.
10662 (BUS_MCEERR_AO): Likewise.
10663 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10664 (TRAP_TRACE): Likewise.
10665 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10666 __USE_XOPEN2K8].
10667 (CLD_KILLED): Likewise.
10668 (CLD_DUMPED): Likewise.
10669 (CLD_TRAPPED): Likewise.
10670 (CLD_STOPPED): Likewise.
10671 (CLD_CONTINUED): Likewise.
10672 (POLL_IN): Likewise.
10673 (POLL_OUT): Likewise.
10674 (POLL_MSG): Likewise.
10675 (POLL_ERR): Likewise.
10676 (POLL_PRI): Likewise.
10677 (POLL_HUP): Likewise.
10678 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10679 (ILL_ILLOPN): Likewise.
10680 (ILL_ILLADR): Likewise.
10681 (ILL_ILLTRP): Likewise.
10682 (ILL_PRVOPC): Likewise.
10683 (ILL_PRVREG): Likewise.
10684 (ILL_COPROC): Likewise.
10685 (ILL_BADSTK): Likewise.
10686 (FPE_INTDIV): Likewise.
10687 (FPE_INTOVF): Likewise.
10688 (FPE_FLTDIV): Likewise.
10689 (FPE_FLTOVF): Likewise.
10690 (FPE_FLTUND): Likewise.
10691 (FPE_FLTRES): Likewise.
10692 (FPE_FLTINV): Likewise.
10693 (FPE_FLTSUB): Likewise.
10694 (SEGV_MAPERR): Likewise.
10695 (SEGV_ACCERR): Likewise.
10696 (BUS_ADRALN): Likewise.
10697 (BUS_ADRERR): Likewise.
10698 (BUS_OBJERR): Likewise.
10699 (BUS_MCEERR_AR): Likewise.
10700 (BUS_MCEERR_AO): Likewise.
10701 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10702 (TRAP_TRACE): Likewise.
10703 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10704 __USE_XOPEN2K8].
10705 (CLD_KILLED): Likewise.
10706 (CLD_DUMPED): Likewise.
10707 (CLD_TRAPPED): Likewise.
10708 (CLD_STOPPED): Likewise.
10709 (CLD_CONTINUED): Likewise.
10710 (POLL_IN): Likewise.
10711 (POLL_OUT): Likewise.
10712 (POLL_MSG): Likewise.
10713 (POLL_ERR): Likewise.
10714 (POLL_PRI): Likewise.
10715 (POLL_HUP): Likewise.
10716 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10717 (ILL_ILLOPN): Likewise.
10718 (ILL_ILLADR): Likewise.
10719 (ILL_ILLTRP): Likewise.
10720 (ILL_PRVOPC): Likewise.
10721 (ILL_PRVREG): Likewise.
10722 (ILL_COPROC): Likewise.
10723 (ILL_BADSTK): Likewise.
10724 (FPE_INTDIV): Likewise.
10725 (FPE_INTOVF): Likewise.
10726 (FPE_FLTDIV): Likewise.
10727 (FPE_FLTOVF): Likewise.
10728 (FPE_FLTUND): Likewise.
10729 (FPE_FLTRES): Likewise.
10730 (FPE_FLTINV): Likewise.
10731 (FPE_FLTSUB): Likewise.
10732 (SEGV_MAPERR): Likewise.
10733 (SEGV_ACCERR): Likewise.
10734 (BUS_ADRALN): Likewise.
10735 (BUS_ADRERR): Likewise.
10736 (BUS_OBJERR): Likewise.
10737 (BUS_MCEERR_AR): Likewise.
10738 (BUS_MCEERR_AO): Likewise.
10739 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10740 (TRAP_TRACE): Likewise.
10741 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10742 __USE_XOPEN2K8].
10743 (CLD_KILLED): Likewise.
10744 (CLD_DUMPED): Likewise.
10745 (CLD_TRAPPED): Likewise.
10746 (CLD_STOPPED): Likewise.
10747 (CLD_CONTINUED): Likewise.
10748 (POLL_IN): Likewise.
10749 (POLL_OUT): Likewise.
10750 (POLL_MSG): Likewise.
10751 (POLL_ERR): Likewise.
10752 (POLL_PRI): Likewise.
10753 (POLL_HUP): Likewise.
10754 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10755 (ILL_ILLOPN): Likewise.
10756 (ILL_ILLADR): Likewise.
10757 (ILL_ILLTRP): Likewise.
10758 (ILL_PRVOPC): Likewise.
10759 (ILL_PRVREG): Likewise.
10760 (ILL_COPROC): Likewise.
10761 (ILL_BADSTK): Likewise.
10762 (ILL_DBLFLT): Likewise.
10763 (ILL_HARDWALL): Likewise.
10764 (FPE_INTDIV): Likewise.
10765 (FPE_INTOVF): Likewise.
10766 (FPE_FLTDIV): Likewise.
10767 (FPE_FLTOVF): Likewise.
10768 (FPE_FLTUND): Likewise.
10769 (FPE_FLTRES): Likewise.
10770 (FPE_FLTINV): Likewise.
10771 (FPE_FLTSUB): Likewise.
10772 (SEGV_MAPERR): Likewise.
10773 (SEGV_ACCERR): Likewise.
10774 (BUS_ADRALN): Likewise.
10775 (BUS_ADRERR): Likewise.
10776 (BUS_OBJERR): Likewise.
10777 (BUS_MCEERR_AR): Likewise.
10778 (BUS_MCEERR_AO): Likewise.
10779 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10780 (TRAP_TRACE): Likewise.
10781 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10782 __USE_XOPEN2K8].
10783 (CLD_KILLED): Likewise.
10784 (CLD_DUMPED): Likewise.
10785 (CLD_TRAPPED): Likewise.
10786 (CLD_STOPPED): Likewise.
10787 (CLD_CONTINUED): Likewise.
10788 (POLL_IN): Likewise.
10789 (POLL_OUT): Likewise.
10790 (POLL_MSG): Likewise.
10791 (POLL_ERR): Likewise.
10792 (POLL_PRI): Likewise.
10793 (POLL_HUP): Likewise.
10794 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10795 (ILL_ILLOPN): Likewise.
10796 (ILL_ILLADR): Likewise.
10797 (ILL_ILLTRP): Likewise.
10798 (ILL_PRVOPC): Likewise.
10799 (ILL_PRVREG): Likewise.
10800 (ILL_COPROC): Likewise.
10801 (ILL_BADSTK): Likewise.
10802 (FPE_INTDIV): Likewise.
10803 (FPE_INTOVF): Likewise.
10804 (FPE_FLTDIV): Likewise.
10805 (FPE_FLTOVF): Likewise.
10806 (FPE_FLTUND): Likewise.
10807 (FPE_FLTRES): Likewise.
10808 (FPE_FLTINV): Likewise.
10809 (FPE_FLTSUB): Likewise.
10810 (SEGV_MAPERR): Likewise.
10811 (SEGV_ACCERR): Likewise.
10812 (BUS_ADRALN): Likewise.
10813 (BUS_ADRERR): Likewise.
10814 (BUS_OBJERR): Likewise.
10815 (BUS_MCEERR_AR): Likewise.
10816 (BUS_MCEERR_AO): Likewise.
10817 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10818 (TRAP_TRACE): Likewise.
10819 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10820 __USE_XOPEN2K8].
10821 (CLD_KILLED): Likewise.
10822 (CLD_DUMPED): Likewise.
10823 (CLD_TRAPPED): Likewise.
10824 (CLD_STOPPED): Likewise.
10825 (CLD_CONTINUED): Likewise.
10826 (POLL_IN): Likewise.
10827 (POLL_OUT): Likewise.
10828 (POLL_MSG): Likewise.
10829 (POLL_ERR): Likewise.
10830 (POLL_PRI): Likewise.
10831 (POLL_HUP): Likewise.
10832 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10833 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10834
bc61d27c
JM
10835 [BZ #16670]
10836 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10837 before #include of <time.h>.
10838 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10839 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10840 (test-xfail-UNIX98/sched.h/conform): Likewise.
10841
302949e2
MS
108422014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10843
10844 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10845 error absence of trapping exception support.
10846 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10847
a00f522a
JM
108482014-03-07 Joseph Myers <joseph@codesourcery.com>
10849
6f99f280
JM
10850 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10851 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10852 * timezone/Makefile (testdata): Move definition above include of
10853 Rules.
10854 (test-zones): New variable.
10855 (tests-special): Add zone files.
10856 (build-testdata): Use $(evaluate-test).
10857
0b20a9e8
JM
10858 * elf/Makefile (tests-special): Rename tests to end with .out.
10859 ($(objpfx)noload-mem): Likewise.
10860 ($(objpfx)tst-leaks1-mem): Likewise.
10861 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10862 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10863 $(objpfx)test-iconvconfig.out.
10864 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10865 set -e inside subshell and redirect output to file.
10866 * iconvdata/Makefile (generated): Rename tests to end with .out.
10867 Correct type.
10868 (tests-special): Rename tests to end with .out.
10869 ($(objpfx)mtrace-tst-loading): Likewise.
10870 * intl/Makefile (generated): Likewise.
10871 (tests-special): Likewise.
10872 ($(objpfx)mtrace-tst-gettext): Likewise.
10873 * misc/Makefile (generated): Likewise.
10874 (tests-special): Likewise.
10875 ($(objpfx)tst-error1-mem): Likewise.
10876 * nptl/Makefile (tests-special): Likewise.
10877 ($(objpfx)tst-stack3-mem): Likewise.
10878 (generated): Likewise.
10879 * posix/Makefile (generated): Likewise.
10880 (tests-special): Likewise.
10881 (xtests-special): Likewise.
10882 ($(objpfx)tst-fnmatch-mem): Likewise.
10883 ($(objpfx)bug-regex2-mem): Likewise.
10884 ($(objpfx)bug-regex14-mem): Likewise.
10885 ($(objpfx)bug-regex21-mem): Likewise.
10886 ($(objpfx)bug-regex31-mem): Likewise.
10887 ($(objpfx)tst-vfork3-mem): Likewise.
10888 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10889 ($(objpfx)tst-pcre-mem): Likewise.
10890 ($(objpfx)tst-boost-mem): Likewise.
10891 ($(objpfx)bug-ga2-mem): Likewise.
10892 ($(objpfx)bug-glob2-mem): Likewise.
10893 * resolv/Makefile (generate): Likewise.
10894 (tests-special): Likewise.
10895 (xtests-special): Likewise.
10896 (generated): Likewise.
10897 ($(objpfx)mtrace-tst-leaks): Likewise.
10898 ($(objpfx)mtrace-tst-leaks2): Likewise.
10899
265d52ab
JM
10900 * scripts/merge-test-results.sh: New file.
10901 * Makefile (tests-special-notdir): New variable.
10902 (tests): Run merge-test-results.sh.
10903 (xtests): Likewise.
10904 * Rules (tests-special-notdir): New variable.
10905 (xtests-special-notdir): Likewise.
10906 (tests): Run merge-test-results.sh
10907 (xtests): Likewise.
10908
54ee292d
JM
10909 * Makeconfig (test-xfail-name): New variable.
10910 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10911 compute variable name for expected failures.
10912 * conform/Makefile (conformtest-headers-data): New variable.
10913 (conformtest-standards): Likewise.
10914 (conformtest-headers-ISO): Likewise.
10915 (conformtest-headers-ISO99): Likewise.
10916 (conformtest-headers-ISO11): Likewise.
10917 (conformtest-headers-POSIX): Likewise.
10918 (conformtest-headers-XPG3): Likewise.
10919 (conformtest-headers-XPG4): Likewise.
10920 (conformtest-headers-UNIX98): Likewise.
10921 (conformtest-headers-XOPEN2K): Likewise.
10922 (conformtest-headers-POSIX2008): Likewise.
10923 (conformtest-headers-XOPEN2K8): Likewise.
10924 (conformtest-header-list-base): Likewise.
10925 (conformtest-header-list-tests): Likewise.
10926 (conformtest-header-base): Likewise.
10927 (conformtest-header-tests): Likewise.
10928 (tests-special): Add $(conformtest-header-list-tests). If
10929 [$(fast-check) && !$(cross-compiling)], add
10930 $(conformtest-header-tests) instead of
10931 $(objpfx)run-conformtest.out.
10932 (generated): Add $(conformtest-header-list-base). If
10933 [$(fast-check) && !$(cross-compiling)], add
10934 $(conformtest-header-base). Remove previous setting.
10935 ($(conformtest-header-list-tests)): New target.
10936 (test-xfail-run-conformtest): Remove variable.
10937 ($(objpfx)run-conformtest.out): Remove target.
10938 (test-xfail-ISO11/complex.h/conform): New variable.
10939 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10940 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10941 (test-xfail-XPG3/varargs.h/conform): Likewise.
10942 (test-xfail-XPG4/varargs.h/conform): Likewise.
10943 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10944 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10945 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10946 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10947 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10948 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10949 (test-xfail-XPG3/ftw.h/conform): Likewise.
10950 (test-xfail-XPG3/grp.h/conform): Likewise.
10951 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10952 (test-xfail-XPG3/limits.h/conform): Likewise.
10953 (test-xfail-XPG3/pwd.h/conform): Likewise.
10954 (test-xfail-XPG3/search.h/conform): Likewise.
10955 (test-xfail-XPG3/signal.h/conform): Likewise.
10956 (test-xfail-XPG3/stdio.h/conform): Likewise.
10957 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10958 (test-xfail-XPG3/string.h/conform): Likewise.
10959 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10960 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10961 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10962 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10963 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10964 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10965 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10966 (test-xfail-XPG3/termios.h/conform): Likewise.
10967 (test-xfail-XPG3/time.h/conform): Likewise.
10968 (test-xfail-XPG3/unistd.h/conform): Likewise.
10969 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10970 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10971 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10972 (test-xfail-XPG4/netdb.h/conform): Likewise.
10973 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10974 (test-xfail-XPG4/signal.h/conform): Likewise.
10975 (test-xfail-XPG4/stdio.h/conform): Likewise.
10976 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10977 (test-xfail-XPG4/stropts.h/conform): Likewise.
10978 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10979 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10980 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10981 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10982 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10983 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10984 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10985 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10986 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10987 (test-xfail-XPG4/termios.h/conform): Likewise.
10988 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10989 (test-xfail-XPG4/unistd.h/conform): Likewise.
10990 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10991 (test-xfail-POSIX/sched.h/conform): Likewise.
10992 (test-xfail-POSIX/signal.h/conform): Likewise.
10993 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10994 (test-xfail-POSIX/tar.h/conform): Likewise.
10995 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10996 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10997 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10998 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10999 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11000 (test-xfail-UNIX98/sched.h/conform): Likewise.
11001 (test-xfail-UNIX98/signal.h/conform): Likewise.
11002 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11003 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11004 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11005 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11006 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11007 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11008 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11009 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11010 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11011 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11012 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11013 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11014 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11015 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11016 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11017 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11018 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11019 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11020 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11021 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11022 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11023 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11024 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11025 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11026 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11027 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11028 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11029 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11030 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11031 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11032 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11033 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11034 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11035 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11036 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11037 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11038 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11039 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11040 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11041 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11042 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11043 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11044 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11045 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11046 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11047 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11048 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11049 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11050 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11051 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11052 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11053 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11054 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11055 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11056 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11057 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11058 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11059 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11060 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11061 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11062 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11063 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11064 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11065 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11066 (conformtest-cc-flags): Likewise.
11067 ($(conformtest-header-tests): New target.
11068 * conform/check-header-lists.sh: New file.
11069 * conform/run-conformtest.sh: Remove.
11070
a00f522a
JM
11071 * conform/conformtest.pl: Allow ' and \ in values given for
11072 constants.
11073 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11074 inclusion.
11075 [POSIX] (sys/types.h): Likewise.
11076 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11077 inclusion.
11078 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11079 inclusion.
11080 * conform/data/signal.h-data (SIGIO): Remove expectation.
11081 [XPG3] (SIGBUS): Do not expect.
11082 [POSIX || XPG3] (SIGPOLL): Likewise.
11083 [POSIX || XPG3] (SIGPROF): Likewise.
11084 [POSIX || XPG3] (SIGSYS): Likewise.
11085 [XPG3] (SIGTRAP): Likewise.
11086 [POSIX || XPG3] (SIGURG): Likewise.
11087 [POSIX || XPG3] (SIGVTALRM): Likewise.
11088 [POSIX || XPG3] (SIGXCPU): Likewise.
11089 [POSIX || XPG3] (SIGXFSZ): Likewise.
11090 [POSIX] (SA_SIGINFO): Expect.
11091 [XPG3] (siginfo_t): Do not expect type or contents.
11092 [POSIX] (si_pid): Do not expect element.
11093 [POSIX] (si_uid): Likewise.
11094 [POSIX] (si_addr): Likewise.
11095 [POSIX] (si_status): Likewise.
11096 [POSIX] (si_band): Likewise.
11097 [XPG4] (si_value): Likewise.
11098 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11099 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11100 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11101 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11102 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11103 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11104 [POSIX || XPG3] (ILL_COPROC): Likewise.
11105 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11106 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11107 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11108 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11109 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11110 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11111 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11112 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11113 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11114 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11115 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11116 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11117 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11118 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11119 [POSIX || XPG3] (CLD_EXITED): Likewise.
11120 [POSIX || XPG3] (CLD_KILLED): Likewise.
11121 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11122 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11123 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11124 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11125 [POSIX || XPG3] (POLL_IN): Likewise.
11126 [POSIX || XPG3] (POLL_OUT): Likewise.
11127 [POSIX || XPG3] (POLL_MSG): Likewise.
11128 [POSIX || XPG3] (POLL_ERR): Likewise.
11129 [POSIX || XPG3] (POLL_PRI): Likewise.
11130 [POSIX || XPG3] (POLL_HUP): Likewise.
11131 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11132 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11133 (SIG*): Do not allow.
11134 [XPG3] (si_*): Likewise.
11135 [XPG3] (SI_*): Likewise.
11136 [XPG3 || XPG4] (sigev_*): Likewise.
11137 [XPG3 || XPG4] (SIGEV_*): Likewise.
11138 [XPG3 || XPG4] (sival_*): Likewise.
11139 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11140 [POSIX || XPG3] (BUS_*): Likewise.
11141 [POSIX || XPG3] (CLD_*): Likewise.
11142 [POSIX || XPG3] (FPE_*): Likewise.
11143 [POSIX || XPG3] (ILL_*): Likewise.
11144 [POSIX || XPG3] (POLL_*): Likewise.
11145 [POSIX || XPG3] (SEGV_*): Likewise.
11146 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11147 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11148 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11149 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11150 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11151 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11152 Specify type and value.
11153 (TVERSLEN): Likewise.
11154 (REGTYPE): Likewise.
11155 (AREGTYPE): Likewise.
11156 (LNKTYPE): Likewise.
11157 (SYMTYPE): Likewise.
11158 (CHRTYPE): Likewise.
11159 (BLKTYPE): Likewise.
11160 (DIRTYPE): Likewise.
11161 (FIFOTYPE): Likewise.
11162 (CONTTYPE): Likewise.
11163 (TSUID): Likewise.
11164 (TSGID): Likewise.
11165 (TSVTX): Likewise.
11166 (TUREAD): Likewise.
11167 (TUWRITE): Likewise.
11168 (TUEXEC): Likewise.
11169 (TGREAD): Likewise.
11170 (TGWRITE): Likewise.
11171 (TGEXEC): Likewise.
11172 (TOREAD): Likewise.
11173 (TOWRITE): Likewise.
11174 (TOEXEC): Likewise.
11175 [POSIX] (TSVTX): Expect constant.
11176
aa97dee1
JM
111772014-03-06 Joseph Myers <joseph@codesourcery.com>
11178
f214606a
JM
11179 * Makefile (tests): Change dependencies to ....
11180 (tests-special): ... additions to this variable.
11181 (tests): Depend on $(tests-special).
11182 * Makerules (check-abi-list): New variable.
11183 (check-abi): Depend on $(check-abi-list).
11184 [$(subdir) = elf] (tests-special): Add
11185 $(objpfx)check-abi-libc.out.
11186 [$(build-shared) = yes && subdir] (tests-special): Add
11187 $(check-abi-list).
11188 [$(build-shared) = yes && subdir] (tests): Do not depend on
11189 check-abi.
11190 * Rules (tests): Depend on $(tests-special).
11191 (xtests): Depend on $(xtests-special).
11192 * catgets/Makefile (tests): Change dependencies to ....
11193 (tests-special): ... additions to this variable.
11194 * conform/Makefile (tests): Change dependencies to ....
11195 (tests-special): ... additions to this variable.
11196 * elf/Makefile (tests): Change dependencies to ....
11197 (tests-special): ... additions to this variable.
11198 * grp/Makefile (tests): Change dependencies to ....
11199 (tests-special): ... additions to this variable.
11200 * iconv/Makefile (xtests): Change dependencies to ....
11201 (xtests-special): ... additions to this variable.
11202 * iconvdata/Makefile (tests): Change dependencies to ....
11203 (tests-special): ... additions to this variable.
11204 * intl/Makefile (tests): Change dependencies to ....
11205 (tests-special): ... additions to this variable. Also add
11206 $(objpfx)tst-gettext.out.
11207 * io/Makefile (tests): Change dependencies to ....
11208 (tests-special): ... additions to this variable.
11209 * libio/Makefile (tests): Change dependencies to ....
11210 (tests-special): ... additions to this variable.
11211 * malloc/Makefile (tests): Change dependencies to ....
11212 (tests-special): ... additions to this variable.
11213 * misc/Makefile (tests): Change dependencies to ....
11214 (tests-special): ... additions to this variable.
11215 * nptl/Makefile (tests): Change dependencies to ....
11216 (tests-special): ... additions to this variable.
11217 * nptl_db/Makefile (tests): Change dependencies to ....
11218 (tests-special): ... additions to this variable.
11219 * posix/Makefile (tests): Change dependencies to ....
11220 (tests-special): ... additions to this variable.
11221 (xtests): Change dependencies to ....
11222 (xtests-special): ... additions to this variable.
11223 * resolv/Makefile (tests): Change dependencies to ....
11224 (tests-special): ... additions to this variable.
11225 (xtests): Change dependencies to ....
11226 (xtests-special): ... additions to this variable.
11227 * stdio-common/Makefile (tests): Change dependencies to ....
11228 (tests-special): ... additions to this variable.
11229 (do-tst-unbputc): Remove target.
11230 (do-tst-printf): Likewise.
11231 * stdlib/Makefile (tests): Change dependencies to ....
11232 (tests-special): ... additions to this variable.
11233 * string/Makefile (tests): Change dependencies to ....
11234 (tests-special): ... additions to this variable.
11235 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11236 (tests-special): ... additions to this variable.
11237
81700b53
JM
11238 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11239 whole file.
11240 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11241 whole file.
11242 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11243 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11244
2ea18461
JM
11245 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11246 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11247 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11248 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11249 * conform/data/libgen.h-data [XPG3]: Likewise.
11250 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11251 * conform/data/ndbm.h-data [XPG3]: Likewise.
11252 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11253 * conform/data/netdb.h-data [XPG3]: Likewise.
11254 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11255 * conform/data/poll.h-data [XPG3]: Likewise.
11256 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11257 * conform/data/strings.h-data [XPG3]: Likewise.
11258 * conform/data/stropts.h-data [XPG3]: Likewise.
11259 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11260 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11261 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11262 Likewise.
11263 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11264 * conform/data/sys/time.h-data [XPG3]: Likewise.
11265 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11266 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11267 * conform/data/sys/un.h-data [XPG3]: Likewise.
11268 * conform/data/syslog.h-data [XPG3]: Likewise.
11269 * conform/data/ucontext.h-data [XPG3]: Likewise.
11270 * conform/data/utmpx.h-data [XPG3]: Likewise.
11271 * conform/data/varargs.h-data [UNIX98]: Enable file.
11272
355bc986
JM
11273 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11274
215db402
JM
11275 * math/libm-test.inc (struct test_f_f_data): Move expected results
11276 into structure for each rounding mode.
11277 (struct test_ff_f_data): Likewise.
11278 (struct test_ff_f_data_nexttoward): Likewise.
11279 (struct test_fi_f_data): Likewise.
11280 (struct test_fl_f_data): Likewise.
11281 (struct test_if_f_data): Likewise.
11282 (struct test_fff_f_data): Likewise.
11283 (struct test_c_f_data): Likewise.
11284 (struct test_f_f1_data): Likewise.
11285 (struct test_fF_f1_data): Likewise.
11286 (struct test_ffI_f1_data): Likewise.
11287 (struct test_c_c_data): Likewise.
11288 (struct test_cc_c_data): Likewise.
11289 (struct test_f_i_data): Likewise.
11290 (struct test_ff_i_data): Likewise.
11291 (struct test_f_l_data): Likewise.
11292 (struct test_f_L_data): Likewise.
11293 (struct test_fFF_11_data): Likewise.
11294 (RM_): New macro.
11295 (RM_FE_DOWNWARD): Likewise.
11296 (RM_FE_TONEAREST): Likewise.
11297 (RM_FE_TOWARDZERO): Likewise.
11298 (RM_FE_UPWARD): Likewise.
11299 (RUN_TEST_LOOP_f_f): Update references to expected results.
11300 (RUN_TEST_LOOP_2_f): Likewise.
11301 (RUN_TEST_LOOP_fff_f): Likewise.
11302 (RUN_TEST_LOOP_c_f): Likewise.
11303 (RUN_TEST_LOOP_f_f1): Likewise.
11304 (RUN_TEST_LOOP_fF_f1): Likewise.
11305 (RUN_TEST_LOOP_fI_f1): Likewise.
11306 (RUN_TEST_LOOP_ffI_f1): Likewise.
11307 (RUN_TEST_LOOP_c_c): Likewise.
11308 (RUN_TEST_LOOP_cc_c): Likewise.
11309 (RUN_TEST_LOOP_f_i): Likewise.
11310 (RUN_TEST_LOOP_f_i_tg): Likewise.
11311 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11312 (RUN_TEST_LOOP_f_b): Likewise.
11313 (RUN_TEST_LOOP_f_b_tg): Likewise.
11314 (RUN_TEST_LOOP_f_l): Likewise.
11315 (RUN_TEST_LOOP_f_L): Likewise.
11316 (RUN_TEST_LOOP_fFF_11): Likewise.
11317 * math/gen-libm-test.pl (parse_args): Output four copies of
11318 expected results for each test.
11319
67737b8f
JM
11320 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11321 (__ASSUME_UTIMES): Remove.
11322 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11323 (__ASSUME_UTIMES): Likewise.
11324
aa97dee1
JM
11325 * math/gen-auto-libm-tests.c: Update comment on output format.
11326 (output_for_one_input_case): Generate before-rounding and
11327 after-rounding information as conditions on output flags not
11328 floating-point format.
11329 * math/auto-libm-test-out: Regenerated.
11330 * math/gen-libm-test.pl (cond_value): New function.
11331 (or_cond_value): Use cond_value.
11332 (generate_testfile): Handle conditional exceptions.
11333
e6b6a857
JM
113342014-03-05 Joseph Myers <joseph@codesourcery.com>
11335
2f0a0f44
JM
11336 * math/libm-test.inc (max_valid_error): New variable.
11337 (init_max_error): Take new argument specifying whether function
11338 results are exactly determined. Set max_valid_error and bound
11339 other variables for errors based on this argument.
11340 (set_max_error): Do not record results above max_valid_error.
11341 (check_float_internal): Only accept errors of up to 0.5ulps if
11342 also at most max_valid_error.
11343 (START): Take new argument EXACT and pass it to init_max_error.
11344 (acos_test): Update call to START.
11345 (acos_test_tonearest): Likewise.
11346 (acos_test_towardzero): Likewise.
11347 (acos_test_downward): Likewise.
11348 (acos_test_upward): Likewise.
11349 (acosh_test): Likewise.
11350 (asin_test): Likewise.
11351 (asin_test_tonearest): Likewise.
11352 (asin_test_towardzero): Likewise.
11353 (asin_test_downward): Likewise.
11354 (asin_test_upward): Likewise.
11355 (asinh_test): Likewise.
11356 (atan_test): Likewise.
11357 (atanh_test): Likewise.
11358 (atan2_test): Likewise.
11359 (cabs_test): Likewise.
11360 (cacos_test): Likewise.
11361 (cacosh_test): Likewise.
11362 (carg_test): Likewise.
11363 (casin_test): Likewise.
11364 (casinh_test): Likewise.
11365 (catan_test): Likewise.
11366 (catanh_test): Likewise.
11367 (cbrt_test): Likewise.
11368 (ccos_test): Likewise.
11369 (ccosh_test): Likewise.
11370 (ceil_test): Likewise.
11371 (cexp_test): Likewise.
11372 (cimag_test): Likewise.
11373 (clog_test): Likewise.
11374 (clog10_test): Likewise.
11375 (conj_test): Likewise.
11376 (copysign_test): Likewise.
11377 (cos_test): Likewise.
11378 (cos_test_tonearest): Likewise.
11379 (cos_test_towardzero): Likewise.
11380 (cos_test_downward): Likewise.
11381 (cos_test_upward): Likewise.
11382 (cosh_test): Likewise.
11383 (cosh_test_tonearest): Likewise.
11384 (cosh_test_towardzero): Likewise.
11385 (cosh_test_downward): Likewise.
11386 (cosh_test_upward): Likewise.
11387 (cpow_test): Likewise.
11388 (cproj_test): Likewise.
11389 (creal_test): Likewise.
11390 (csin_test): Likewise.
11391 (csinh_test): Likewise.
11392 (csqrt_test): Likewise.
11393 (ctan_test): Likewise.
11394 (ctan_test_tonearest): Likewise.
11395 (ctan_test_towardzero): Likewise.
11396 (ctan_test_downward): Likewise.
11397 (ctan_test_upward): Likewise.
11398 (ctanh_test): Likewise.
11399 (ctanh_test_tonearest): Likewise.
11400 (ctanh_test_towardzero): Likewise.
11401 (ctanh_test_downward): Likewise.
11402 (ctanh_test_upward): Likewise.
11403 (erf_test): Likewise.
11404 (erfc_test): Likewise.
11405 (exp_test): Likewise.
11406 (exp_test_tonearest): Likewise.
11407 (exp_test_towardzero): Likewise.
11408 (exp_test_downward): Likewise.
11409 (exp_test_upward): Likewise.
11410 (exp10_test): Likewise.
11411 (exp10_test_tonearest): Likewise.
11412 (exp10_test_towardzero): Likewise.
11413 (exp10_test_downward): Likewise.
11414 (exp10_test_upward): Likewise.
11415 (pow10_test): Likewise.
11416 (exp2_test): Likewise.
11417 (expm1_test): Likewise.
11418 (expm1_test_tonearest): Likewise.
11419 (expm1_test_towardzero): Likewise.
11420 (expm1_test_downward): Likewise.
11421 (expm1_test_upward): Likewise.
11422 (fabs_test): Likewise.
11423 (fdim_test): Likewise.
11424 (floor_test): Likewise.
11425 (fma_test): Likewise.
11426 (fma_test_towardzero): Likewise.
11427 (fma_test_downward): Likewise.
11428 (fma_test_upward): Likewise.
11429 (fmax_test): Likewise.
11430 (fmin_test): Likewise.
11431 (fmod_test): Likewise.
11432 (fpclassify_test): Likewise.
11433 (frexp_test): Likewise.
11434 (hypot_test): Likewise.
11435 (ilogb_test): Likewise.
11436 (isfinite_test): Likewise.
11437 (finite_test): Likewise.
11438 (isgreater_test): Likewise.
11439 (isgreaterequal_test): Likewise.
11440 (isinf_test): Likewise.
11441 (isless_test): Likewise.
11442 (islessequal_test): Likewise.
11443 (islessgreater_test): Likewise.
11444 (isnan_test): Likewise.
11445 (isnormal_test): Likewise.
11446 (issignaling_test): Likewise.
11447 (isunordered_test): Likewise.
11448 (j0_test): Likewise.
11449 (j1_test): Likewise.
11450 (jn_test): Likewise.
11451 (ldexp_test): Likewise.
11452 (lgamma_test): Likewise.
11453 (gamma_test): Likewise.
11454 (lrint_test): Likewise.
11455 (lrint_test_tonearest): Likewise.
11456 (lrint_test_towardzero): Likewise.
11457 (lrint_test_downward): Likewise.
11458 (lrint_test_upward): Likewise.
11459 (llrint_test): Likewise.
11460 (llrint_test_tonearest): Likewise.
11461 (llrint_test_towardzero): Likewise.
11462 (llrint_test_downward): Likewise.
11463 (llrint_test_upward): Likewise.
11464 (log_test): Likewise.
11465 (log10_test): Likewise.
11466 (log1p_test): Likewise.
11467 (log2_test): Likewise.
11468 (logb_test): Likewise.
11469 (logb_test_downward): Likewise.
11470 (lround_test): Likewise.
11471 (llround_test): Likewise.
11472 (modf_test): Likewise.
11473 (nearbyint_test): Likewise.
11474 (nextafter_test): Likewise.
11475 (nexttoward_test): Likewise.
11476 (pow_test): Likewise.
11477 (pow_test_tonearest): Likewise.
11478 (pow_test_towardzero): Likewise.
11479 (pow_test_downward): Likewise.
11480 (pow_test_upward): Likewise.
11481 (remainder_test): Likewise.
11482 (drem_test): Likewise.
11483 (remainder_test_tonearest): Likewise.
11484 (drem_test_tonearest): Likewise.
11485 (remainder_test_towardzero): Likewise.
11486 (drem_test_towardzero): Likewise.
11487 (remainder_test_downward): Likewise.
11488 (drem_test_downward): Likewise.
11489 (remainder_test_upward): Likewise.
11490 (drem_test_upward): Likewise.
11491 (remquo_test): Likewise.
11492 (rint_test): Likewise.
11493 (rint_test_tonearest): Likewise.
11494 (rint_test_towardzero): Likewise.
11495 (rint_test_downward): Likewise.
11496 (rint_test_upward): Likewise.
11497 (round_test): Likewise.
11498 (scalb_test): Likewise.
11499 (scalbn_test): Likewise.
11500 (scalbln_test): Likewise.
11501 (signbit_test): Likewise.
11502 (sin_test): Likewise.
11503 (sin_test_tonearest): Likewise.
11504 (sin_test_towardzero): Likewise.
11505 (sin_test_downward): Likewise.
11506 (sin_test_upward): Likewise.
11507 (sincos_test): Likewise.
11508 (sinh_test): Likewise.
11509 (sinh_test_tonearest): Likewise.
11510 (sinh_test_towardzero): Likewise.
11511 (sinh_test_downward): Likewise.
11512 (sinh_test_upward): Likewise.
11513 (sqrt_test): Likewise.
11514 (sqrt_test_tonearest): Likewise.
11515 (sqrt_test_towardzero): Likewise.
11516 (sqrt_test_downward): Likewise.
11517 (sqrt_test_upward): Likewise.
11518 (tan_test): Likewise.
11519 (tan_test_tonearest): Likewise.
11520 (tan_test_towardzero): Likewise.
11521 (tan_test_downward): Likewise.
11522 (tan_test_upward): Likewise.
11523 (tanh_test): Likewise.
11524 (tgamma_test): Likewise.
11525 (trunc_test): Likewise.
11526 (y0_test): Likewise.
11527 (y1_test): Likewise.
11528 (yn_test): Likewise.
11529 (significand_test): Likewise.
11530
e6b6a857
JM
11531 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11532 individual tests in comment.
11533 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11534 (prev_max_error): New variable.
11535 (prev_real_max_error): Likewise.
11536 (prev_imag_max_error): Likewise.
11537 (compare_ulp_data): Don't refer to test names in comment.
11538 (find_test_ulps): Remove function.
11539 (find_function_ulps): Likewise.
11540 (find_complex_function_ulps): Likewise.
11541 (init_max_error): Take function name as argument. Look up ulps
11542 for that function.
11543 (print_ulps): Remove function.
11544 (print_max_error): Use prev_max_error instead of calling
11545 find_function_ulps.
11546 (print_complex_max_error): Use prev_real_max_error and
11547 prev_imag_max_error instead of calling find_complex_function_ulps.
11548 (check_float_internal): Take max_ulp parameter instead of calling
11549 find_test_ulps. Don't call print_ulps.
11550 (check_float): Update call to check_float_internal.
11551 (check_complex): Update calls to check_float_internal.
11552 (START): Pass argument to init_max_error.
11553 * math/gen-libm-test.pl (%results): Don't include "kind"
11554 information.
11555 (parse_ulps): Don't handle ulps of individual tests.
11556 (print_ulps_file): Likewise.
11557 (output_ulps): Likewise.
11558 * math/README.libm-test: Update.
11559 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11560 individual tests.
11561 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11562 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11563 * sysdeps/arm/libm-test-ulps: Likewise.
11564 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11565 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11566 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11567 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11568 * sysdeps/microblaze/libm-test-ulps: Likewise.
11569 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11570 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11571 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11572 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11573 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11574 * sysdeps/sh/libm-test-ulps: Likewise.
11575 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11576 * sysdeps/tile/libm-test-ulps: Likewise.
11577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11578
45adef3c
JM
115792014-03-04 Joseph Myers <joseph@codesourcery.com>
11580
11581 * math/libm-test.inc (print_complex_max_error): Check separately
11582 whether real and imaginary errors are within allowed range and
11583 pass 0 to print_complex_function_ulps instead of value within
11584 allowed range.
11585
000232b9
SP
115862014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11587
d4b17258
SP
11588 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11589 formatting.
11590 (get_handles_fopen): Likewise.
11591 (do_write_test): Likewise.
11592
091eff71
SP
11593 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11594
fa3cd248
SP
11595 * libio/fileops.c (do_ftell): Use cached offset when
11596 available.
11597 * libio/iofwide.c (do_ftell_wide): Likewise.
11598 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11599 _IO_file_attach.
11600 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11601
000232b9
SP
11602 [BZ #16532]
11603 * libio/libioP.h (get_file_offset): New function.
11604 * libio/fileops.c (get_file_offset): Likewise.
11605 (do_ftell): Likewise.
11606 (_IO_new_file_seekoff): Split out ftell logic.
11607 * libio/wfileops.c (do_ftell_wide): Likewise.
11608 (_IO_wfile_seekoff): Split out ftell logic.
11609 * libio/tst-ftell-active-handler.c: New test case.
11610 * libio/Makefile (tests): Add it.
11611
116f4d1a
RM
116122014-03-03 Roland McGrath <roland@hack.frob.com>
11613
11614 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11615 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11616
532a6035
SP
116172014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11618
11619 [BZ #16639]
11620 * nscd/connections.c (nscd_init): Call do_exit.
11621 (start_threads): Call do_exit and notify_parent.
11622 (begin_drop_privileges): Call do_exit.
11623 (finish_drop_privileges): Likewise.
11624 * nscd/selinux.c (preserve_capabilities): Likewise.
11625 (install_real_capabilities): Likewise.
11626 (nscd_selinux_enabled): Likewise.
11627 (avc_create_thread): Likewise.
11628 (avc_alloc_lock): Likewise.
11629 (nscd_avc_init): Likewise.
11630 * nscd/nscd.c (parent_fd): New static variable.
11631 (main): Create a pipe between parent and child processes.
11632 Skip closing parent_fd.
11633 (monitor_child): New function.
11634 (do_exit): Likewise.
11635 (notify_parent): Likewise.
11636 * nscd/nscd.h (notify_parent): Likewise.
11637 (do_exit): Likewise.
11638
d6285c9f
CD
116392014-03-03 Carlos O'Donell <carlos@redhat.com>
11640
11641 * malloc/malloc.c (__libc_calloc): Revert last change.
11642
2b85d2a0
AZ
116432014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11644
11645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11646
c7debbdf
RS
116472014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11648
11649 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11651 implementation.
11652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11653 (__libc_ifunc_impl_list): Likewise.
11654 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11655 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11656 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11657 * string/strrchr.c: Define STRRCHR.
11658
235eed86
OB
116592014-02-28 Ondřej Bílka <neleai@seznam.cz>
11660
11661 * benchtest/bench-strtok.c (simple_strtok): Delete.
11662 (strtok_string): Use as benchmark.
11663 * string/strtok (STRTOK): New macro.
11664
8e25d1e7
CD
116652014-02-28 Carlos O'Donell <carlos@redhat.com>
11666
ef563f92
CD
11667 * manual/threads.texi: Add header and standard comments to all
11668 functions.
11669
8e25d1e7
CD
11670 * elf/dl-lookup.c (check_match): New function.
11671 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11672 (do_lookup_x): Remove nested function check_match. Use non-nested
11673 function check_match.
11674
ff71cc37
RM
116752014-02-28 Roland McGrath <roland@hack.frob.com>
11676
f08e9a26
RM
11677 * csu/Makefile (generated, before-compile): Use += rather than =.
11678 * catgets/Makefile (generated, generated-dirs): Likewise.
11679 * debug/Makefile (generated): Likewise.
11680 * dlfcn/Makefile (generated): Likewise.
11681 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11682 * iconvdata/Makefile (before-compile, generated): Likewise.
11683 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11684 * libio/Makefile (generated): Likewise.
11685 * malloc/Makefile (generated): Likewise.
11686 * manual/Makefile (generated, generated-dirs): Likewise.
11687 * misc/Makefile (generated): Likewise.
11688 * posix/Makefile (generated): Likewise.
11689 * resolv/Makefile (generated): Likewise.
11690 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11691 * timezone/Makefile (generated, generated-dirs): Likewise.
11692
ff71cc37
RM
11693 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11694
fe13a20c
AZ
116952014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11696
57f41c40
AS
11697 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11698 power8 implementation.
11699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11700 file: POWER8 llround ifunc implementation.
11701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11702 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11703 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11704 POWER8 llround implementation.
11705
57f41c40
AS
11706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11707 power8 implementation.
11708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11709 file: POWER8 llrint ifunc implementation.
11710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11711 Add POWER8 implementation.
1ad8950a
AZ
11712 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11713 POWER8 llrint implementation.
11714
57f41c40
AS
11715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11716 power8 implementation.
11717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11718 file: POWER8 finite ifunc implementation.
11719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11720 Add POWER8 implementation.
cac626d6
AZ
11721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11722 Likewise.
11723 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11724 POWER8 finite implementation.
11725 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11726
57f41c40
AS
11727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11728 power8 implementation.
11729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11730 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11732 POWER8 implementation.
11733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11734 Likewise.
57f41c40
AS
11735 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11736 isinf implementation.
4393fc11
AZ
11737 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11738
57f41c40
AS
11739 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11740 (INIT_ARCH): Add hwcap2 initialization.
11741 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11742 power8 implementation.
11743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11744 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11746 POWER8 implementation.
11747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11748 Likewise.
57f41c40
AS
11749 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11750 isnan implementation.
487972ae
AZ
11751 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11752
7d92b787
JY
117532014-02-27 Joey Ye <joey.ye@arm.com>
11754
11755 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11756 (_FP_NANFRAC_Q): Set to zero.
11757
1cadc858
SP
117582014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11759
11760 [BZ #16623]
11761 * math/auto-libm-test-in: New test inputs.
11762 * math/auto-libm-test-out: Regenerate.
11763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11764 and DA.
11765 (__cos): Likewise.
11766 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11767
f8c17e79
JM
117682014-02-27 Joseph Myers <joseph@codesourcery.com>
11769
11770 * scripts/evaluate-test.sh: Take new argument indicating whether
11771 failure is expected.
11772 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11773 indicating whether failure is expected.
11774 * conform/Makefile (test-xfail-run-conformtest): New variable.
11775 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11776 level.
11777 * posix/Makefile (test-xfail-annexc): New variable.
11778 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11779
a5f891ac
JM
117802014-02-26 Joseph Myers <joseph@codesourcery.com>
11781
11782 * argp/Makefile: Include Makeconfig immediately after defining
11783 subdir.
11784 * assert/Makefile: Likewise.
11785 * benchtests/Makefile: Likewise.
11786 * catgets/Makefile: Likewise.
11787 * conform/Makefile: Likewise.
11788 * crypt/Makefile: Likewise.
11789 * csu/Makefile: Likewise.
11790 (all): Remove target.
11791 * ctype/Makefile: Include Makeconfig immediately after defining
11792 subdir.
11793 * debug/Makefile: Likewise.
11794 * dirent/Makefile: Likewise.
11795 * dlfcn/Makefile: Likewise.
11796 * gmon/Makefile: Likewise.
11797 * gnulib/Makefile: Likewise.
11798 * grp/Makefile: Likewise.
11799 * gshadow/Makefile: Likewise.
11800 * hesiod/Makefile: Likewise.
11801 * hurd/Makefile: Likewise.
11802 (all): Remove target.
11803 * iconvdata/Makefile: Include Makeconfig immediately after
11804 defining subdir.
11805 * inet/Makefile: Likewise.
11806 * intl/Makefile: Likewise.
11807 * io/Makefile: Likewise.
11808 * libio/Makefile: Likewise.
11809 (all): Remove target.
11810 * locale/Makefile: Include Makeconfig immediately after defining
11811 subdir.
11812 * login/Makefile: Likewise.
11813 * mach/Makefile: Likewise.
11814 (all): Remove target.
11815 * malloc/Makefile: Include Makeconfig immediately after defining
11816 subdir.
11817 (all): Remove target.
11818 * manual/Makefile: Include Makeconfig immediately after defining
11819 subdir.
11820 * math/Makefile: Likewise.
11821 * misc/Makefile: Likewise.
11822 * nis/Makefile: Likewise.
11823 * nss/Makefile: Likewise.
11824 * po/Makefile: Likewise.
11825 (all): Remove target.
11826 * posix/Makefile: Include Makeconfig immediately after defining
11827 subdir.
11828 * pwd/Makefile: Likewise.
11829 * resolv/Makefile: Likewise.
11830 * resource/Makefile: Likewise.
11831 * rt/Makefile: Likewise.
11832 * setjmp/Makefile: Likewise.
11833 * shadow/Makefile: Likewise.
11834 * signal/Makefile: Likewise.
11835 * socket/Makefile: Likewise.
11836 * soft-fp/Makefile: Likewise.
11837 * stdio-common/Makefile: Likewise.
11838 * stdlib/Makefile: Likewise.
11839 * streams/Makefile: Likewise.
11840 * string/Makefile: Likewise.
11841 * sunrpc/Makefile: Likewise.
11842 (all): Remove target.
11843 * sysvipc/Makefile: Include Makeconfig immediately after defining
11844 subdir.
11845 * termios/Makefile: Likewise.
11846 * time/Makefile: Likewise.
11847 * timezone/Makefile: Likewise.
11848 (all): Remove target.
11849 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11850 subdir.
11851 * wctype/Makefile: Likewise.
11852
5b456e9d
SE
118532014-02-26 Steve Ellcey <sellcey@mips.com>
11854
11855 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11856 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11857 (libc_feholdexcept_setround_mips): Ditto.
11858 (libc_feholdsetround): New.
11859 (libc_feholdsetroundf): New.
11860 (libc_feholdsetroundl): New.
11861 (libc_feupdateenv_test_mips): New.
11862 (libc_feupdateenv_test): New.
11863 (libc_feupdateenv_testf): New.
11864 (libc_feupdateenv_testl): New.
11865 (libc_feresetround): New.
11866 (libc_feresetroundf): New.
11867 (libc_feresetroundl): New.
11868 (libc_fetestexcept_mips): New.
11869 (libc_fetestexcept): New.
11870 (libc_fetestexceptf): New.
11871 (libc_fetestexceptl): New.
11872 (HAVE_RM_CTX): New.
11873 (libc_feholdexcept_setround_mips_ctx): New.
11874 (libc_feholdexcept_setround_ctx): New.
11875 (libc_feholdexcept_setroundf_ctx): New.
11876 (libc_feholdexcept_setroundl_ctx): New.
11877 (libc_fesetenv_mips_ctx): New.
11878 (libc_fesetenv_ctx): New.
11879 (libc_fesetenv_ctxf): New.
11880 (libc_fesetenv_ctxl): New.
11881 (libc_feupdateenv_mips_ctx): New.
11882 (libc_feupdateenv_ctx): New.
11883 (libc_feupdateenvf_ctx): New.
11884 (libc_feupdateenvl_ctx): New.
11885 (libc_feholdsetround_mips_ctx): New.
11886 (libc_feholdsetround_ctx): New.
11887 (libc_feholdsetroundf_ctx): New.
11888 (libc_feholdsetroundl_ctx): New.
11889 (libc_feresetround_mips_ctx): New.
11890 (libc_feresetround_ctx): New.
11891 (libc_feresetroundf_ctx): New.
11892 (libc_feresetroundl_ctx): New.
11893
085d0e35
CD
118942014-02-26 Carlos O'Donell <carlos@redhat.com>
11895
f067bf1f
CD
11896 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11897
085d0e35
CD
11898 * manual/ipc.texi: New file.
11899 * manual/Makefile (chapters): Add ipc.
11900 * manual/job.texi: Add "Inter-Process Communication" to next.
11901 * manual/process.texi: Add "Inter-Process Communication" to prev.
11902
86e58c08
AZ
119032014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11904
11905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11906
4248f0da
OB
119072014-02-26 Ondřej Bílka <neleai@seznam.cz>
11908
11909 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11910
cf822e3c
OB
11911 * manual/arith.texi: Fix spaces after sentences.
11912 * manual/charset.texi: Likewise.
11913 * manual/errno.texi: Likewise.
11914 * manual/install.texi: Likewise.
11915 * manual/llio.texi: Likewise.
11916 * manual/locale.texi: Likewise.
11917 * manual/maint.texi: Likewise.
11918 * manual/math.texi: Likewise.
11919 * manual/memory.texi: Likewise.
11920 * manual/message.texi: Likewise.
11921 * manual/probes.texi: Likewise.
11922 * manual/resource.texi: Likewise.
11923 * manual/signal.texi: Likewise.
11924 * manual/socket.texi: Likewise.
11925 * manual/stdio.texi: Likewise.
11926 * manual/string.texi: Likewise.
11927 * manual/time.texi: Likewise.
11928 * manual/users.texi: Likewise.
11929
ade40b10
CD
119302014-02-25 Carlos O'Donell <carlos@redhat.com>
11931
11932 [BZ #16632]
11933 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11934 _DEFAULT_SOURCE is defined.
11935
d0503676
CD
119362014-02-25 Ulrich Drepper <drepper@gmail.com>
11937 Carlos O'Donell <carlos@redhat.com>
11938
11939 [BZ #16613]
11940 * elf/dl-tls.c (_dl_count_modids): New function.
11941 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11942 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11943 audit library and increment generation counter.
11944 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11945 * elf/tst-audit9.c: New file.
11946 * elf/tst-auditmod9a.c: New file.
11947 * elf/tst-auditmod9b.c: New file.
11948 * elf/Makefile: Add rules to build and run tst-audit9.
11949
4cbf380c
FW
119502014-02-25 Florian Weimer <fweimer@redhat.com>
11951
11952 [BZ #15347]
11953 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11954
80a56cc3
WN
119552014-02-25 Will Newton <will.newton@linaro.org>
11956
11957 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11958 (__longjmp): Restore sp and lr before restoring callee
11959 saved registers. Add longjmp and longjmp_target
11960 SystemTap probe point.
11961 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11962 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11963 Define to zero to match jmpbuf layout.
11964 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11965 (__sigsetjmp): Save sp and lr before saving callee
11966 saved registers. Add setjmp SystemTap probe point.
11967
3ea0f74e
SL
119682014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11969
11970 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11971
b04acb26
AS
119722014-02-24 Andreas Schwab <schwab@suse.de>
11973
11974 [BZ #15804]
11975 * elf/pldd.c (wait_for_ptrace_stop): New function.
11976 (main): Call it after attaching.
11977
098ad55c
RM
119782014-02-22 Roland McGrath <roland@hack.frob.com>
11979
d4ec6ae1
RM
11980 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11981 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11982 Versions files is now verboten.
11983 * hurd/Versions (libc: GLIBC_2.0):
11984 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11985 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11986 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11987 * mach/Versions: Likewise.
11988
098ad55c
RM
11989 * csu/Versions: Remove unused %include.
11990 * resolv/Versions: Likewise.
11991
acd7f096
JM
119922014-02-21 Joseph Myers <joseph@codesourcery.com>
11993
f0881698
JM
11994 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11995 ($(objpfx)check-local-headers.out): Likewise.
11996 ($(objpfx)begin-end-check.out): Likewise.
11997 * Makerules (check-abi-%.out): Likewise.
11998 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11999 ($(objpfx)test2.cat): Likewise.
12000 ($(objpfx)de/libc.cat): Likewise.
12001 ($(objpfx)test-gencat.out): Likewise.
12002 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12003 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12004 ($(objpfx)noload-mem): Likewise.
12005 ($(objpfx)tst-pathopt.out): Likewise.
12006 ($(objpfx)tst-rtld-load-self.out): Likewise.
12007 ($(objpfx)tst-array1-cmp.out): Likewise.
12008 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12009 ($(objpfx)tst-array2-cmp.out): Likewise.
12010 ($(objpfx)tst-array3-cmp.out): Likewise.
12011 ($(objpfx)tst-array4-cmp.out): Likewise.
12012 ($(objpfx)tst-array5-cmp.out): Likewise.
12013 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12014 ($(objpfx)check-textrel.out): Likewise.
12015 ($(objpfx)check-execstack.out): Likewise.
12016 ($(objpfx)check-localplt.out): Likewise.
12017 ($(objpfx)order2-cmp.out): Likewise.
12018 ($(objpfx)tst-leaks1-mem): Likewise.
12019 ($(objpfx)tst-leaks1-static-mem): Likewise.
12020 ($(objpfx)tst-initorder-cmp.out): Likewise.
12021 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12022 ($(objpfx)tst-unused-dep.out): Likewise.
12023 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12024 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12025 * iconv/Makefile (test-iconvconfig): Likewise.
12026 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12027 ($(objpfx)iconv-test.out): Likewise.
12028 ($(objpfx)tst-tables.out): Likewise.
12029 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12030 ($(objpfx)tst-gettext.out): Likewise.
12031 ($(objpfx)tst-translit.out): Likewise.
12032 ($(objpfx)tst-gettext2.out): Likewise.
12033 ($(objpfx)tst-gettext4.out): Likewise.
12034 ($(objpfx)tst-gettext6.out): Likewise.
12035 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12036 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12037 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12038 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12039 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12040 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12041 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12042 ($(objpfx)wordexp-tst.out): Likewise.
12043 ($(objpfx)annexc.out): Likewise.
12044 ($(objpfx)tst-fnmatch-mem): Likewise.
12045 ($(objpfx)bug-regex2-mem): Likewise.
12046 ($(objpfx)bug-regex14-mem): Likewise.
12047 ($(objpfx)bug-regex21-mem): Likewise.
12048 ($(objpfx)bug-regex31-mem): Likewise.
12049 ($(objpfx)tst-vfork3-mem): Likewise.
12050 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12051 ($(objpfx)tst-pcre-mem): Likewise.
12052 ($(objpfx)tst-boost-mem): Likewise.
12053 ($(objpfx)tst-getconf.out): Likewise.
12054 ($(objpfx)bug-ga2-mem): Likewise.
12055 ($(objpfx)bug-glob2-mem): Likewise.
12056 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12057 ($(objpfx)mtrace-tst-leaks2): Likewise.
12058 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12059 ($(objpfx)tst-printf.out): Likewise.
12060 ($(objpfx)tst-setvbuf1.out): Likewise.
12061 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12062 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12063 ($(objpfx)tst-fmtmsg.out): Likewise.
12064 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12065 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12066
acd7f096
JM
12067 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12068 * bits/sigaction.h [__USE_MISC]: Likewise.
12069 * bits/waitstatus.h: Update #endif comments.
12070 * ctype/ctype.h: Likewise.
12071 * dirent/dirent.h: Likewise.
12072 [__USE_MISC]: Remove redundant conditionals.
12073 * grp/grp.h: Update #endif comments.
12074 [__USE_GNU]: Remove redundant conditionals.
12075 [__USE_MISC]: Likewise.
12076 * inet/netinet/in.h [__USE_GNU]: Likewise.
12077 * io/sys/stat.h [__USE_MISC]: Likewise.
12078 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12079 * libio/bits/stdio.h: Update #endif comments.
12080 [__USE_MISC]: Remove redundant conditionals.
12081 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12082 * libio/stdio.h: Update #endif comments.
12083 [__USE_MISC]: Remove redundant conditionals.
12084 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12085 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12086 * math/math.h: Update #else and #endif comments.
12087 [__USE_MISC]: Remove redundant conditionals.
12088 * misc/sys/uio.h: Update #endif comments.
12089 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12090 * posix/glob.h [__USE_MISC]: Likewise.
12091 * posix/sys/types.h: Update #endif comments.
12092 [__USE_MISC]: Remove redundant conditionals.
12093 * posix/sys/wait.h: Update #endif comments.
12094 [__USE_MISC]: Remove redundant conditionals.
12095 * posix/unistd.h: Update #endif comments.
12096 [__USE_MISC]: Remove redundant conditionals.
12097 * pwd/pwd.h [__USE_GNU]: Likewise.
12098 [__USE_MISC]: Likewise.
12099 * resolv/netdb.h [__USE_GNU]: Likewise.
12100 * signal/signal.h: Update #endif comments.
12101 [__USE_MISC]: Remove redundant conditionals.
12102 * stdlib/stdlib.h: Update #else and #endif comments.
12103 [__USE_MISC]: Remove redundant conditionals.
12104 [__USE_GNU]: Likewise.
12105 * string/bits/string2.h [__USE_MISC]: Likewise.
12106 * string/string.h: Update #endif comments.
12107 [__USE_MISC]: Remove redundant conditionals.
12108 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12109 Likewise.
12110 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12111 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12112 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12113 Likewise.
12114 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12115 Likewise.
12116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12117 comments.
12118 [__USE_MISC]: Remove redundant conditionals.
12119 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12120 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12121 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12122 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12123 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12124 Likewise.
12125 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12126 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12127 Likewise.
12128 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12129 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12130 Likewise.
12131 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12132 Likewise.
12133 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12134 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12135 Likewise.
12136 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12137 Likewise.
12138 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12139 * sysdeps/x86/bits/string.h: Update #endif comments.
12140 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12141 conditionals.
12142 * time/sys/time.h: Update #endif comments.
12143 * time/time.h: Likewise.
12144 [__USE_MISC]: Remove redundant conditionals.
12145
a5d82e4e
YG
121462014-02-21 Yury Gribov <y.gribov@samsung.com>
12147
12148 [BZ #16600]
12149 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12150
9a80491d
AS
121512014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12152
12153 * Versions.def (librt): Add GLIBC_2.17.
12154
105fa381
AC
121552014-02-21 Adam Conrad <adconrad@0c3.net>
12156
12157 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12158 synonym for _SYS_AUXV_H to allow direct inclusion.
12159 * sysdeps/sparc/bits/hwcap.h: Likewise.
12160 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12161 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12162 * sysdeps/sparc/sysdep.h: Likewise.
12163
b8cd1c4e
SP
121642014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12165
12166 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12167
bd939d23
RS
121682014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12169
12170 * benchtests/bench-strrchr.c: Print length instead of position.
12171
5d7b57ca
JM
121722014-02-20 Joseph Myers <joseph@codesourcery.com>
12173
bc688c10
JM
12174 [BZ #16611]
12175 * sysdeps/unix/sysv/linux/kernel-features.h
12176 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12177 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12178 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12179 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12180 Likewise.
12181 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12182 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12183 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12184 (__ASSUME_SENDMMSG): Define instead of using previous
12185 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12186 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12187 (__ASSUME_SENDMMSG_SYSCALL): Define.
12188 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12189 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12190 Likewise.
12191 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12192 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12193 Likewise.
12194 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12195 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12196 Likewise.
12197 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12198 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12199 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12200 [__ASSUME_SENDMMSG]: Change conditionals to
12201 [__ASSUME_SENDMMSG_SOCKETCALL].
12202 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12203 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12204 Define.
12205 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12206 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12207 Likewise.
12208 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12209 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12210 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12211 [!__ASSUME_SENDMMSG]: Change conditional to
12212 [!__ASSUME_SENDMMSG_SOCKETCALL].
12213 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12214 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12215 Define.
12216
0e31b18c
JM
12217 [BZ #16610]
12218 * sysdeps/unix/sysv/linux/kernel-features.h
12219 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12220 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12221 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12222 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12223 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12224 [__i386__ || __sparc__]
12225 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12226 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12227 (__ASSUME_RECVMMSG): Define instead of using previous
12228 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12229 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12230 (__ASSUME_RECVMMSG_SYSCALL): Define.
12231 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12232 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12233 Likewise.
12234 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12235 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12236 Likewise.
12237 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12238 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12239 Likewise.
12240 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12241 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12242 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12243 [__ASSUME_RECVMMSG]: Change condition to
12244 [__ASSUME_RECVMMSG_SOCKETCALL].
12245 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12246 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12247 Define.
12248 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12249 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12250 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12251 Likewise.
12252 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12253 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12254 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12255 [!__ASSUME_RECVMMSG]: Change condition to
12256 [!__ASSUME_RECVMMSG_SOCKETCALL].
12257 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12258 (__ASSUME_RECVMMSG_SYSCALL): Define.
12259
dd481ccf
JM
12260 [BZ #16609]
12261 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12262 __powerpc__ || __s390__ || __sh__ || __sparc__]
12263 (__ASSUME_SOCKETCALL): Define.
12264 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12265 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12266 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12267 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12268 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12269 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12270 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12271 (__ASSUME_ACCEPT4): Define instead of using previous
12272 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12273 __powerpc__ || __sparc__ || __s390__)] condition.
12274 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12275 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12276 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12277 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12278 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12279 [!__ASSUME_ACCEPT4]: Change condition to
12280 [!__ASSUME_ACCEPT4_SOCKETCALL].
12281 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12282 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12283 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12284 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12285 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12286 __ASSUME_ACCEPT4_SYSCALL.
12287 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12288 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12289 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12290 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12291 __ASSUME_ACCEPT4_SYSCALL.
12292 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12293 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12294 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12295 [__ASSUME_ACCEPT4]: Change condition to
12296 [__ASSUME_ACCEPT4_SOCKETCALL].
12297 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12298 (__ASSUME_SOCKETCALL): Define.
12299 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12300 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12301 (__ASSUME_SOCKETCALL): Define.
12302 (__ASSUME_ACCEPT4): Remove.
12303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12304 Define.
12305 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12306 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12307 Likewise.
12308 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12309 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12310
5d7b57ca
JM
12311 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12312 macro.
12313 (HWCAP_ARM_LPAE): Likewise.
12314 (HWCAP_ARM_EVTSTRM): Likewise.
12315 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12316 Add vpfd32, lpae and evtstrm.
12317 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12318 Increase to 22.
12319
63689d61
JM
123202014-02-19 Joseph Myers <joseph@codesourcery.com>
12321
12322 * math/auto-libm-test-in: Add tests of clog10.
12323 * math/auto-libm-test-out: Regenerated.
12324 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12325 * sysdeps/i386/fpu/libm-test-ulps: Update.
12326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12327
ab09bf61
AS
123282014-02-18 Andreas Schwab <schwab@suse.de>
12329
12330 [BZ #16574]
12331 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12332 Store non-zero if the second buffer was newly allocated.
12333 (send_dg): Likewise.
12334 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12335 to send_vc and send_dg.
12336 (res_nsend): Pass NULL for ansp2_malloced.
12337 * resolv/res_query.c (__libc_res_nquery): Add parameter
12338 answerp2_malloced and pass it down to __libc_res_nsend.
12339 (res_nquery): Pass additional NULL to __libc_res_nquery.
12340 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12341 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12342 second answer buffer if answerp2_malloced was set.
12343 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12344 (__libc_res_nquerydomain): Add parameter
12345 answerp2_malloced and pass it down to __libc_res_nquery.
12346 (res_nquerydomain): Pass additional NULL to
12347 __libc_res_nquerydomain.
12348 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12349 additional NULL to __libc_res_nsend and __libc_res_nquery.
12350 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12351 additional NULL to __libc_res_nsearch.
12352 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12353 parameter of __libc_res_nsearch to check for separately allocated
12354 second buffer.
12355 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12356 __libc_res_nquery.
12357 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12358 additional NULL to __libc_res_nquery.
12359 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12360 __libc_res_nsearch.
12361 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12362 * include/resolv.h: Update prototypes of __libc_res_nquery,
12363 __libc_res_nsearch, __libc_res_nsend.
12364
a4fb7861
JM
123652014-02-18 Joseph Myers <joseph@codesourcery.com>
12366
c6af2d89
JM
12367 * math/auto-libm-test-in: Add tests of fma.
12368 * math/auto-libm-test-out: Regenerated.
12369 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12370 (fma_towardzero_test_data): Likewise.
12371 (fma_downward_test_data): Likewise.
12372 (fma_upward_test_data): Likewise.
12373 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12374 mpc_mode.
12375 (rounding_modes): Add values for new field.
12376 (func_calc_method): Add value mpfr_fff_f.
12377 (func_calc_desc): Add mpfr_fff_f union field.
12378 (test_function): Add field exact_args.
12379 (FUNC): Add macro argument EXACT_ARGS.
12380 (FUNC_mpfr_f_f): Update call to FUNC.
12381 (FUNC_mpfr_f_f): Likewise.
12382 (FUNC_mpfr_ff_f): Likewise.
12383 (FUNC_mpfr_if_f): Likewise.
12384 (FUNC_mpc_c_f): Likewise.
12385 (FUNC_mpc_c_c): Likewise.
12386 (test_functions): Add fma. Update calls to FUNC.
12387 (handle_input_arg): Add argument exact_args.
12388 (add_test): Update call to handle_input_arg.
12389 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12390 (output_for_one_input_case): Update call to calc_generic_results.
12391 Recalculate exact zero results in each rounding mode.
12392
a4fb7861
JM
12393 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12394 non-negative before setting low bit.
12395 * math/auto-libm-test-in: Mark one asin test possibly having
12396 spurious underflow.
12397 * math/auto-libm-test-out: Regenerated.
12398 * sysdeps/i386/fpu/libm-test-ulps: Update.
12399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12400
ef114eaf
DH
124012014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12402
2b7f4f2c
SP
12403 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12404 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12405 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12406 * README: Add missing listing for microblaze*-*-linux-gnu.
12407
8125aedc
AM
124082014-02-16 Ondřej Bílka <neleai@seznam.cz>
12409
12410 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12411 duplicate code
12412
c70a4b1d
MF
124132014-02-16 Mike Frysinger <vapier@gentoo.org>
12414
12415 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12416 * sysdeps/unix/sysv/linux/ia64: Move directory from
12417 ports/sysdeps/unix/sysv/linux/ia64.
12418 * README: Update listing for ia64-*-linux-gnu.
12419
591aeaf7
TD
124202014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12421 Joseph Myers <joseph@codesourcery.com>
12422
12423 * Makeconfig (test-name): New variable.
12424 (evaluate-test): Likewise.
12425 * Makerules (do-test-clean): Remove .test-result files.
12426 (common-mostlyclean): Likewise.
12427 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12428 * scripts/evaluate-test.sh: New file.
12429
6e89caf1
JM
124302014-02-14 Joseph Myers <joseph@codesourcery.com>
12431
7f98f180
JM
12432 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12433 separate $(objpfx)tst-fopenloc-cmp.out and
12434 $(objpfx)tst-fopenloc-mem.out targets.
12435 (tests): Update dependencies.
12436 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12437 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12438 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12439 (tst-rxspencer-no-utf8-ARGS): New variable.
12440 (tst-rxspencer-no-utf8-ENV): Likewise.
12441 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12442 instead of $(objpfx)tst-rxspencer-mem.
12443 ($(objpfx)tst-rxspencer-mem): Change target to
12444 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12445 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12446 * posix/tst-rxspencer-no-utf8.c: New file.
12447
6e89caf1
JM
12448 * elf/Makefile ($(objpfx)order.out): Remove rule.
12449 [$(run-built-tests) = yes] (tests): Depend on
12450 $(objpfx)order-cmp.out.
12451 ($(objpfx)order-cmp.out): New rule.
12452 [$(run-built-tests) = yes] (tests): Depend on
12453 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12454 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12455 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12456 $(objpfx)tst-array5-static-cmp.out.
12457 ($(objpfx)tst-array1.out): Remove rule.
12458 ($(objpfx)tst-array1-cmp.out): New rule.
12459 ($(objpfx)tst-array1-static.out): Remove rule.
12460 ($(objpfx)tst-array1-static-cmp.out): New rule.
12461 ($(objpfx)tst-array2.out): Remove rule.
12462 ($(objpfx)tst-array2-cmp.out): New rule.
12463 ($(objpfx)tst-array3.out): Remove rule.
12464 ($(objpfx)tst-array3-cmp.out): New rule.
12465 ($(objpfx)tst-array4.out): Remove rule.
12466 ($(objpfx)tst-array4-cmp.out): New rule.
12467 ($(objpfx)tst-array5.out): Remove rule.
12468 ($(objpfx)tst-array5-cmp.out): New rule.
12469 ($(objpfx)tst-array5-static.out): Remove rule.
12470 ($(objpfx)tst-array5-static-cmp.out): New rule.
12471 [$(run-built-tests) = yes] (tests): Depend on
12472 $(objpfx)order2-cmp.out.
12473 ($(objpfx)order2.out): Remove rule.
12474 ($(objpfx)order2-cmp.out): New rule.
12475 ($(objpfx)tst-initorder.out): Remove rule.
12476 [$(run-built-tests) = yes] (tests): Depend on
12477 $(objpfx)tst-initorder-cmp.out.
12478 ($(objpfx)tst-initorder-cmp.out): New rule.
12479 ($(objpfx)tst-initorder2.out): Remove rule.
12480 [$(run-built-tests) = yes] (tests): Depend on
12481 $(objpfx)tst-initorder2-cmp.out.
12482 ($(objpfx)tst-initorder2-cmp.out): New rule.
12483 [$(run-built-tests) = yes] (tests): Depend on
12484 $(objpfx)tst-unused-dep-cmp.out.
12485 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12486 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12487 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12488 on $(objpfx)tst-setvbuf1-cmp.out.
12489 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12490 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12491 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12492 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12493 ($(objpfx)tst-svc.out): Remove rule.
12494 ($(objpfx)tst-svc-cmp.out): New rule.
12495
ed9a38e2
JM
124962014-02-13 Joseph Myers <joseph@codesourcery.com>
12497
12498 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12499 * ctype/ctype.h [__USE_MISC]: Likewise.
12500 * dirent/dirent.h [__USE_MISC]: Likewise.
12501 * grp/grp.h [__USE_MISC]: Likewise.
12502 * io/fcntl.h [__USE_MISC]: Likewise.
12503 * io/sys/stat.h [__USE_MISC]: Likewise.
12504 * libio/stdio.h [__USE_MISC]: Likewise.
12505 * posix/unistd.h [__USE_MISC]: Likewise.
12506 * pwd/pwd.h [__USE_MISC]: Likewise.
12507 * stdlib.h [__USE_MISC]: Likewise.
12508 * string/bits/string2.h [__USE_MISC]: Likewise.
12509 * string/string.h [__USE_MISC]: Likewise.
12510 * time/time.h [__USE_MISC]: Likewise.
12511
d6680619
AS
125122014-02-13 Andreas Schwab <schwab@suse.de>
12513
12514 [BZ #16574]
12515 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12516 second answer buffer if it was separately allocated.
12517
ace614b8
JM
125182014-02-12 Joseph Myers <joseph@codesourcery.com>
12519
743151ae
JM
12520 * sysdeps/mips/math-tests.h: Include <features.h>.
12521 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12522 (ROUNDING_TESTS_long_double): Do not define.
12523 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12524 (EXCEPTION_TESTS_long_double): Likewise.
12525 * sysdeps/mips/mips64/libm-test-ulps: Update.
12526
498afc54
JM
12527 * include/features.h (__USE_BSD): Remove macro definitions.
12528 (__USE_SVID): Likewise.
12529 (_BSD_SOURCE): Likewise.
12530 (_SVID_SOURCE): Likewise.
12531 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12532 from definition of _DEFAULT_SOURCE.
12533 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12534 [_DEFAULT_SOURCE].
12535 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12536 * bits/mman.h [__USE_BSD]: Likewise.
12537 * bits/termios.h [__USE_BSD]: Likewise.
12538 * bits/waitstatus.h [__USE_BSD]: Likewise.
12539 * ctype/ctype.h [__USE_SVID]: Likewise.
12540 * dirent/dirent.h [__USE_BSD]: Likewise.
12541 * grp/grp.h [__USE_SVID]: Likewise.
12542 [__USE_BSD]: Likewise.
12543 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12544 * io/fcntl.h [__USE_BSD]: Likewise.
12545 * io/ftw.h [__USE_BSD]: Likewise.
12546 * io/sys/stat.h [__USE_BSD]: Likewise.
12547 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12548 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12549 * libio/stdio.h [__USE_SVID]: Likewise.
12550 [__USE_BSD]: Likewise.
12551 * math/math.h [__USE_SVID]: Likewise.
12552 [__USE_BSD]: Likewise.
12553 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12554 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12555 * misc/search.h [__USE_SVID]: Likewise.
12556 * misc/sys/mman.h [__USE_BSD]: Likewise.
12557 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12558 * misc/sys/uio.h [__USE_BSD]: Likewise.
12559 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12560 * posix/glob.h [__USE_BSD]: Likewise.
12561 * posix/regex.h [__USE_BSD]: Likewise.
12562 * posix/sys/types.h [__USE_BSD]: Likewise.
12563 [__USE_SVID]: Likewise.
12564 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12565 * posix/sys/wait.h [__USE_BSD]: Likewise.
12566 [__USE_SVID]: Likewise.
12567 * posix/unistd.h [__USE_BSD]: Likewise.
12568 [__USE_SVID]: Likewise.
12569 * pwd/pwd.h [__USE_SVID]: Likewise.
12570 * resolv/netdb.h [__USE_BSD]: Likewise.
12571 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12572 * signal/signal.h [__USE_BSD]: Likewise.
12573 [__USE_SVID]: Likewise.
12574 * socket/sys/socket.h [__USE_BSD]: Likewise.
12575 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12576 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12577 [__USE_SVID]: Likewise.
12578 * string/bits/string2.h [__USE_BSD]: Likewise.
12579 [__USE_SVID]: Likewise.
12580 * string/bits/string3.h [__USE_BSD]: Likewise.
12581 * string/endian.h [__USE_BSD]: Likewise.
12582 * string/string.h [__USE_SVID]: Likewise.
12583 [__USE_BSD]: Likewise.
12584 * string/strings.h [__USE_BSD]: Likewise.
12585 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12586 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12587 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12588 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12589 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12590 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12591 Likewise.
12592 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12593 Likewise.
12594 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12595 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12596 Likewise.
12597 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12598 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12599 Likewise.
12600 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12601 Likewise.
12602 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12603 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12604 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12605 Likewise.
12606 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12607 Likewise.
12608 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12609 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12610 * termios/termios.h [__USE_BSD]: Likewise.
12611 * time/sys/time.h [__USE_BSD]: Likewise.
12612 * time/time.h [__USE_BSD]: Likewise.
12613 [__USE_SVID]: Likewise.
12614
dd7b064c
JM
12615 * Makefile (subdir_targets): Remove subdir_lint.out.
12616
a2c4c199
JM
12617 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12618 (do-tst-printf): Likewise.
12619 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12620 $(objpfx)tst-printf.out.
12621
8756f740
JM
12622 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12623
1b6dd3f1
JM
12624 * Makerules (check-abi-%): Change target to
12625 $(objpfx)check-abi-%.out.
12626 (check-abi target): Update dependencies.
12627 (check-abi-pattern variable): Redirect output of diff to $@.
12628 (check-abi variable): Likewise.
12629 * elf/Makefile (check-abi): Update dependencies.
12630
ace614b8
JM
12631 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12632 unused.
12633 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12634 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12635 subnormal range.
12636 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12637 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12638 value has largest subnormal exponent.
12639 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12640 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12641 * sysdeps/aarch64/soft-fp/sfp-machine.h
12642 (_FP_TININESS_AFTER_ROUNDING): New macro.
12643 * sysdeps/alpha/soft-fp/sfp-machine.h
12644 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12645 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12646 Likewise.
12647 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12649 * sysdeps/mips/soft-fp/sfp-machine.h
12650 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12651 * sysdeps/powerpc/soft-fp/sfp-machine.h
12652 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12653 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12654 Likewise.
12655 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12656 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12657 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12658 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12659 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12660 Likewise.
12661
fbfdf9cb
DAS
126622014-02-12 Dylan Alex Simon <dylan@dylex.net>
12663
12664 [BZ #16545]
12665 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12666 model 1.
12667
68b7efaa
RH
126682014-02-12 Richard Henderson <rth@redhat.com>
12669
c70a4b1d 12670 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12671 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12672 * sysdeps/unix/sysv/linux/alpha: Move directory from
12673 ports/sysdeps/unix/sysv/linux/alpha.
12674 * README: Update listing for alpha-*-linux-gnu.
12675
cb4a2928
JM
126762014-02-11 Joseph Myers <joseph@codesourcery.com>
12677
c941736c
JM
12678 * include/features.h: Update comment documenting feature test
12679 macros.
12680 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12681 _DEFAULT_SOURCE.
12682 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12683 (_SVID_SOURCE): Likewise.
12684 (_DEFAULT_SOURCE): Update description of default features.
12685 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12686 with _GNU_SOURCE.
12687 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12688 (S_ISVTX): Likewise.
12689 * manual/math.texi (Mathematical Constants): Likewise.
12690 * manual/signal.texi (Interrupted Primitives): Likewise.
12691 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12692 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12693 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12694 Don't refer to _SVID_SOURCE in warning text.
12695
e8d8d7ec
JM
12696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12697
cb4a2928
JM
12698 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12699 already defined.
12700 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12701 * sysdeps/mips/dl-lookup.c: Remove.
12702 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12703
7e6424e3
AK
127042014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12705
12706 [BZ #16447]
12707 * math/auto-libm-test-in: Add testcase for expl.
12708 * math/auto-libm-test-out: Regenerate.
12709 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12710 calculation of unsafe.
12711 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12712
75eff3fe
MS
127132014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12714
12715 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12716 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12717 ports/sysdeps/unix/sysv/linux/aarch64.
12718 * README: Update listing for aarch64*-*-linux-gnu.
12719
d35f1e80
WN
127202014-02-11 Will Newton <will.newton@linaro.org>
12721
12722 * manual/probes.texi (Mathematical Function Probes): Use
12723 "triggered" instead of "hit".
12724
7b3436d4
WN
12725 * manual/probes.texi (Internal Probes): Add documentation
12726 of setjmp, longjmp and longjmp_target probes.
12727
b4f12ca3
WN
12728 * include/stap-probe.h: Add comment about probe argument
12729 format.
12730
c13a72b7
WN
12731 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12732 definition. (tr_where, tr_freehook, tr_mallochook,
12733 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12734
195b8165
DM
127352014-02-11 David S. Miller <davem@davemloft.net>
12736
12737 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12738 processing int_tests.
12739
2ad7600b
JM
127402014-02-10 Joseph Myers <joseph@codesourcery.com>
12741
12742 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12743 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12744 * sysdeps/unix/sysv/linux/mips: Move directory from
12745 ports/sysdeps/unix/sysv/linux/mips.
12746 * README: Update listing for mips-*-linux-gnu and
12747 mips64-*-linux-gnu.
12748
73588a72
AS
127492014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12750
12751 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12752 * sysdeps/unix/sysv/linux/m68k: Move directory from
12753 ports/sysdeps/unix/sysv/linux/m68k.
12754 * README: Update listing for m68k-*-linux-gnu.
12755
4372980f
CM
127562014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12757
12758 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12759 * sysdeps/unix/sysv/linux/generic: Move directory from
12760 ports/sysdeps/unix/sysv/linux/generic.
12761 * sysdeps/unix/sysv/linux/tile: Move directory from
12762 ports/sysdeps/unix/sysv/linux/tile.
12763 * README: Update listing for tile*-*-linux-gnu.
12764
a1ffb40e
OB
127652014-02-10 Ondřej Bílka <neleai@seznam.cz>
12766
57f41c40
AS
12767 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12768 __builtin_expect.
a1ffb40e
OB
12769 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12770 * catgets/open_catalog.c (__open_catalog): Likewise.
12771 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12772 * debug/confstr_chk.c: Likewise.
12773 * debug/fread_chk.c (__fread_chk): Likewise.
12774 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12775 * debug/getgroups_chk.c: Likewise.
12776 * debug/mbsnrtowcs_chk.c: Likewise.
12777 * debug/mbsrtowcs_chk.c: Likewise.
12778 * debug/mbstowcs_chk.c: Likewise.
12779 * debug/memcpy_chk.c: Likewise.
12780 * debug/memmove_chk.c: Likewise.
12781 * debug/mempcpy_chk.c: Likewise.
12782 * debug/memset_chk.c: Likewise.
12783 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12784 * debug/strcat_chk.c (__strcat_chk): Likewise.
12785 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12786 * debug/strncat_chk.c (__strncat_chk): Likewise.
12787 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12788 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12789 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12790 * debug/wcpncpy_chk.c: Likewise.
12791 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12792 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12793 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12794 * debug/wcsncpy_chk.c: Likewise.
12795 * debug/wcsnrtombs_chk.c: Likewise.
12796 * debug/wcsrtombs_chk.c: Likewise.
12797 * debug/wcstombs_chk.c: Likewise.
12798 * debug/wmemcpy_chk.c: Likewise.
12799 * debug/wmemmove_chk.c: Likewise.
12800 * debug/wmempcpy_chk.c: Likewise.
12801 * debug/wmemset_chk.c: Likewise.
12802 * dirent/scandirat.c (SCANDIRAT): Likewise.
12803 * dlfcn/dladdr1.c (dladdr1): Likewise.
12804 * dlfcn/dladdr.c (dladdr): Likewise.
12805 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12806 * dlfcn/dlerror.c (__dlerror): Likewise.
12807 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12808 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12809 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12810 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12811 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12812 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12813 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12814 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12815 Likewise.
12816 * elf/dl-conflict.c: Likewise.
12817 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12818 * elf/dl-dst.h: Likewise.
12819 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12820 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12821 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12822 * elf/dl-init.c (call_init, _dl_init): Likewise.
12823 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
12824 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12825 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12826 Likewise.
a1ffb40e
OB
12827 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12828 Likewise.
12829 * elf/dl-minimal.c (__libc_memalign): Likewise.
12830 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12831 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12832 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12833 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
12834 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12835 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
12836 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12837 * elf/dl-writev.h (_dl_writev): Likewise.
12838 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
12839 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12840 (dl_main): Likewise.
a1ffb40e
OB
12841 * elf/setup-vdso.h (setup_vdso): Likewise.
12842 * grp/compat-initgroups.c (compat_call): Likewise.
12843 * grp/fgetgrent.c (fgetgrent): Likewise.
12844 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12845 * grp/putgrent.c (putgrent): Likewise.
12846 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12847 Likewise.
12848 * hurd/hurdinit.c: Likewise.
12849 * iconvdata/8bit-gap.c (struct): Likewise.
12850 * iconvdata/ansi_x3.110.c : Likewise.
12851 * iconvdata/big5.c : Likewise.
12852 * iconvdata/big5hkscs.c : Likewise.
12853 * iconvdata/cp1255.c: Likewise.
12854 * iconvdata/cp1258.c : Likewise.
12855 * iconvdata/cp932.c : Likewise.
12856 * iconvdata/euc-cn.c: Likewise.
12857 * iconvdata/euc-jisx0213.c : Likewise.
12858 * iconvdata/euc-jp.c: Likewise.
12859 * iconvdata/euc-jp-ms.c : Likewise.
12860 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12861 * iconvdata/gb18030.c : Likewise.
12862 * iconvdata/gbbig5.c (const): Likewise.
12863 * iconvdata/gbgbk.c: Likewise.
12864 * iconvdata/gbk.c : Likewise.
12865 * iconvdata/ibm1364.c : Likewise.
12866 * iconvdata/ibm930.c : Likewise.
12867 * iconvdata/ibm932.c: Likewise.
12868 * iconvdata/ibm933.c : Likewise.
12869 * iconvdata/ibm935.c : Likewise.
12870 * iconvdata/ibm937.c : Likewise.
12871 * iconvdata/ibm939.c : Likewise.
12872 * iconvdata/ibm943.c: Likewise.
12873 * iconvdata/iso_11548-1.c: Likewise.
12874 * iconvdata/iso-2022-cn.c : Likewise.
12875 * iconvdata/iso-2022-cn-ext.c : Likewise.
12876 * iconvdata/iso-2022-jp-3.c: Likewise.
12877 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12878 * iconvdata/iso-2022-kr.c : Likewise.
12879 * iconvdata/iso646.c (gconv_end): Likewise.
12880 * iconvdata/iso_6937-2.c : Likewise.
12881 * iconvdata/iso_6937.c : Likewise.
12882 * iconvdata/iso8859-1.c: Likewise.
12883 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12884 * iconvdata/shift_jisx0213.c : Likewise.
12885 * iconvdata/sjis.c : Likewise.
12886 * iconvdata/t.61.c : Likewise.
12887 * iconvdata/tcvn5712-1.c : Likewise.
12888 * iconvdata/tscii.c: Likewise.
12889 * iconvdata/uhc.c : Likewise.
12890 * iconvdata/unicode.c (gconv_end): Likewise.
12891 * iconvdata/utf-16.c (gconv_end): Likewise.
12892 * iconvdata/utf-32.c (gconv_end): Likewise.
12893 * iconvdata/utf-7.c (base64): Likewise.
12894 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12895 * iconv/gconv_close.c (__gconv_close): Likewise.
12896 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12897 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12898 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12899 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12900 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12901 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12902 * iconv/iconv.c (iconv): Likewise.
12903 * iconv/iconv_close.c: Likewise.
12904 * iconv/loop.c (SINGLE): Likewise.
12905 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12906 * include/atomic.h: Likewise.
12907 * inet/inet6_option.c (option_alloc): Likewise.
12908 * intl/bindtextdom.c (set_binding_values): Likewise.
12909 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12910 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12911 * intl/localealias.c (read_alias_file): Likewise.
12912 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12913 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12914 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12915 * libio/fmemopen.c (fmemopen): Likewise.
12916 * libio/iofgets.c (_IO_fgets): Likewise.
12917 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12918 * libio/iofgetws.c (fgetws): Likewise.
12919 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12920 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12921 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12922 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12923 * locale/findlocale.c (_nl_find_locale): Likewise.
12924 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12925 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12926 Likewise.
12927 * locale/setlocale.c (setlocale): Likewise.
12928 * login/programs/pt_chown.c (main): Likewise.
12929 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12930 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12931 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12932 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12933 * math/e_exp2l.c: Likewise.
12934 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12935 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12936 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12937 * math/s_catan.c (__catan): Likewise.
12938 * math/s_catanf.c (__catanf): Likewise.
12939 * math/s_catanh.c (__catanh): Likewise.
12940 * math/s_catanhf.c (__catanhf): Likewise.
12941 * math/s_catanhl.c (__catanhl): Likewise.
12942 * math/s_catanl.c (__catanl): Likewise.
12943 * math/s_ccosh.c (__ccosh): Likewise.
12944 * math/s_ccoshf.c (__ccoshf): Likewise.
12945 * math/s_ccoshl.c (__ccoshl): Likewise.
12946 * math/s_cexp.c (__cexp): Likewise.
12947 * math/s_cexpf.c (__cexpf): Likewise.
12948 * math/s_cexpl.c (__cexpl): Likewise.
12949 * math/s_clog10.c (__clog10): Likewise.
12950 * math/s_clog10f.c (__clog10f): Likewise.
12951 * math/s_clog10l.c (__clog10l): Likewise.
12952 * math/s_clog.c (__clog): Likewise.
12953 * math/s_clogf.c (__clogf): Likewise.
12954 * math/s_clogl.c (__clogl): Likewise.
12955 * math/s_csin.c (__csin): Likewise.
12956 * math/s_csinf.c (__csinf): Likewise.
12957 * math/s_csinh.c (__csinh): Likewise.
12958 * math/s_csinhf.c (__csinhf): Likewise.
12959 * math/s_csinhl.c (__csinhl): Likewise.
12960 * math/s_csinl.c (__csinl): Likewise.
12961 * math/s_csqrt.c (__csqrt): Likewise.
12962 * math/s_csqrtf.c (__csqrtf): Likewise.
12963 * math/s_csqrtl.c (__csqrtl): Likewise.
12964 * math/s_ctan.c (__ctan): Likewise.
12965 * math/s_ctanf.c (__ctanf): Likewise.
12966 * math/s_ctanh.c (__ctanh): Likewise.
12967 * math/s_ctanhf.c (__ctanhf): Likewise.
12968 * math/s_ctanhl.c (__ctanhl): Likewise.
12969 * math/s_ctanl.c (__ctanl): Likewise.
12970 * math/w_pow.c: Likewise.
12971 * math/w_powf.c: Likewise.
12972 * math/w_powl.c: Likewise.
12973 * math/w_scalb.c (sysv_scalb): Likewise.
12974 * math/w_scalbf.c (sysv_scalbf): Likewise.
12975 * math/w_scalbl.c (sysv_scalbl): Likewise.
12976 * misc/error.c (error_tail): Likewise.
12977 * misc/pselect.c (__pselect): Likewise.
12978 * nis/nis_callback.c (__nis_create_callback): Likewise.
12979 * nis/nis_call.c (__nisfind_server): Likewise.
12980 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12981 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12982 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12983 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12984 * nis/nis_lookup.c (nis_lookup): Likewise.
12985 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12986 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12987 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12988 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12989 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12990 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12991 * nis/nss_compat/compat-initgroups.c (add_group)
12992 (internal_getgrent_r): Likewise.
12993 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12994 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12995 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12996 (internal_getspnam_r): Likewise.
12997 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12998 (_nss_nis_getaliasbyname_r): Likewise.
12999 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13000 (_nss_nis_getntohost_r): Likewise.
13001 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13002 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13003 (_nss_nis_getgrgid_r): Likewise.
13004 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13005 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13006 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13007 (_nss_nis_gethostbyname4_r): Likewise.
13008 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13009 (initgroups_netid): Likewise.
a1ffb40e 13010 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13011 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13012 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13013 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13014 (_nss_nis_getprotobynumber_r): Likewise.
13015 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13016 (_nss_nis_getsecretkey): Likewise.
13017 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13018 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13019 (_nss_nis_getpwuid_r): Likewise.
13020 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13021 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13022 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13023 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13024 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13025 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13026 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13027 Likewise.
57f41c40
AS
13028 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13029 (_nss_nisplus_getntohost_r): Likewise.
13030 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13031 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13032 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13033 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13034 Likewise.
57f41c40
AS
13035 * nis/nss_nisplus/nisplus-initgroups.c
13036 (_nss_nisplus_initgroups_dyn): Likewise.
13037 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13038 (_nss_nisplus_getnetbyaddr_r): Likewise.
13039 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13040 (_nss_nisplus_getprotobynumber_r): Likewise.
13041 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13042 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13043 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13044 Likewise.
57f41c40
AS
13045 * nis/nss_nisplus/nisplus-service.c
13046 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13047 (_nss_nisplus_getservbyport_r): Likewise.
13048 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13049 (_nss_nisplus_getspnam_r): Likewise.
13050 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13051 Likewise.
a1ffb40e
OB
13052 * nscd/aicache.c (addhstaiX): Likewise.
13053 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13054 * nscd/connections.c (register_traced_file, send_ro_fd)
13055 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13056 (main_loop_epoll): Likewise.
a1ffb40e
OB
13057 * nscd/grpcache.c (addgrbyX): Likewise.
13058 * nscd/hstcache.c (addhstbyX): Likewise.
13059 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13060 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13061 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13062 (addinnetgrX): Likewise.
13063 * nscd/nscd-client.h (__nscd_acquire_maplock)
13064 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13065 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13066 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13067 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13068 Likewise.
13069 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13070 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13071 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13072 (__nscd_get_map_ref): Likewise.
a1ffb40e 13073 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13074 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13075 Likewise.
a1ffb40e
OB
13076 * nscd/pwdcache.c (addpwbyX): Likewise.
13077 * nscd/selinux.c (preserve_capabilities): Likewise.
13078 * nscd/servicescache.c (addservbyX): Likewise.
13079 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13080 * posix/fnmatch.c (fnmatch): Likewise.
13081 * posix/getopt.c (_getopt_internal_r): Likewise.
13082 * posix/glob.c (glob, glob_in_dir): Likewise.
13083 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13084 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13085 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13086 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13087 * resolv/res_init.c: Likewise.
13088 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13089 * resolv/res_query.c (__libc_res_nquery): Likewise.
13090 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13091 Likewise.
13092 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13093 * stdio-common/perror.c (perror): Likewise.
13094 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13095 * stdio-common/tmpnam.c (tmpnam): Likewise.
13096 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13097 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13098 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13099 Likewise.
a1ffb40e
OB
13100 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13101 * stdlib/putenv.c (putenv): Likewise.
13102 * stdlib/setenv.c (__add_to_environ): Likewise.
13103 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13104 * stdlib/strtol_l.c (INTERNAL): Likewise.
13105 * string/memmem.c (memmem): Likewise.
13106 * string/strerror.c (strerror): Likewise.
13107 * string/strnlen.c (__strnlen): Likewise.
13108 * string/test-memmem.c (simple_memmem): Likewise.
13109 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13110 * sunrpc/pm_getport.c (__get_socket): Likewise.
13111 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13112 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13113 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13114 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13115 Likewise.
13116 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13117 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13118 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13119 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13120 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13121 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13122 Likewise.
13123 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13124 Likewise.
a1ffb40e
OB
13125 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13126 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13127 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13128 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13129 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13131 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13132 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13133 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13134 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13135 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13136 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13137 Likewise.
13138 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13139 Likewise.
13140 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13141 Likewise.
13142 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13143 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13144 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13145 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13146 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13147 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13148 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13152 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13154 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13155 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13157 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13158 Likewise.
a1ffb40e
OB
13159 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13160 Likewise.
13161 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13162 Likewise.
13163 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13164 Likewise.
13165 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13166 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13167 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13168 Likewise.
13169 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13170 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13171 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13172 * sysdeps/posix/sleep.c: Likewise.
13173 * sysdeps/posix/tempname.c: Likewise.
13174 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13175 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13176 Likewise.
57f41c40
AS
13177 * sysdeps/powerpc/powerpc32/dl-machine.h
13178 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13179 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13181 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13182 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13183 Likewise.
13184 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13185 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13186 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13187 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13188 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13189 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13190 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13191 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13192 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13193 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13195 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13196 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13197 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13198 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13199 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13200 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13201 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13202 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13203 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13204 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13205 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13207 Likewise.
13208 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13209 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13210 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13211 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13212 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13213 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13214 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13215 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13216 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13217 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13218 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13219 Likewise.
13220 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13221 (__posix_fallocate64_l64): Likewise.
13222 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13223 (posix_fallocate): Likewise.
57f41c40
AS
13224 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13225 Likewise.
a1ffb40e 13226 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13227 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13228 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13229 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13230 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13231 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13232 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13233 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13234 (__posix_fallocate64_l64): Likewise.
13235 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13236 Likewise.
13237 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13238 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13239 (__get_clockfreq): Likewise.
a1ffb40e
OB
13240 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13241 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13242 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13245 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13246 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13247 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13248 Likewise.
13249 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13250 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13251 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13252 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13253 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13254 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13255 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13256 Likewise.
13257 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13258 (posix_fallocate): Likewise.
13259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13260 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13261 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13262 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13263 (elf_machine_rela, elf_machine_rela_relative)
13264 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13265 * time/asctime.c (asctime_internal): Likewise.
13266 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13267 * time/tzset.c (__tzset_parse_tz): Likewise.
13268 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13269 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13270 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13271 * wcsmbs/wcsmbsload.h: Likewise.
13272
f3d338c9
OB
13273 [BZ #15894]
13274 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13275
57f41c40
AS
13276 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13277 (arena_get2): Remove THREAD_STATS conditionals.
13278 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13279 (__malloc_stats, int): Likewise.
bdfe308a 13280
d674667c
MF
132812014-02-08 Mike Frysinger <vapier@gentoo.org>
13282
13283 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13284 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13285
6349768c
MF
13286 * manual/setjmp.texi: Fix typos/grammar errors.
13287
0b7c7473
MF
13288 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13289 Only return early when n is <= 0. Delete unused return statement.
13290
ac8cc9e3
MF
13291 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13292 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13293 * debug/tst-longjmp_chk3.c: New file.
13294
c5bb8e23
MF
13295 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13296 (test_main): Replace code with set_fortify_handler call.
13297 * debug/test-strcpy_chk.c: Likewise.
13298 * debug/tst-chk1.c: Likewise.
13299 * debug/tst-longjmp_chk.c: Likewise.
13300 * test-skeleton.c: Include fcntl.h & paths.h
13301 (set_fortify_handler): Define.
13302
10444e42
MF
13303 * debug/tst-longjmp_chk.c: Add header comment and include
13304 ../test-skeleton.c.
13305 (do_test): Mark static.
13306 (TEST_FUNCTION): Define.
13307
1e805e8d
MF
13308 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13309 (IP_PMTUDISC_INTERFACE): Likewise.
13310 (IP_MULTICAST_IF): Likewise.
13311 (IP_MULTICAST_TTL): Likewise.
13312 (IP_MULTICAST_LOOP): Likewise.
13313 (IP_ADD_MEMBERSHIP): Likewise.
13314 (IP_DROP_MEMBERSHIP): Likewise.
13315 (IP_UNBLOCK_SOURCE): Likewise.
13316 (IP_BLOCK_SOURCE): Likewise.
13317 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13318 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13319 (IP_MSFILTER): Likewise.
13320 (MCAST_JOIN_GROUP): Likewise.
13321 (MCAST_BLOCK_SOURCE): Likewise.
13322 (MCAST_UNBLOCK_SOURCE): Likewise.
13323 (MCAST_LEAVE_GROUP): Likewise.
13324 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13325 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13326 (MCAST_MSFILTER): Likewise.
13327 (IP_MULTICAST_ALL): Likewise.
13328 (IP_UNICAST_IF): Likewise.
13329
73f79bb7
MF
13330 * timezone/Makefile: Delete $(have-ksh) check.
13331 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13332 * timezone/tzselect.ksh: Add +x mode bits.
13333
8da79b60
MF
13334 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13335 (ANON_INODE_FS_MAGIC): Likewise.
13336 (BDEVFS_MAGIC): Likewise.
13337 (BINFMTFS_MAGIC): Likewise.
13338 (BTRFS_TEST_MAGIC): Likewise.
13339 (CRAMFS_MAGIC_WEND): Likewise.
13340 (DEBUGFS_MAGIC): Likewise.
13341 (ECRYPTFS_SUPER_MAGIC): Likewise.
13342 (EXT3_SUPER_MAGIC): Likewise.
13343 (EXT4_SUPER_MAGIC): Likewise.
13344 (FUTEXFS_SUPER_MAGIC): Likewise.
13345 (HOSTFS_SUPER_MAGIC): Likewise.
13346 (HUGETLBFS_MAGIC): Likewise.
13347 (MINIX3_SUPER_MAGIC): Likewise.
13348 (MTD_INODE_FS_MAGIC): Likewise.
13349 (NILFS_SUPER_MAGIC): Likewise.
13350 (OPENPROM_SUPER_MAGIC): Likewise.
13351 (PIPEFS_MAGIC): Likewise.
13352 (PSTOREFS_MAGIC): Likewise.
13353 (QNX6_SUPER_MAGIC): Likewise.
13354 (RAMFS_MAGIC): Likewise.
13355 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13356 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13357 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13358 (SECURITYFS_MAGIC): Likewise.
13359 (SELINUX_MAGIC): Likewise.
13360 (SMACK_MAGIC): Likewise.
13361 (SOCKFS_MAGIC): Likewise.
13362 (SQUASHFS_MAGIC): Likewise.
13363 (STACK_END_MAGIC): Likewise.
13364 (TMPFS_MAGIC): Likewise.
13365 (USBDEVICE_SUPER_MAGIC): Likewise.
13366 (V9FS_MAGIC): Likewise.
13367 (XENFS_SUPER_MAGIC): Likewise.
13368 (CRAMFS_MAGIC): Fix typo in comment.
13369 (EXT2_SUPER_MAGIC): Update comment.
13370 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13371
464263cc
JM
133722014-02-08 Joseph Myers <joseph@codesourcery.com>
13373
c6bfe5c4
JM
13374 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13375 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13376 * sysdeps/unix/sysv/linux/arm: Move directory from
13377 ports/sysdeps/unix/sysv/linux/arm.
13378 * README: Update listing for arm-*-linux-gnueabi.
13379
464263cc
JM
13380 * README: Remove mention of am33.
13381
32749f6c
RM
133822014-02-07 Roland McGrath <roland@hack.frob.com>
13383
13384 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13385 than the comma operator, to avoid "rhs of comma has no effect"
13386 compiler warnings.
13387 (__sigfillset, __sigandset, __sigorset): Likewise.
13388 * include/signal.h (__sigemptyset): Likewise.
13389 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13390
d5b396c1
AM
133912014-02-07 Allan McRae <allan@archlinux.org>
13392
13393 * version.h (RELEASE): Set to "development".
13394 (VERSION): Set to "2.19.90"
13395 * NEWS: Add 2.20 section.
13396
3bfff2ed
CD
133972014-02-06 Carlos O'Donell <carlos@redhat.com>
13398
13399 [BZ #16529]
13400 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13401
ee7cc385
SP
134022014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13403
13404 * manual/contrib.texi: Update entry for Carlos O'Donell,
13405 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13406
f877c4f2
CD
134072014-02-05 Carlos O'Donell <carlos@rehdat.com>
13408
27e839f6
CD
13409 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13410
f877c4f2
CD
13411 * sysdeps/unix/sysv/linux/kernel-features.h
13412 [__LINUX_KERNEL_VERSION >= 0x020621]
13413 (__ASSUME_PROC_PID_TASK_COMM): Define.
13414
68159946
SP
134152014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13416
ba17cdbd
SP
13417 [BZ #16398]
13418 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13419 conversion when destination buffer does not have enough space.
13420 * libio/tst-ftell-partial-wide.c: New test case.
13421 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13422
68159946
SP
13423 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13424 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13425 Leonard and Allan McRae.
13426
2b528732
DM
134272014-02-04 David S. Miller <davem@davemloft.net>
13428
13429 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13430 32-bit.
13431
0ff82463
AZ
134322014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13433
57f41c40
AS
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13435 New file
c01603f7
AZ
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13437 New file
57f41c40
AS
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13439 New file.
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13441 New file.
c01603f7
AZ
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13443 New file.
57f41c40
AS
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13445 New file.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13447 New file.
c01603f7
AZ
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13449 New file.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13451 New file.
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13453 New file.
13454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13455 New file.
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13457 New file.
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13459 New file.
13460
134612014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13462
0ff82463
AZ
13463 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13464 * shlib-versions: Likewise.
13465
1695c773
AZ
134662014-02-04 Roland McGrath <roland@hack.frob.com>
13467 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13468
13469 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13470 (abilist-pattern): New variable, set to %-le.abilist.
13471
13472 * Makerules (abilist-pattern): New variable.
13473 (vpath): Use $(abilist-pattern) in place of %.abilist.
13474 (check-abi-% pattern rule): Likewise.
13475 (check-abi, update-abi): Likewise.
13476
6c0ce4b4
EW
134772014-02-04 Eric Wong <normalperson@yhbt.net>
13478
13479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13480
481e3524
CD
134812014-02-03 Carlos O'Donell <carlos@redhat.com>
13482
13483 * manual/startup.texi: Add next, previous, and top entries for
13484 the `Program Arguments' and `Environment Variables' nodes.
13485
375592d3
AO
134862014-02-03 Alexandre Oliva <aoliva@redhat.com>
13487
13488 * manual/macros.texi: Add comments before MTASC-safety macros.
13489
f54838ba
AO
13490 * manual/users.texi: Document MTASC-safety properties.
13491
57f41c40
AS
13492 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13493 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13494 @deftypefun, and add @safety note.
13495 * manual/signal.texi: Move comments that analyze the above
13496 functions to their home place.
13497
fd3daba4
AM
134982014-02-03 Allan McRae <allan@archlinux.org>
13499
13500 * po/sl.po: Update Slovenian translation from translation project.
13501
597636d7
AO
135022014-02-02 Alexandre Oliva <aoliva@redhat.com>
13503
13504 * manual/time.texi (timegm): Add missing blank after @c.
13505 Reported by Joseph Myers <joseph@codesourcery.com>.
13506
ee196e3c
AO
135072014-02-01 Alexandre Oliva <aoliva@redhat.com>
13508
13509 * manual/check-safety.sh: New.
13510 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13511
f8d529d5
AO
13512 * manual/terminal.texi: Document MTASC-safety properties.
13513
de55fdf4
AO
13514 * manual/filesys.texi: Document MTASC-safety properties.
13515
c3299c08
AO
13516 * manual/errno.texi: Document MTASC-safety properties.
13517
06e90b14
AO
13518 * manual/intro.texi: Document safety identifiers and
13519 conditionals.
13520
1acd4371
AO
13521 * manual/string.texi (wcstok): Fix prototype.
13522 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13523
23e5b8cb
AO
13524 * manual/time.texi: Document MTASC-safety properties.
13525
11087373
AO
13526 * manual/string.texi: Document MTASC-safety properties.
13527
5da2c93d
AO
13528 * manual/threads.texi: Document MTASC-safety properties.
13529
171e9210
AO
13530 * manual/stdio.texi: Document MTASC-safety properties.
13531
d9e02532
AO
13532 * manual/syslog.texi: Document MTASC-safety properties.
13533
6af8bab7
AO
13534 * manual/sysinfo.texi: Document MTASC-safety properties.
13535
663b02d7
AO
13536 * manual/startup.texi: Document MTASC-safety properties.
13537
973f180b
AO
13538 * manual/socket.texi: Document MTASC-safety properties.
13539
8f3c25c8
AO
13540 * manual/signal.texi: Document MTASC-safety properties.
13541
542210fb
AO
135422014-01-31 Alexandre Oliva <aoliva@redhat.com>
13543
13544 * manual/setjmp.texi: Document MTASC-safety properties.
13545
433c45a2
AO
13546 * manual/search.texi: Document MTASC-safety properties.
13547
c8ce789c
AO
13548 * manual/resource.texi: Document MTASC-safety properties.
13549
19f5d29c
AO
13550 * manual/process.texi: Document MTASC-safety properties.
13551
e2dfb7f4
AO
13552 * manual/platform.texi: Document MTASC-safety properties.
13553
8c1413f5
AO
13554 * manual/pipe.texi: Document MTASC-safety properties.
13555
03483ada
AO
13556 * manual/pattern.texi: Document MTASC-safety properties.
13557
29e7e2df
AO
13558 * manual/message.texi: Document MTASC-safety properties.
13559
9f529d7c
AO
13560 [BZ #12751]
13561 * manual/memory.texi: Document MTASC-safety properties.
13562
27aaa791
AO
13563 * manual/math.texi: Document MTASC-safety properties.
13564
f2d58726
AO
13565 * manual/locale.texi: Document MTASC-safety properties.
13566
2cc3615c
AO
13567 * manual/llio.texi: Document MTASC-safety properties.
13568
d9f0ec97
AO
13569 * manual/libdl.texi: New.
13570
e7c4409a
AO
13571 * manual/lang.texi: Document MTASC-safety properties.
13572
27bdc63c
AO
13573 * manual/job.texi: Document MTASC-safety properties.
13574
a7b90ea9
AO
13575 * manual/getopt.texi: Document MTASC-safety properties.
13576
c49130e3
AO
13577 * manual/ctype.texi: Document MTASC-safety properties.
13578
0d23a5c1
MR
135792014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13580
13581 [BZ #16046]
13582 * csu/libc-tls.c (static_map): Remove variable.
13583 (__libc_setup_tls): Use main executable's link map for TLS data.
13584 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13585 casing for LM_ID_BASE and GL(dl_nns).
13586 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13587 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13588 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13589 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13590 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13591 member.
13592 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13593 l_phnum members.
13594
0037bb60
AO
135952014-01-30 Alexandre Oliva <aoliva@redhat.com>
13596
13597 * manual/debug.texi: Document MTASC-safety properties.
13598
409e00bd
L
135992014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13600
13601 [BZ #16510]
13602 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13603 of __x86_64__ when disabling x87 inline functions.
13604
86e60666
AO
136052014-01-29 Alexandre Oliva <aoliva@redhat.com>
13606
13607 * manual/charset.texi: Document MTASC-safety properties.
13608
76167637
AO
13609 * manual/crypt.texi: Document MTASC-safety properties.
13610
e567f2a0
AO
13611 * manual/conf.texi: Document MTASC-safety properties.
13612
b719dafd
AO
13613 * manual/arith.texi: Document MTASC-safety properties.
13614
4a16c662
AO
13615 * manual/argp.texi: Document MTASC-safety properties.
13616
0a57b83e
AO
13617 * manual/macros.texi: Introduce macros to document multi
13618 thread, asynchronous signal and asynchronous cancellation
13619 safety properties.
13620 * manual/intro.texi: Introduce the properties themselves.
13621
feab2397
KK
136222014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13623
13624 * sysdeps/sh/sh4/Makefile: New file.
13625
1c0d11bc
AS
136262014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13627
13628 * math/gen-libm-test.pl ($srcdir): New variable.
13629 ($auto_input): Use it.
13630
af37a8a3
SP
136312014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13632
d7b00f98
SP
13633 [BZ #16506]
13634 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13635 access beyond array bounds when parsing netgroups file.
13636
af37a8a3
SP
13637 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13638 the old buffer before realloc.
13639
0c00f062
AM
136402014-01-27 Allan McRae <allan@archlinux.org>
13641
13642 * po/fr.po: Update French translation from translation project.
13643
7d69a1b0
KK
136442014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13645
13646 * sysdeps/sh/libm-test-ulps: Regenerate.
13647
6e697ff7
DM
136482014-01-24 David S. Miller <davem@davemloft.net>
13649
13650 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13651
9cadb35c
KK
136522014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13653
13654 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13655 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13656
5d41dadf
SP
136572013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13658
13659 [BZ #16474]
13660 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13661 string pointers after reallocation.
13662
0bad441c
KK
136632014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13664
13665 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13666 __SH4A__ instead of __SH_FPU_ANY__.
13667
7007c661
KK
136682014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13669
13670 * sysdeps/sh/fpu_control.h: New file.
13671 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13672 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13673 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13674 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13675 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13676 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13677 * sysdeps/sh/sys/ucontext.h: Remove.
13678 * sysdeps/sh/sys: Remove directory.
13679
0f0c35e4
AK
136802014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13681
13682 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13683 s390/sys/ucontext.h.
13684 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13685 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13686
4959e284
L
136872014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13688
13689 [BZ #15605]
13690 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13691
d98720e0
AZ
136922014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13693
13694 [BZ#16431]
13695 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13696 Adjust the vDSO correctly for internal calls.
13697 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13698
91cbd0bc
AM
136992014-01-20 Allan McRae <allan@archlinux.org>
13700
13701 * po/ca.po: Update Catalan translation from translation project.
13702
7a02cfad
MF
137032014-01-16 Mike Frysinger <vapier@gentoo.org>
13704
13705 * sysdeps/s390/sotruss-lib.c: New file.
13706
736c304a
AZ
137072014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13708
13709 [BZ#16430]
6e077ee5 13710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13711 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13712 local calls issues by not having a PLT stub required for IFUNC calls.
13713 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13714
94d0cea0
JM
137152014-01-16 Joseph Myers <joseph@codesourcery.com>
13716
13717 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13718 * math/test-fpucw-static.c: Likewise.
13719
980cb518
SP
137202013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13721
13722 [BZ #16453]
13723 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13724
2393fc01
AZ
137252014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13726
13727 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13728 implementation for powerpc.
13729
d359bcc2
OB
137302014-01-15 Ondřej Bílka <neleai@seznam.cz>
13731
13732 [BZ #14782]
13733 * sysdeps/posix/system.c (__libc_system): Do not enable
13734 asynchronous cancellation.
13735
7beb48cb
AK
137362014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13737
13738 [BZ #16427]
13739 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13740 handling only for numbers special also in the IEEE case.
13741
c20d5bf5
AK
137422014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13743
13744 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13745
e83bd4ee
AM
137462014-01-11 Allan McRae <allan@archlinux.org>
13747
76d0ea69
AM
13748 * po/bg.po: Update Bulgarian translation from translation project.
13749
e83bd4ee
AM
13750 * po/de.po: Update German translation from translation project.
13751
bc2ba20a
RM
137522014-01-10 Roland McGrath <roland@hack.frob.com>
13753
13754 * sysdeps/generic/gcc-compat.h: New file.
13755
649ecea2
SP
137562014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13757
13758 * benchtests/asin-inputs: Correct slow inputs.
13759 * benchtests/acos-inputs: Likewise.
13760
1b19c006
AM
137612014-01-10 Allan McRae <allan@archlinux.org>
13762
a46dab08
AM
13763 * po:sv.po: Update Swedish translation from translation project.
13764
421df74a
AM
13765 * po/vi.po: Update Vietnamese translation from translation project.
13766
d61c51a7
AM
13767 * po/eo.po: Update Esperanto translation from translation project.
13768
0339a319
AM
13769 * po/cs.po: Update Czech translation from translation project.
13770
94ad3e99
AM
13771 * po/nl.po: Update Dutch translation from translation project.
13772
e349ca71
AM
13773 * po/pl.po: Update Polish translation from translation project.
13774
ddf930c1
AM
13775 * po/ru.po: Update Russian translation from translation project.
13776
1b19c006
AM
13777 * po/uk.po: Update Ukrainian translation from translation project.
13778
9f236c49
BM
137792014-01-08 Brooks Moses <bmoses@google.com>
13780
13781 * elf/dl-load.c: Fix comment typo.
13782
cd6701cf
CD
137832014-01-08 Carlos O'Donell <carlos@redhat.com>
13784
13785 * po/header.pot: Rename to...
13786 * po/pot.header: ... this.
13787 * po/Makefile: Use pot.header.
13788
66671c84
YK
137892014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13790 Maxim Kuvyrkov <maxim@kugelworks.com>
13791
13792 [BZ #16394]
cd6701cf
CD
13793 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13794 SRC and DEST against LEN.
66671c84 13795
38f34581
AZ
137962014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13797
13798 [BZ #16414]
13799 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13800 implementation.
13801 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13802
138032014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
13804
13805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13806
4c327f2a
JM
138072014-01-08 Joseph Myers <joseph@codesourcery.com>
13808
13809 [BZ #16408]
13810 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13811 for large positive arguments.
13812
b821f414
JM
138132014-01-07 Joseph Myers <joseph@codesourcery.com>
13814
1f0f2067
JM
13815 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13816
a5a326f6
JM
13817 * math/auto-libm-test-in: Mark various tests with
13818 xfail-rounding:ldbl-128ibm.
13819 * math/auto-libm-test-out: Regenerated.
13820
b821f414
JM
13821 [BZ #16407]
13822 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13823 Increase overflow threshold.
13824
94c8a4bc
OB
138252014-01-07 Ondřej Bílka <neleai@seznam.cz>
13826
13827 [BZ #14286]
13828 * stdio-common/vfprintf.c: Check for integer overflow.
13829
87ded0c3
AK
138302014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13831
13832 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13833 the first argument and return value of __tls_get_addr_internal.
13834
c5eebdd0
AK
138352014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13836
13837 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13838 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13839
05d138ef
AK
138402014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13841
13842 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13843 * sysdeps/s390/rtld-global-offsets.sym: New file.
13844 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13845 GLIBC_2.19 symbol.
13846 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13847 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13848 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13849 ... this.
13850 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13851 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13852 ... this.
13853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13854 Regenerate.
13855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13856 Regenerate.
13857 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13858 halfs of GPRs for high_gprs contexts.
13859 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13860 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13861 field.
13862 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13863 uc_flags field.
13864 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13865 64 bit versions:
13866 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13867 for high GPRs (uc_high_gprs) and for future extensions
13868 (__reserved).
13869 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13870 for future extensions (__reserved).
13871 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13872 64 bit versions:
13873 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13874 SC_HIGHGPRS offset definition.
13875 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13876 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13877
93a45ff1
AK
13878 * Versions.def: Add GLIBC_2.19 for libpthread.
13879 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13880 siglongjmp for libpthread with GLIBC_2.19 symver.
13881 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13882 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13883 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13884 * sysdeps/s390/__longjmp.c: New file.
13885 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13886 * sysdeps/s390/longjmp.c: New file.
13887 * sysdeps/s390/setjmp.S: New file.
13888 * sysdeps/s390/sigjmp.S: New file.
13889 * sysdeps/s390/v1-longjmp.c: New file.
13890 * sysdeps/s390/v1-setjmp.h: New file.
13891 * sysdeps/s390/v1-sigjmp.c: New file.
13892 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13893 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13894 GLIBC_2.19 version.
13895 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13896 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13897 versioned symbols for ____longjmp_chk.
13898 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13899 Likewise.
13900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13901 Regenerate.
13902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13903 Regenerate.
13904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13905 Regenerate.
13906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13907 Regenerate.
13908 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13909 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13910 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13911 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13912 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13913 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13914 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13915 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13916 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13917 * sysdeps/s390/rtld-__longjmp.c: New file.
13918 * sysdeps/s390/rtld-setjmp.S: New file.
13919
eb3fc44b
JM
139202014-01-06 Joseph Myers <joseph@codesourcery.com>
13921
13922 [BZ #16400]
13923 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13924 Return -__logl (x) for small positive arguments without evaluating
13925 a polynomial.
13926
9341dde4
MF
139272014-01-06 Mike Frysinger <vapier@gentoo.org>
13928
13929 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13930 Rename to ...
13931 (__ptrace_peeksiginfo_args): ... this.
13932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13935
4cff0293
AM
139362014-01-06 Allan McRae <allan@archlinux.org>
13937
13938 * inet/netinet/in.h: Fix typo in comment.
13939
75595dcf
AJ
139402014-01-05 Andreas Jaeger <aj@suse.de>
13941
13942 * sysdeps/i386/fpu/libm-test-ulps: Update.
13943
79c1e109
AM
139442014-01-05 Allan McRae <allan@archlinux.org>
13945
dd804818
AM
13946 * po/libc.pot: Regenerated.
13947
79c1e109
AM
13948 * malloc/memusagestat.c: Fix gettext call formatting.
13949
0c813d1f
SK
139502014-01-04 Sami Kerola <kerolasa@iki.fi>
13951
13952 * nscd/nscd.c: Improve usage() output.
13953
20f4a8d9
MF
139542014-01-04 Mike Frysinger <vapier@gentoo.org>
13955
13956 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13957 * sysdeps/unix/sysv/linux/configure: Regenerated.
13958 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13959 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13960
22562bb2
JM
139612014-01-03 Joseph Myers <joseph@codesourcery.com>
13962
13963 [BZ #16390]
13964 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13965 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13966
d7ad2d9b
AZ
139672014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13968
13969 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13970 extra tokens at end of #undef directive.
13971 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13972 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13973 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13974
7dd009d8
JM
139752014-01-03 Joseph Myers <joseph@codesourcery.com>
13976
24db925a
JM
13977 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13978
7dd009d8
JM
13979 * math/auto-libm-test-in: Mark various tests with
13980 xfail-rounding:ldbl-128ibm.
13981 * math/auto-libm-test-out: Regenerated.
13982
396e3ecf
JM
139832014-01-02 Joseph Myers <joseph@codesourcery.com>
13984
819e5d50
JM
13985 [BZ #16386]
13986 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13987 numbers with subnormal high part when calculating exponent.
13988
90b6a1e5
JM
13989 [BZ #16385]
13990 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13991 fabs.
13992
396e3ecf
JM
13993 [BZ #16384]
13994 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13995 M_LN2l.
13996 (__ieee754_acoshl): Use __log1pl not __log1p.
13997
6c8dbf00
OB
139982013-01-02 Ondřej Bílka <neleai@seznam.cz>
13999
57f41c40
AS
14000 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14001 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14002 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14003 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14004 (reused_arena, arena_get2): Convert to GNU style.
14005 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14006 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14007 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14008 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14009 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14010 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14011 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14012 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14013 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14014 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14015 * malloc/malloc.h: Likewise.
57f41c40
AS
14016 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14017 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14018 * malloc/mcheck.h: Likewise.
57f41c40
AS
14019 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14020 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14021 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14022 * malloc/morecore.c (__default_morecore): Likewise.
14023 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14024 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14025 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14026 (print_and_abort): Likewise.
6c8dbf00
OB
14027 * malloc/obstack.h: Likewise.
14028 * malloc/set-freeres.c (__libc_freeres): Likewise.
14029 * malloc/tst-mallocstate.c (main): Likewise.
14030 * malloc/tst-mtrace.c (main): Likewise.
14031 * malloc/tst-realloc.c (do_test): Likewise.
14032
d4124212
SP
140332013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14034
9a3c6a6f
SP
14035 [BZ #16366]
14036 * nscd/netgroupcache.c (do_notfound): New function.
14037 (addgetnetgrentX): Use it.
14038
d4124212
SP
14039 [BZ # 16365]
14040 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14041 NSS_STATUS_NOTFOUND.
14042
97b9a009
JM
140432014-01-01 Joseph Myers <joseph@codesourcery.com>
14044
14045 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14047
d4697bc9
AM
140482014-01-01 Allan McRae <allan@archlinux.org>
14049
ddb3687f
AM
14050 * scripts/update-copyrights: Update configure input file suffix.
14051
88726d48
AM
14052 * NEWS: Update copyright year.
14053 * catgets/gencat.c: Likewise.
14054 * csu/version.c: Likewise.
14055 * debug/catchsegv.sh: Likewise.
14056 * debug/pcprofiledump.c: Likewise.
14057 * debug/xtrace.sh: Likewise.
14058 * elf/ldconfig.c: Likewise.
14059 * elf/ldd.bash.in: Likewise.
14060 * elf/pldd.c: Likewise.
14061 * elf/sotruss.ksh: Likewise.
14062 * elf/sprof.c: Likewise.
14063 * iconv/iconv_prog.c: Likewise.
14064 * iconv/iconvconfig.c: Likewise.
14065 * locale/programs/locale.c: Likewise.
14066 * locale/programs/localedef.c: Likewise.
14067 * login/programs/pt_chown.c: Likewise.
14068 * malloc/memusage.sh: Likewise.
14069 * malloc/memusagestat.c: Likewise.
14070 * malloc/mtrace.pl: Likewise.
14071 * manual/libc.texinfo: Likewise.
14072 * nscd/nscd.c: Likewise.
14073 * nss/getent.c: Likewise.
14074 * nss/makedb.c: Likewise.
14075 * posix/getconf.c: Likewise.
14076 * scripts/test-installation.pl: Likewise.
14077
d4697bc9
AM
14078 * All files with FSF copyright notices: Update copyright dates
14079 using scripts/update-copyrights.
14080 * intl/plural.c: Regenerated.
14081 * locale/programs/charmap-kw.h: Likewise.
14082 * locale/programs/locfile-kw.h: Likewise.
14083
c8590f9d
MF
140842013-12-31 Mike Frysinger <vapier@gentoo.org>
14085
14086 * sysdeps/unix/sysv/linux/configure: Regenerated.
14087 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14088 the linux/fanotify.h header.
14089 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14090 HAVE_LINUX_FANOTIFY_H is defined.
14091
b19221b9
SP
140922013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14093
dd1d85e5
SP
14094 * benchtests/cos-inputs: New inputs.
14095 * benchtests/sin-inputs: Likewise.
14096
1acbb90f
SP
14097 * benchtests/atan-inputs: New inputs. Fix name of multiple
14098 precision fallback inputs.
14099
4c012ed3
SP
14100 * benchtests/atanh-inputs: New inputs.
14101 * benchtests/tanh-inputs: Likewise.
14102
eff98324
SP
14103 * benchtests/acosh-inputs: New inputs.
14104 * benchtests/asinh-inputs: Likewise.
14105
ce641152
SP
14106 * benchtests/cosh-inputs: New inputs.
14107 * benchtests/sinh-inputs: Likewise.
14108
b19221b9
SP
14109 * benchtests/acos-inputs: Add more inputs.
14110 * benchtests/asin-inputs: Likewise.
14111
030a4976 141122013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14113
030a4976 14114 [BZ #16375]
9dcc8f11
VS
14115 * manual/arith.texi: Fix spelling.
14116 * manual/charset.texi: Likewise.
14117 * manual/errno.texi: Likewise.
14118 * manual/filesys.texi: Likewise.
14119 * manual/lang.texi: Likewise.
14120 * manual/llio.texi: Likewise.
14121 * manual/locale.texi: Likewise.
14122 * manual/message.texi: Likewise.
14123 * manual/resource.texi: Likewise.
14124 * manual/search.texi: Likewise.
14125 * manual/setjmp.texi: Likewise.
14126 * manual/stdio.texi: Likewise.
14127 * manual/string.texi: Likewise.
14128 * manual/sysinfo.texi: Likewise.
14129 * manual/time.texi: Likewise.
14130
11520a57
CD
141312013-12-27 Carlos O'Donell <carlos@redhat.com>
14132
14133 * po/sl.po: New file.
14134
471103ae
MF
141352013-12-27 Mike Frysinger <vapier@gentoo.org>
14136
14137 * .gitignore: Add core/.gdbinit/.gdb_history.
14138
6c9642ed
AM
141392013-12-27 Allan McRae <allan@archlinux.org>
14140
14141 [BZ #16369]
14142 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14143 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14144
3f637079
BM
141452013-12-24 Brooks Moses <bmoses@google.com>
14146
14147 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14148 all compilers that claim C++98 compliance, not just GCC.
14149 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14150 Likewise.
14151
abc26e99
MK
141522013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14153
14154 * NEWS: Restore accidentally deleted bug-fix entries.
14155
362b47fe
MK
141562013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14157 Ondřej Bílka <neleai@seznam.cz>
14158
14159 [BZ #15073]
14160 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14161 have_lock.
362b47fe 14162
b9bcbbcb
OB
141632013-12-23 Ondřej Bílka <neleai@seznam.cz>
14164
14165 [BZ #12986]
14166 * manual/stdio.texi (String Input Conversions): Clarify that character
14167 classes are not supported.
14168
fb55fcd2
AZ
141692013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14170
14171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14172
ef7344f0
JM
141732013-12-22 Joseph Myers <joseph@codesourcery.com>
14174
4f40e4b3
JM
14175 [BZ #16337]
14176 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14177 Calculate results for small negative arguments directly rather
14178 than using reflection formula with special underflow handling.
14179
ef7344f0
JM
14180 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14181 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14182 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14183 (fchflags): Likewise.
14184 (revoke): Likewise.
14185 (setlogin): Likewise.
14186 (sigaltstack): Likewise.
14187 (wait4): Likewise.
14188 (sigblock): Remove.
14189 (sigsetmask): Likewise.
14190 (wait3): Likewise.
14191 (waitpid): Likewise.
14192 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14193 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14194 file.
14195 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14196 * sysdeps/unix/bsd/Makefile: ... here.
14197 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14198 * sysdeps/unix/bsd/Versions: ... here.
14199 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14200 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14201 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14202 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14203 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14204 * sysdeps/unix/bsd/sigblock.c: ... here.
14205 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14206 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14207 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14208 * sysdeps/unix/bsd/sigvec.c: ... here.
14209 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14210 * sysdeps/unix/bsd/tcdrain.c: ... here.
14211 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14212 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14213 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14214 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14215 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14216 * sysdeps/unix/bsd/wait.c: ... here.
14217 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14218 * sysdeps/unix/bsd/wait3.c: ... here.
14219 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14220 * sysdeps/unix/bsd/waitpid.c: ... here.
14221
5b0626b9
JM
142222013-12-21 Joseph Myers <joseph@codesourcery.com>
14223
14224 [BZ #16356]
14225 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14226 round-to-nearest for [!USE_AS_EXPM1L].
14227 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14228 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14229 more tests of exp and exp10. Expect some exp10 tests to miss
14230 exceptions or fail in directed rounding modes.
14231 * math/auto-libm-test-out: Regenerated.
14232 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14233 (exp10_test_tonearest): New function.
14234 (exp10_towardzero_test_data): New array.
14235 (exp10_test_towardzero): New function.
14236 (exp10_downward_test_data): New array.
14237 (exp10_test_downward): New function.
14238 (exp10_upward_test_data): New array.
14239 (exp10_test_upward): New function.
14240 (main): Call the new functions.
14241 * sysdeps/i386/fpu/libm-test-ulps: Update.
14242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14243
7fda5682
JM
142442013-12-20 Joseph Myers <joseph@codesourcery.com>
14245
31e3a405
JM
14246 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14247 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14248 * math/auto-libm-test-out: Regenerated.
14249 * math/libm-test.inc (acosh_test_data): Add more tests.
14250 (atanh_test_data): Likewise.
14251 (ceil_test_data): Likewise.
14252 (copysign_test_data): Likewise.
14253 * sysdeps/i386/fpu/libm-test-ulps: Update.
14254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14255
85bff96a
JM
14256 * timezone/checktab.awk: Update from tzcode 2013i.
14257 * timezone/private.h: Likewise.
14258 * timezone/scheck.c: Likewise.
14259 * timezone/tzfile.h: Likewise.
14260 * timezone/tzselect.ksh: Likewise.
14261 * timezone/zdump.c: Likewise.
14262 * timezone/zic.c: Likewise.
14263
b7867a3b
JM
14264 * math/auto-libm-test-in: Add tests of cpow.
14265 * math/auto-libm-test-out: Regenerated.
14266 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14267 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14268 mpc_cc_c.
14269 (func_calc_desc): Add mpc_cc_c union field.
14270 (test_functions): Add cpow.
14271 (special_fill_2pi): New function.
14272 (special_real_inputs): Add 2pi.
14273 (calc_generic_results): Handle mpc_cc_c.
14274 * sysdeps/i386/fpu/libm-test-ulps: Update.
14275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14276
7fda5682
JM
14277 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14278 csqrt, ctan and ctanh.
14279 * math/auto-libm-test-out: Regenerated.
14280 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14281 (TEST_COND_x86): Likewise.
14282 (ccos_test_data): Use AUTO_TESTS_c_c.
14283 (ccosh_test_data): Likewise.
14284 (cexp_test_data): Likewise.
14285 (clog_test_data): Likewise.
14286 (csqrt_test_data): Likewise.
14287 (ctan_test_data): Likewise.
14288 (ctan_tonearest_test_data): Likewise.
14289 (ctan_towardzero_test_data): Likewise.
14290 (ctan_downward_test_data): Likewise.
14291 (ctan_upward_test_data): Likewise.
14292 (ctanh_test_data): Likewise.
14293 (ctanh_tonearest_test_data): Likewise.
14294 (ctanh_towardzero_test_data): Likewise.
14295 (ctanh_downward_test_data): Likewise.
14296 (ctanh_upward_test_data): Likewise.
14297 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14298 mpc_c_c.
14299 (func_calc_desc): Add mpc_c_c union field.
14300 (FUNC_mpc_c_c): New macro.
14301 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14302 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14303 ctanh.
14304 (special_fill_min_subnorm_p120): New function.
14305 (special_real_inputs): Add min_subnorm_p120.
14306 (calc_generic_results): Handle mpc_c_c.
14307 * sysdeps/i386/fpu/libm-test-ulps: Update.
14308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14309
5ff8d60e
SP
143102013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14311
57f41c40
AS
14312 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14313 (do_sin_slow): New functions.
14314 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14315 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14316
84ba214c
SP
14317 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14318 Use M to change sign of result instead of X. Assume X is
14319 positive.
14320 (csloww1): Likewise.
14321 (__sin): Adjust.
14322 (__cos): Adjust.
14323
975195e4
SP
14324 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14325 arguments A and DA.
14326 (__sin): Adjust.
14327 (__cos): Likewise.
14328
5ff8d60e
SP
14329 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14330 (__cos): Likewise.
14331 (sloww1): Don't adjust sign of DX.
14332 (csloww1): Likewise.
14333 (sloww2): Use X directly and don't adjust sign of DX.
14334 (csloww2): Likewise.
14335
eb983568
JM
143362013-12-19 Joseph Myers <joseph@codesourcery.com>
14337
64a17f1a
JM
14338 * math/auto-libm-test-in: Add tests of cabs and carg.
14339 * math/auto-libm-test-out: Regenerated.
14340 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14341 (carg_test_data): Likewise.
14342 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14343 mpc_c_f.
14344 (func_calc_desc): Add mpc_c_f union field.
14345 (test_functions): Add cabs and carg.
14346 (calc_generic_results): Handle mpc_c_f.
14347
eb983568
JM
14348 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14349 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14350 as a macro and a compat symbol.
14351 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14352 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14353 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14354 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14355 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14356 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14357 not use .hidden.
14358 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14359 Likewise.
14360 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14361 Likewise.
14362 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14363 Likewise.
14364 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14365 Likewise.
14366 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14367 Likewise.
14368 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14369 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14370 from GLIBC_2.3.2.
14371
6eeb678a
AZ
143722013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14373
14374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14375
6f6fc482
JM
143762013-12-19 Joseph Myers <joseph@codesourcery.com>
14377
21fea2e2
JM
14378 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14379 trailing whitespace removed.
14380 * scripts/config.guess: Update to version 2013-11-29.
14381 * scripts/config.sub: Update to version 2013-10-01.
14382
6f6fc482
JM
14383 * math/auto-libm-test-in: Add tests of sincos.
14384 * math/auto-libm-test-out: Regenerated.
14385 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14386 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14387 mpfr_f_11.
14388 (func_calc_desc): Add mpfr_f_11 union field.
14389 (test_functions): Add sincos.
14390 (calc_generic_results): Handle mpfr_f_11.
14391 * sysdeps/i386/fpu/libm-test-ulps: Update.
14392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14393
83f5c32d
AS
143942013-12-19 Andreas Schwab <schwab@suse.de>
14395
14396 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14397 CALL_MCOUNT.
14398 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14399 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14400 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14401
c688b419
JM
144022013-12-19 Joseph Myers <joseph@codesourcery.com>
14403
335ee092
JM
14404 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14405 * sysdeps/i386/fpu/libm-test-ulps: Update.
14406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407
f88acd39
JM
14408 [BZ #16293]
14409 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14410 round-to-nearest mode when using frndint.
14411 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14412 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14413 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14414 Likewise.
14415 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14416 sinh test to fail.
14417 * math/auto-libm-test-out: Regenerated.
14418 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14419 (TEST_COND_x86): Likewise.
14420 (expm1_tonearest_test_data): New array.
14421 (expm1_test_tonearest): New function.
14422 (expm1_towardzero_test_data): New array.
14423 (expm1_test_towardzero): New function.
14424 (expm1_downward_test_data): New array.
14425 (expm1_test_downward): New function.
14426 (expm1_upward_test_data): New array.
14427 (expm1_test_upward): New function.
14428 (main): Run the new test functions.
14429 * sysdeps/i386/fpu/libm-test-ulps: Update.
14430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14431
c688b419
JM
14432 * include/features.h: Update comment documenting feature test
14433 macros. Mention _DEFAULT_SOURCE in comment.
14434 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14435 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14436 _BSD_SOURCE and _SVID_SOURCE.
14437 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14438 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14439 !_SVID_SOURCE]: Likewise.
14440 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14441 (__USE_POSIX_IMPLICITLY): Define.
14442 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14443 (_POSIX_SOURCE): Undefine and redefine.
14444 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14445 (_POSIX_C_SOURCE): Likewise.
14446 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14447 (Feature Test Macros): Update documentation of default features.
14448
9f6e964c
RS
144492013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14450
14451 * benchtests/Makefile: Add bench-strtok.
14452 * benchtests/bench-strtok.c: New file: strtok benchtest.
14453
ee0a148a
AM
144542013-12-19 Allan McRae <allan@archlinux.org>
14455
14456 * manual/install.texi: Suppress menu for plain text output.
14457 * INSTALL: Regenerated.
14458
b9ab448f
BM
144592013-12-18 Brooks Moses <bmoses@google.com>
14460
14461 [BZ #15846]
14462 * misc/getauxval.c: Include errno.h.
14463 (__getauxval): Set errno to ENOENT if the requested type is not
14464 found.
14465 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14466 don't declare with __attribute_const__.
14467 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14468 * manual/startup.texi: Document that getauxval sets errno.
14469
23776487
JM
144702013-12-18 Joseph Myers <joseph@codesourcery.com>
14471
f889953b
JM
14472 * math/auto-libm-test-in: Add tests of jn and yn.
14473 * math/auto-libm-test-out: Regenerated.
14474 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14475 (yn_test_data): Likewise.
14476 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14477 mpfr_if_f.
14478 (func_calc_desc): Add mpfr_if_f union field.
14479 (FUNC_mpfr_if_f): New macro.
14480 (test_functions): Add jn and yn.
14481 (calc_generic_results): Assert type of second input for
14482 mpfr_ff_f. Handle mpfr_if_f.
14483 (output_for_one_input_case): Disable all checking for arguments
14484 fitting floating-point types in case of an integer argument.
14485 * sysdeps/i386/fpu/libm-test-ulps: Update.
14486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14487
23776487
JM
14488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14489 Don't expect fegetround reference in libm.so.
14490
cb756c6d
MS
144912013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14492
14493 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14494 $(config-cflags-nofma).
14495
2dec468f
JM
144962013-12-18 Joseph Myers <joseph@codesourcery.com>
14497
5953eb3a
JM
14498 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14499 * math/auto-libm-test-out: Regenerated.
14500
2dec468f
JM
14501 [BZ #16338]
14502 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14503 to determine exponent and adjust argument to have exponent of -1.
14504 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14505 log2.
14506 * math/auto-libm-test-out: Regenerated.
14507 * sysdeps/i386/fpu/libm-test-ulps: Update.
14508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14509
4d84e6ad
OB
145102013-12-18 Ondřej Bílka <neleai@seznam.cz>
14511
14512 * manual/probes.texi: Remove cases when per-thread arenas are
14513 disabled.
14514
1818483b
AS
145152013-12-18 Andreas Schwab <schwab@suse.de>
14516
14517 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14518 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14519 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14520 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14521 * sysdeps/i386/i686/multiarch/Makefile: Update.
14522 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14523
25de95bf
JM
145242013-12-17 Joseph Myers <joseph@codesourcery.com>
14525
14526 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14527 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14528
674762d9
PE
145292013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14530
ed27ed83 14531 [BZ #15968]
0748546f
PE
14532 Support TZ transition times < 00:00:00.
14533 This is needed for version-3 tz-format files; it supports time
14534 stamps past 2037 for America/Godthab (the only entry in the tz
14535 database for which this change is relevant).
14536 * manual/time.texi (TZ Variable): Document transition times
14537 from -167:59:59 through -00:00:01.
14538 * time/tzset.c (tz_rule): Time of day is now signed.
14539 (__tzset_parse_tz): Parse negative time of day.
14540
4480e934
PE
14541 Document TZ transition times >= 25:00:00.
14542 * manual/time.texi (TZ Variable): Document transition times from
14543 25:00:00 through 167:59:59. These are already supported, and this
14544 support will help with version-3 tz-format files.
14545
69947401
PE
14546 * manual/time.texi (TZ Variable): Modernize North America example
14547 to reflect current (i.e., 2007-and-later) daylight saving rules.
14548
674762d9
PE
14549 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14550
7011c262
JM
145512013-12-17 Joseph Myers <joseph@codesourcery.com>
14552
2fc6557e
JM
14553 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14554 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14557 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14558 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14559 * sysdeps/unix/bsd/clock.c: Likewise.
14560 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14561 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14562 * sysdeps/unix/bsd/init-posix.c: Likewise.
14563 * sysdeps/unix/bsd/poll.c: Likewise.
14564 * sysdeps/unix/bsd/ptsname.c: Likewise.
14565 * sysdeps/unix/bsd/seekdir.c: Likewise.
14566 * sysdeps/unix/bsd/setegid.c: Likewise.
14567 * sysdeps/unix/bsd/seteuid.c: Likewise.
14568 * sysdeps/unix/bsd/setgid.c: Likewise.
14569 * sysdeps/unix/bsd/setrgid.c: Likewise.
14570 * sysdeps/unix/bsd/setruid.c: Likewise.
14571 * sysdeps/unix/bsd/setsid.c: Likewise.
14572 * sysdeps/unix/bsd/setuid.c: Likewise.
14573 * sysdeps/unix/bsd/sigaction.c: Likewise.
14574 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14575 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14576 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14577 * sysdeps/unix/bsd/telldir.c: Likewise.
14578 * sysdeps/unix/bsd/times.c: Likewise.
14579 * sysdeps/unix/bsd/usleep.c: Likewise.
14580
029c7b25
JM
14581 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14582 ($(objpfx)libbsd-compat.a): Remove rule.
14583
7011c262
JM
14584 * include/features.h (__FAVOR_BSD): Do not define.
14585 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14586 features conflicting with POSIX.
14587 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14588 (_BSD_SOURCE): Remove description of not being a subset of other
14589 feature test macros.
14590 * manual/job.texi (getpgrp): Do not document BSD version.
14591 (getpgid): Do not document by reference to BSD getpgrp.
14592 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14593 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14594 * signal/signal.h [__FAVOR_BSD]: Likewise.
14595 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14596 instead of making contents conditional on [__FAVOR_BSD].
14597 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14598
affb6f78
AZ
145992013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14600
14601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14602
c88769dd
JM
146032013-12-17 Joseph Myers <joseph@codesourcery.com>
14604
6432a540
JM
14605 [BZ #16314]
14606 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14607 values below 2**-450, not 2**-500.
14608 * math/auto-libm-test-in: Don't allow spurious underflow from
14609 hypot.
14610 * math/auto-libm-test-out: Regenerated.
14611
c88769dd
JM
14612 [BZ #16316]
14613 [BZ #16330]
14614 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14615 values of ha and hb and sort them after adjusting subnormal
14616 arguments.
14617 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14618 Likewise.
14619 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14620 values of ea and eb and sort them after adjusting subnormal
14621 arguments.
14622 * math/auto-libm-test-in: Do not expect some hypot tests of
14623 subnormals to fail. Add more hypot tests.
14624 * math/auto-libm-test-out: Regenerated.
14625
29618f6b
KK
146262013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14627
14628 [BZ #13304]
14629 * sysdeps/sh/s_fma.c: New file.
14630 * sysdeps/sh/s_fmaf.c: New file.
14631 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14632 version.
14633 * sysdeps/sh/Implies: Add sh/soft-fp.
14634
eacfdfbf
RM
146352013-12-16 Roland McGrath <roland@hack.frob.com>
14636
14637 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14638 level of indirection to members `objname', `errstring', `malloced'.
14639 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14640 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14641 it as the __longjmp argument (just pass 1 instead).
14642 (_dl_catch_error): Initialize C with argument pointers and address of
14643 volatile local ERRCODE rather than copying values out of C at return.
14644
ff362e5b
JM
146452013-12-16 Joseph Myers <joseph@codesourcery.com>
14646
14647 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14648 * math/auto-libm-test-out: Regenerated.
14649 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14650 (hypot_test_data): Likewise.
14651 (pow_test_data): Likewise.
14652 (pow_tonearest_test_data): Likewise.
14653 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14654 mpfr_ff_f.
14655 (func_calc_desc): Add mpfr_ff_f union field.
14656 (FUNC_mpfr_ff_f): New macro.
14657 (test_functions): Add atan2, hypot and pow.
14658 (special_fill_min): New function.
14659 (special_fill_minus_min): Likewise.
14660 (special_fill_min_subnorm): Likewise.
14661 (special_fill_minus_min_subnorm): Likewise.
14662 (special_real_inputs): Add min, -min, min_subnorm and
14663 -min_subnorm.
14664 (calc_generic_results): Handle mpfr_ff_f.
14665 * sysdeps/i386/fpu/libm-test-ulps: Update.
14666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14667
5764c27f
WN
146682013-12-16 Will Newton <will.newton@linaro.org>
14669
14670 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14671 (Aligned Memory Blocks): Add documentation for aligned_alloc
14672 and suggest it as an alternative to posix_memalign.
14673 (Hooks for Malloc): Document __memalign_hook is also called
14674 for aligned_alloc. (Summary of Malloc): Add summary for
14675 aligned alloc. Document __memalign_hook is also called
14676 for aligned_alloc.
14677
0a096e44
WN
146782013-12-16 Will Newton <will.newton@linaro.org>
14679
14680 * manual/memory.texi (Malloc Examples): Clarify default
14681 alignment documentation. Suggest posix_memalign rather
14682 than memalign or valloc.
14683 (Aligned Memory Blocks): Remove suggestion to use memalign
14684 or valloc. Remove obsolete comment about BSD.
14685 Document memalign errno values and mark the function obsolete.
14686 Document posix_memalign returned error codes. Mark valloc
14687 as obsolete. (Hooks for Malloc): __memalign_hook is also
14688 called for posix_memalign and valloc.
14689 (Summary of Malloc): Add posix_memalign to function summary.
14690 __memalign_hook is also called for posix_memalign and valloc.
14691
8d561986
SP
146922013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14693
14694 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14695 TAYLOR_SIN.
14696 (__sin): Adjust.
14697 (__cos): Likewise.
14698 (sloww): Use mynumber union. Expand ternary operator into
14699 if-else statements.
14700 (cslow): use mynumber union.
14701
73616a74
AM
147022013-12-16 Allan McRae <allan@archlinux.org>
14703
9e8ac24b
AM
14704 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14705 * configure: Regenerated.
14706
6f8e37eb
AM
14707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14708
8894bad3
AM
14709 [BZ #14120]
14710 * configure.ac: Added --enable-maintainer-mode. Check for
14711 autoconf when enabled.
14712 * configure: Regenerated.
14713
73616a74
AM
14714 * nscd/nscd.service: New file.
14715 * nscd/nscd.tmpfiles: New file.
14716
584b18eb
OB
147172013-12-14 Ondřej Bílka <neleai@seznam.cz>
14718
14719 [BZ #12100]
14720 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14721 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14722 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14723 (strstr): Add __strstr_sse2_unaligned ifunc.
14724 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14725 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14726 (strcasestr): Remove __strcasestr_sse42 ifunc.
14727 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14728 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14730
8a5c7897
KK
147312013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14732
14733 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14734 * sysdeps/sh/bits/fenv.h: ... here.
14735 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14736
fd712ef3
AZ
147372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14738
14739 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14740
42fcb46c
AZ
14741 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14742 hypotf multiarch implementations.
14743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14746 multiarch hypot for PPC64.
14747 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14748 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14749 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14750 multiarch hypotf for PPC64.
14751
83efded4
AZ
14752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14753 modff multiarch implementations.
14754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14757 multiarch modf for PPC64.
14758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14761 multiarch modff for PPC64.
14762
43e246d2
AZ
14763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14764 and logl multiarch implementations.
14765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14768 multiarch logb for PPC64.
14769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14772 multiarch logb for PPC64.
14773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14776 multiarch logb for PPC64.
14777
8fdad123
AZ
14778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14779 isinff multiarch implementation.
14780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14781 file.
14782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14784 multiarch isinf for PPC64.
14785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14786 file.
14787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14788 multiarch isinff for PPC64.
14789
1481d706
AZ
14790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14791 finitef multiarch implementation.
14792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14793 file.
14794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14796 multiarch finite for PPC64.
14797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14798 file.
14799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14800 multiarch finitef for PPC64.
14801
5ccd5fc8
AZ
14802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14803 lrint multiarch implementation.
14804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14805 file.
14806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14808 multiarch llrint for PPC64.
14809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14810 multiarch lrint for PPC64.
14811
2568f3fa
AZ
14812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14813 copysignf multiarch implementation.
14814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14815 file.
14816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14817 file.
14818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14819 multiarch copysign for PPC64.
14820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14821 multiarch copysignf for PPC64.
14822
1cb341fd
AZ
14823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14824 multiarch implementation.
14825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14826 file.
14827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14828 file.
14829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14830 file.
14831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14832 file.
14833 multiarch llround for PPC64.
14834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14835 multiarch trunc for PPC64.
14836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14837 multiarch truncf for PPC64.
14838
59a3e194
AZ
14839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14840 multiarch implementation.
14841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14842 file.
14843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14844 file.
14845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14846 file.
14847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14848 file.
14849 multiarch llround for PPC64.
14850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14851 multiarch round for PPC64.
14852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14853 multiarch roundf for PPC64.
14854
357fd3b4
AZ
14855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14856 multiarch implementation.
14857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14858 file.
14859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14860 file.
14861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14862 file.
14863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14864 file.
14865 multiarch llround for PPC64.
14866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14867 multiarch floor for PPC64.
14868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14869 multiarch floorf for PPC64.
14870
96770f12
AZ
14871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14872 multiarch implementation.
14873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14874 file.
14875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14876 file.
14877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14878 file.
14879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14880 file.
14881 multiarch llround for PPC64.
14882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14883 multiarch ceil for PPC64.
14884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14885 multiarch ceilf for PPC64.
14886
c3627f6e
AZ
14887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14888 multiarch implementation.
14889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14890 file.
14891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14892 file.
14893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14894 file.
14895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14896 multiarch llround for PPC64.
14897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14898 multiarch lround for PPC64.
14899
b2284ad7
AZ
14900 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14901 multiarch implementation.
14902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14905 file.
14906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14909 multiarch isnan for PPC64.
14910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14911 multiarch isnanf for PPC64.
14912
69bbc63d
AZ
14913 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14914 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14915 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14916 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14917 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14919
c24517c9
AZ
14920 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14921 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14922 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14923 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14924
a52374e8
AZ
14925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14926 multiarch implementations.
14927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14928 (__libc_ifunc_impl_list): Likewise.
14929 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14930 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14931 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14932 multiarch stpcpy for PPC64.
14933
7f5ec113
AZ
14934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14935 multiarch implementations.
14936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14937 (__libc_ifunc_impl_list): Likewise.
14938 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14939 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14940 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14941 multiarch strcpy for PPC64.
14942
e28bcd42
AZ
14943 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14944 redefine function name.
14945 (_wordcopy_fwd_dest_aligned): Likewise.
14946 (_wordcopy_bwd_aligned): Likewise.
14947 (_wordcopy_bwd_dest_aligned): Likewise.
14948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14949 multiarch implementations.
14950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14951 (__libc_ifunc_impl_list): Likewise.
14952 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14953 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14954 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14955 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14956 multiarch wcscpy for PPC64.
14957
92cacfce
AZ
14958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14959 multiarch implementations.
14960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14961 (__libc_ifunc_impl_list): Likewise.
14962 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14963 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14964 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14965 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14966 multiarch wcscpy for PPC64.
14967
7b714620
AZ
14968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14969 multiarch implementations.
14970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14971 (__libc_ifunc_impl_list): Likewise.
14972 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14973 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14974 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14975 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14976 multiarch wcsrchr for PPC64.
14977
16fd2ae3
AZ
14978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14979 multiarch implementations.
14980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14981 (__libc_ifunc_impl_list): Likewise.
14982 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14983 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14984 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14985 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14986 multiarch wcschr for PPC64.
14987
9ee2969b
AZ
14988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14989 multiarch implementations.
14990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14991 (__libc_ifunc_impl_list): Likewise.
14992 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14993 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14994 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14995 multiarch strchrnul for PPC64.
14996
372dc060
AZ
14997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14998 implementations.
14999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15000 (__libc_ifunc_impl_list): Likewise.
15001 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15002 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15003 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15004 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15005 strchr for PPC64.
15006
24c2c3b9
AZ
15007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15008 implementations.
15009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15010 (__libc_ifunc_impl_list): Likewise.
15011 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15012 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15013 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15014 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15015 strncmp for PPC64.
15016
1c92d9a0
AZ
15017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15018 multiarch implementations.
15019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15020 (__libc_ifunc_impl_list): Likewise.
15021 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15022 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15023 strncasecmp for PPC64.
15024 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15025 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15026 multiarch strncasecmp_l for PPC64.
15027
17de3ee3
AZ
15028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15029 multiarch implementations.
15030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15031 (__libc_ifunc_impl_list): Likewise.
15032 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15033 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15034 multiarch strcasecmp for PPC64.
15035 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15036 file.
15037 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15038 multiarch strcasecmp_l for PPC64.
15039
62982bf9
AZ
15040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15041 implementations.
15042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15043 (__libc_ifunc_impl_list): Likewise.
15044 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15045 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15046 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15047 strnlen for PPC64.
15048
a65f4904
AZ
15049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15050 implementations.
15051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15052 (__libc_ifunc_impl_list): Likewise.
15053 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15054 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15055 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15056 strlen for PPC64.
15057
1fd005ad
AZ
15058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15059 implementations.
15060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15061 (__libc_ifunc_impl_list): Likewise.
15062 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15063 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15064 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15065 rawmemrchr for PPC64.
15066
cd05ba91
AZ
15067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15068 implementation.
15069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15070 (__libc_ifunc_impl_list): Likewise.
15071 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15072 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15073 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15074 memrchr for PPC64.
15075
870f8676
AZ
15076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15077 implementation.
15078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15079 (__libc_ifunc_impl_list): Likewise.
15080 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15081 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15082 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15083 memchr for PPC64.
15084
f00be62b
AZ
15085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15086 implementation.
15087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15088 (__libc_ifunc_impl_list): Likewise.
15089 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15090 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15091 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15092 mempcpy for PPC64.
15093
8a29a3d0
AZ
15094 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15095 avoid cretion of __bzero symbol.
15096 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15097 Likewise.
15098 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15099 Likewise.
15100 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15101 Likewise.
15102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15103 multiarch implementations.
15104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15105 (__libc_ifunc_impl_list): Likewise.
15106 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15107 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15108 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15109 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15110 bzero for PPC32.
15111 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15112 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15113 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15114 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15115 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15116 memset for PPC64.
15117 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15118
07253fcf
AZ
15119 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15121 implementations.
15122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15123 (__libc_ifunc_impl_list): Likewise.
15124 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15125 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15126 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15127 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15128 memcmp for PPC64.
15129
b5beafbc
AZ
15130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15131 multiarch for POWER/PPC64.
15132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15133 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15134 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15135 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15136 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15137 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15138 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15139 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15140 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15141 memcpy for PPC64.
15142
5e6a4d4b
AZ
15143 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15144 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15145 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15146 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15147 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15148 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15149 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15150 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15151 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15152 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15153 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15154 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15155 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15156 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15157 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15165
ddfab6dc
KK
151662013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15167
15168 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15169
19b5525e
SP
151702013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15171
15172 * benchtests/Makefile (bench): Add exp2 and log2.
15173 (LDLIBS-bench-exp2): Add -lm.
15174 (LDLIBS-bench-log2): Likewise.
15175 * benchtests/exp2-inputs: New inputs file.
15176 * benchtests/log2-inputs: New inputs file.
15177 * benchtests/log-inputs: Add new inputs.
15178 * benchtests/tan-inputs: Likewise.
15179
196f7f5d
SP
151802013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15181
7a74607f
SP
15182 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15183 definition...
57f41c40
AS
15184 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15185 (csloww2): ... from here.
7a74607f 15186
196f7f5d
SP
15187 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15188 instead of structures.
15189 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15190 (POLYNOMIAL): Likewise.
15191 (TAYLOR_SLOW): Likewise.
15192 (__sin): Likewise.
15193 (__cos): Likewise.
15194 (slow1): Likewise.
15195 (slow2): Likewise.
15196 (sloww): Likewise.
15197 (sloww1); Likewise.
15198 (sloww2): Likewise.
15199 (bsloww1): Likewise.
15200 (bsloww2): Likewise.
15201 (cslow2): Likewise.
15202 (csloww): Likewise.
15203 (csloww1): Likewise.
15204 (csloww2): Likewise.
15205
0dfa665c
OB
152062013-12-10 Ondřej Bílka <neleai@seznam.cz>
15207
15208 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15209 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15210 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15211 * malloc/hooks.c (realloc_check): Likewise.
15212
5782a80f
OB
15213 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15214 * malloc/arena.c: Remove PER_THREAD conditional.
15215 [!PER_THREAD]: Remove code.
15216 (ptmalloc_unlock_all2): Likewise.
15217 (ptmalloc_init): Likewise.
15218 (_int_new_arena): Likewise.
15219 (arena_get2): Likewise.
15220 * malloc/hooks.c (__malloc_get_state): Likewise.
15221 (__malloc_set_state): Likewise.
15222 * malloc/malloc.c: Likewise.
15223 (struct malloc_state): Likewise.
15224 (struct malloc_par): Likewise.
15225 (__libc_realloc): Likewise.
15226 (__libc_mallopt): Likewise.
15227
aeb95445
AZ
152282013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15229
15230 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15231
e8349efd
OB
152322013-12-09 Ondřej Bílka <neleai@seznam.cz>
15233
15234 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15235 macro to a function. Check for zero perturb_byte.
15236 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15237
f3eeb3fc 15238 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15239 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15240 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15241 force_reg by atomic_forced_read.
15242 * malloc/arena.c (ptmalloc_init): Likewise.
15243 * malloc/hooks.c (top_check): Likewise.
15244
be2f9009
AZ
152452013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15246
15247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15248
e7b914bd
MT
152492013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15250
15251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15252
9f0be4f8
JM
152532013-12-08 Joseph Myers <joseph@codesourcery.com>
15254
15255 * math/auto-libm-test-in: Add tests of lgamma.
15256 * math/auto-libm-test-out: Regenerated.
15257 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15258 (M_LOG_2_SQRT_PIl): Likewise.
15259 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15260 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15261 mpfr_f_f1.
15262 (func_calc_desc): Add mpfr_f_f1 union field.
15263 (ARGS1): New macro.
15264 (ARGS2): Likewise.
15265 (ARGS3): Likewise.
15266 (ARGS4): Likewise.
15267 (RET1): Likewise.
15268 (RET2): Likewise.
15269 (CALC): Likewise.
15270 (FUNC): Likewise.
15271 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15272 (test_functions): Add lgamma.
15273 (calc_generic_results): Handle mpfr_f_f1.
15274 * sysdeps/i386/fpu/libm-test-ulps: Update.
15275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15276
24eeafdb
AZ
152772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15278
15279 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15280 __mpn_add_n for PowerPC64/POWER7.
15281 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15282 __mpn_sub_n for PowerPC64/POWER7.
15283
4a2c0fd4
AZ
15284 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15285 __mpn_addmul_1 for PowerPC64.
15286 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15287 __mpn_submul_1 for PowerPC64.
15288 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15289 for PowerPC64.
15290 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15291 for PowerPC64.
15292
4b5b548c
FS
152932013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15294
15295 [BZ #15089]
15296 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15297
0a3ac0aa
AZ
152982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15299
15300 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15301
ccdc8438
AZ
15302 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15303 add multiarch folders.
15304 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15305 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15306 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15307 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15308 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15309 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15310 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15311 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15312 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15313 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15314 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15321
2e973d99
AZ
15322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15323 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15325 New file.
15326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15327 New file.
15328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15329 multiarch __ieee754_hypot for PowerPC32.
15330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15331 New file.
15332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15333 New file.
15334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15335 multiarch __ieee754_hypotf for PowerPC32.
15336
2d9470b2
AZ
15337 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15338 long_double_symbol only if __logbl is defined.
15339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15340 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15342 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15344 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15345 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15346 path for implementation.
15347 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15348 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15350 logb, and logbl multiarch implementations for PowerPC32.
15351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15352 file.
15353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15354 file.
15355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15356 multiarch logb for PowerPC32.
15357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15358 file.
15359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15360 file.
15361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15362 multiarch logbf for PowerPC32.
15363 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15365 file.
15366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15367 multiarch logbl implementation for PowerPC32.
15368
5212ffce
AZ
15369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15370 and modff multiarch implementations.
15371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15372 New file.
15373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15374 New file.
15375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15376 multiarch modf for PowerPC32.
15377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15378 New file.
15379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15380 New file.
15381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15382 multiarch modff for PowerPC32.
15383
79dccf31
AZ
15384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15385 and lrintf multiarch implementations.
15386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15387 New file.
15388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15389 New file.
15390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15391 multiarch lrint for PowerPC32.
15392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15393 file: multiarch lrintf for PowerPC32.
15394
deb66480
AZ
15395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15396 and lroundf multiarch implementations.
15397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15398 New file.
15399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15400 New file.
15401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15402 New file.
15403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15404 multiarch lround for PowerPC32.
15405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15406 file: multiarch lroundf for PowerPC32.
15407
264b036b
AZ
15408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15409 copysign and copysignf multiarch implementations.
15410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15411 New file.
15412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15413 New file.
15414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15415 file: multiarch copysign for PowerPC32.
15416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15417 file: multiarch copysignf for PowerPC32.
15418
d47db6c9
AZ
15419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15420 and truncf multiarch implementations.
15421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15422 New file.
15423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15424 file.
15425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15426 multiarch trunc for PowerPC32.
15427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15428 New file.
15429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15430 New file.
15431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15432 multiarch truncf for PowerPC32.
15433
ddb60b5a
AZ
15434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15435 and roundf multiarch implementations.
15436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15437 New file.
15438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15439 file.
15440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15441 multiarch round for PowerPC32.
15442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15443 New file.
15444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15445 New file.
15446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15447 multiarch roundf for PowerPC32.
15448
bedcf49b
AZ
15449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15450 and floorf multiarch implementations.
15451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15452 New file.
15453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15454 file.
15455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15456 multiarch floor for PowerPC32.
15457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15458 New file.
15459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15460 New file.
15461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15462 multiarch floorf for PowerPC32.
15463
35ae5b40
AZ
15464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15465 and ceilf multiarch implementations.
15466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15467 New file.
15468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15469 file.
15470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15471 multiarch ceil for PowerPC32.
15472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15473 New file.
15474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15475 file.
15476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15477 multiarch ceilf for PowerPC32.
15478
ae1a4cd9
AZ
15479 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15480 is defined.
15481 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15482 FINITEF is defined.
15483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15484 and finitef multiarch implementations.
15485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15486 New file.
15487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15488 file.
15489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15490 multiarch finite for PowerPC32.
15491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15492 New file.
15493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15494 file: multiarch finitef for PowerPC32.
15495
64fffd65
AZ
15496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15497 and isinff multiarch implementations.
15498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15499 file.
15500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15501 file.
15502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15503 multiarch isinf for PowerPC32.
15504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15505 New file.
15506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15507 multiarch isinff for PowerPC32.
15508
8e4e7ba2
AZ
15509 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15510 alias when __isnan is defined.
15511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15512 and isnanf multiarch implementations.
15513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15514 file.
15515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15516 file.
15517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15518 file.
15519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15520 file.
15521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15522 multiarch isnan for PowerPC32.
15523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15524 New file.
15525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15526 New file.
15527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15528 multiarch isnanf for PowerPC32.
15529
ddba588e
AZ
15530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15531 and sqrtf multiarch implementations.
15532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15533 file.
15534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15535 file.
15536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15537 multiarch sqrt for PowerPC32.
15538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15539 file.
15540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15541 file.
15542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15543 multiarch sqrtf for PowerPC32.
15544
0f96a2f0
AZ
15545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15546 and llroundf multiarch implementations.
15547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15548 New file.
15549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15550 New file.
15551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15552 New file.
15553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15554 file: multiarch llround for PowerPC32.
15555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15556 file: multiarch llroundf for PowerPC32.
15557
c9b5d79e
AZ
15558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15559 multiarch PowerPC32 fpu implementations.
15560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15561 New file.
15562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15563 New file.
15564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15565 multiarch llrint for PowerPC32.
15566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15567 New file.
15568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15569 New file.
15570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15571 file.
15572
9cbb3aab
AZ
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15574
ea5a72f8
AZ
15575 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15576 file.
15577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15578 file.
15579 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15580 file.
15581 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15582 multiarch wordcopy for PPC32.
15583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15584 wordcopy objects.
15585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15586 (__libc_ifunc_impl_list): Likewise.
15587 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15588 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15589 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15590 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15591 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15592 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15593
93be09e7
AZ
15594 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15596 file.
15597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15598 file.
15599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15600 file.
15601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15602 multiarch wcscpy for PPC32.
15603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15604 multiarch objects.
15605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15606 (__libc_ifunc_impl_list): Likewise.
15607 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15608 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15609 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15610 sysdeps/powerpc/power6/wcscpy.c.
15611
bb04e529
AZ
15612 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15614 file.
15615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15616 file.
15617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15618 file.
15619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15620 multiarch wcsrchr for PPC32.
15621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15622 multiarch objects.
15623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15624 (__libc_ifunc_impl_list): Likewise.
15625 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15626 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15627 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15628 sysdeps/powerpc/power6/wcsrchr.c.
15629
05b5cd1c
AZ
15630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15631 file.
15632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15633 file.
15634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15636 multiarch wcschr for PPc32.
15637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15638 multiarch objects.
15639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15640 (__libc_ifunc_impl_list): Likewise.
15641 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15642 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15643 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15644 sysdeps/powerpc/power6/wcschr.c.
15645
ba964147
AZ
15646 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15647 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15648 file.
15649 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15650 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15651 file: multiarch strchr for PPC32.
15652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15653 multiarch objects.
15654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15655 (__libc_ifunc_impl_list): Likewise.
15656
31c81aaa
AZ
15657 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15658 name.
15659 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15660 file.
15661 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15662 file.
15663 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15664 multiarch strchrnul for PPC32.
15665 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15666 multiarch objects.
15667 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15668 (__libc_ifunc_impl_list): Likewise.
15669
0d0607d9
AZ
15670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15671 file.
15672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15673 multiarch strncasecmp for PPC32.
15674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15675 file.
15676 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15677 multiarch strncasecmp_l for PPC32.
15678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15679 strncasecmp multiarch objects.
15680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15681 (__libc_ifunc_impl_list): Likewise.
15682
4dfd5c86
AZ
15683 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15684 file.
15685 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15686 multiarch strncasecmp for PPC32.
15687 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15688 New file.
15689 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15690 multiarch strcasecmp_l for PPC32.
15691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15692 multiarch objects.
15693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15694 (__libc_ifunc_impl_list): Likewise.
15695
a19e01a3
AZ
15696 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15697 file.
15698 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15699 file.
15700 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15701 multiarch strncmp for PPC32.
15702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15703 multiarch objects.
15704 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15705 (__libc_ifunc_impl_list): Likewise.
15706
ae9cf7a2
AZ
15707 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15708 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15709 file.
15710 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15711 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15713 multiarch objects.
15714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15715 (__libc_ifunc_impl_list): Likewise.
15716
3148bb7d
AZ
15717 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15718 file.
15719 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15720 file.
15721 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15723 multiarch objects.
15724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15725 (__libc_ifunc_impl_list): Likewise.
15726
7af8b946
AZ
15727 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15728 file.
15729 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15730 file.
15731 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15732 multiarch rawmemchr for PPC32.
15733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15734 multiarch objects.
15735 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15736 (__libc_ifunc_impl_list): Likewise.
15737
03a6aa6a
AZ
15738 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15739 file.
15740 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15741 file.
15742 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15743 file: memrchr multiarch for PPC32.
15744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15745 multiarch objects.
15746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15747 (__libc_ifunc_impl_list): Likewise.
15748
1c62e6d9
AZ
15749 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15750 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15751 file.
15752 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15753 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15754 multiarch memchr for PPC32.
15755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15756 multiarch objects.
15757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15758 (__libc_ifunc_impl_list): Likewise.
15759
87da8bdb
AZ
15760 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15761 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15762 file.
15763 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15764 file.
15765 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15766 file: multiarch mempcpy for PPC32.
15767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15768 multiarch objects.
15769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15770 (__libc_ifunc_impl_list): Likewise.
15771
20ed4714
AZ
15772 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15773 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15774 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15775 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15776 multiarch bzero for PPC32.
15777 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15778 file.
15779 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15780 file.
15781 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15782 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15783 file: multiarch memset for PPC32.
15784 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15786 memset multiarch objects.
15787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15788 (__libc_ifunc_impl_list): Likewise.
15789
ab3e3a46
AZ
15790 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15791 file.
15792 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15794 memcmp for PPC32.
15795 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15797 multiarch objects.
15798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15799 (__libc_ifunc_impl_list): Likewise.
15800
930de6f0
AZ
15801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15802 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15803 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15804 file.
15805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15806 file.
15807 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15808 file.
15809 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15810 multiarch memcpy for PPC32.
15811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15812 multiarch objects.
15813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15814 (__libc_ifunc_impl_list): Likewise.
15815
4c628e00
AZ
15816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15817 support multiarch for POWER/PPC32.
15818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15819 Likewise.
15820 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15822 Implies file to make multiarch folder appers before the fpu and
15823 default folder for power4 configuration.
15824
f4479220
SP
158252013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15826
15827 * scripts/bench.pl: Append volatile keyword to type.
15828
8517800f
KK
158292013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15830
15831 * sysdeps/sh/sotruss-lib.c: New file.
15832 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15833
180138f1
AZ
158342013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15835
15836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15837
bbf37bdc
JM
158382013-12-05 Joseph Myers <joseph@codesourcery.com>
15839
e47cc4e0
JM
15840 [BZ #6810]
15841 * math/w_tgamma.c: Include <errno.h>.
15842 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15843 * math/w_tgammaf.c: Include <errno.h>.
15844 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15845 * math/w_tgammal.c: Include <errno.h>.
15846 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15847 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15848 underflow. Add more tgamma tests.
15849 * math/auto-libm-test-out: Regenerated.
15850 * sysdeps/i386/fpu/libm-test-ulps: Update.
15851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15852
bbf37bdc
JM
15853 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15854 sin, sinh, tan, tanh, tgamma, y0 and y1.
15855 * math/auto-libm-test-out: Regenerated.
15856 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15857 (TEST_COND_x86): Likewise.
15858 (M_E2l): Remove macro.
15859 (M_E3l): Likewise.
15860 (M_2_SQRT_PIl): Likewise.
15861 (M_SQRT_PIl): Likewise.
15862 (M_1_DIV_El): Likewise.
15863 (log_test_data): Use AUTO_TESTS_f_f.
15864 (log10_test_data): Likewise.
15865 (log1p_test_data): Likewise.
15866 (log2_test_data): Likewise.
15867 (sin_test_data): Likewise.
15868 (sin_tonearest_test_data): Likewise.
15869 (sin_towardzero_test_data): Likewise.
15870 (sin_downward_test_data): Likewise.
15871 (sin_upward_test_data): Likewise.
15872 (sinh_test_data): Likewise.
15873 (sinh_tonearest_test_data): Likewise.
15874 (sinh_towardzero_test_data): Likewise.
15875 (sinh_downward_test_data): Likewise.
15876 (sinh_upward_test_data): Likewise.
15877 (tan_test_data): Likewise.
15878 (tan_tonearest_test_data): Likewise.
15879 (tan_towardzero_test_data): Likewise.
15880 (tan_downward_test_data): Likewise.
15881 (tan_upward_test_data): Likewise.
15882 (tanh_test_data): Likewise.
15883 (tgamma_test_data): Likewise.
15884 (y0_test_data): Likewise.
15885 (y1_test_data): Likewise.
15886 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15887 (special_real_inputs): Add pi/4.
15888 * sysdeps/i386/fpu/libm-test-ulps: Update.
15889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15890
eb5ad6b9
AZ
158912013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15892
15893 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15894 "longjmp_target" static probes.
15895 (__longjmp): Rename to __longjmp_symbol.
15896 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15897 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15898 on which longjmp to generate.
15899 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15900 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15901 probe.
15902 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15903 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15904 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15905 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15906 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15907 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15909 __longjmp_symbol based on which __longjmp to generate.
15910 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15911 probe.
15912 (setjmp): Rename to setjmp_symbol.
15913 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15914 (_setjmp): Rename to _setjmp_symbol.
15915 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15916 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15917 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15918 which setjmp to generate.
15919 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15920 "longjmp_target" static probes.
15921
d136c6dc
SP
159222013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15923
9298ecba
SP
15924 * benchtests/README: Add note about output arguments.
15925 * benchtests/bench-sincos.c: Remove file.
15926 * benchtests/sincos-inputs: New file.
15927 * scripts/bench.pl: Identify output arguments and define
15928 static variables for them.
15929
232983e9
SP
15930 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15931
d136c6dc
SP
15932 [BZ #15941]
15933 * Makefile (INSTALL): Add install-plain.texi as the primary
15934 dependency.
15935 * manual/install-plain.texi: New file.
15936 * manual/install.texi: Include node directive only for
15937 non-plaintext output.
15938
699ff837
JM
159392013-12-04 Joseph Myers <joseph@codesourcery.com>
15940
ab07cea8
JM
15941 * stdlib/longlong.h: Update from GCC.
15942
699ff837
JM
15943 [BZ #6807]
15944 [BZ #15901]
15945 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15946 * math/w_j0f.c (y0f): Likewise.
15947 * math/w_j0l.c (__y0l): Likewise.
15948 * math/w_j1.c (y1): Likewise.
15949 * math/w_j1f.c (y1f): Likewise.
15950 * math/w_j1l.c (__y1l): Likewise
15951 * math/w_jn.c (yn): Likewise.
15952 * math/w_jnf.c (ynf): Likewise.
15953 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15954 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15955 value for Bessel function domain errors outside _SVID_ mode.
15956 Adjust sign of return value for yn (negative integer, 0).
15957 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15958 by zero in return for negative x and set sign appropriately for
15959 negative n.
15960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15961 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15962 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15963 expectations in error cases.
15964 (y1_test_data): Likewise.
15965 (yn_test_data): Likewise.
15966 * sysdeps/i386/fpu/libm-test-ulps: Update.
15967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15968
5b118558
UW
159692013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15970
15971 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15972 "64" to "64-v1". Add "64-v2".
15973 (abi-64-options): Rename to ...
15974 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15975 (abi-64-condition): Rename to ...
15976 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15977 (abi-64-ld-soname): Rename to ...
15978 (abi-64-v1-ld-soname): ... this.
15979 (abi-64-v2-options): Define.
15980 (abi-64-v2-condition): Likewise.
15981 (abi-64-v2-ld-soname): Likewise.
15982 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15983 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15987
61cd8fe4
UW
159882013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15989 Alan Modra <amodra@gmail.com>
15990
15991 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15992 New versions for use with the ELFv2 ABI.
15993 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15994 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15995 declaration.
15996 (struct La_ppc64v2_retval): Likewise.
15997 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15998 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15999 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16000 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16001 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16002 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16003 Do not save or restore CR.
16004 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16005 (_dl_profile_resolve): Do no save or restore CR. Support extended
16006 return values for ELFv2 ABI. Fix location of FPR return registers.
16007 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16008 updated values for _CALL_ELF == 2.
16009 (La_regs, La_retval, int_retval): Likewise.
16010
8b8a692c
UW
160112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16012
16013 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16014 (FRAME_MIN_SIZE_PARM): Likewise.
16015 (FRAME_BACKCHAIN): Likewise.
16016 (FRAME_CR_SAVE): Likewise.
16017 (FRAME_LR_SAVE): Likewise.
16018 (FRAME_TOC_SAVE): Likewise.
16019 (FRAME_PARM_SAVE): Likewise.
16020 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16021 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16022 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16023 (call_mcount_parm_offset): New macro.
16024 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16025 (PROF): Use symbolic stack frame offsets.
16026 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16027 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16028 Redefine in terms of FRAME_MIN_SIZE.
16029 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16030 (_dl_profile_resolve): Likewise. Update comment.
16031 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16032 symbols stack frame offsets.
16033 (__sigsetjmp): Likewise.
16034 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16035 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16036 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16037 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16038
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16040 (FRAME_BACKCHAIN): Remove.
16041 (FRAME_CR_SAVE): Likewise.
16042 (FRAME_LR_SAVE): Likewise.
16043 (FRAME_COMPILER_DW): Likewise.
16044 (FRAME_LINKER_DW): Likewise.
16045 (FRAME_TOC_SAVE): Likewise.
16046 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16047 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16048 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16049 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16051 (CHECK_SP): Use symbolic stack frame offsets.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16053 zone" instead of caller's parameter save area for temp storage.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16055 Likewise. Also, use symbolic stack frame offsets.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16057 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16058 our own stack frame instead of the caller's.
16059 (__socket): Use symbolic stack frame offsets.
16060
122b66de
UW
160612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16062 Alan Modra <amodra@gmail.com>
16063
16064 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16065 Define.
57f41c40
AS
16066 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16067 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16068 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16069 New function.
16070 (elf_machine_fixup_plt): Call it.
16071 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16072 reloc arguments.
16073 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16074 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16075 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16076 r2 before calling target.
16077
696caf1d
UW
160782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16079 Alan Modra <amodra@gmail.com>
16080
16081 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16082 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16083 versions of macros to support ELFv2 ABI.
16084 (LOCALENTRY): New macro.
16085 (ENTRY, EALIGN): Use it.
16086 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16087 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16088 fall through into ENTRY entry point.
16089 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16090 Only define if _CALL_ELF != 2.
16091
16092 (elf_machine_matches_host): Verify ABI version matches.
16093 (RTLD_START): Use LOCALENTRY.
16094 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16095 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16096 (PLT_ENTRY_WORDS): New macro.
16097 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16098 (elf_machine_runtime_setup): Support ELFv2 ABI.
16099 (elf_machine_fixup_plt): Likewise.
16100 (elf_machine_plt_conflict): Likewise.
16101 (resolve_ifunc): Likewise.
16102 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16104 Likewise.
16105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16106 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16108 (makecontext): Support ELFv2 ABI.
16109 * elf/elf.h (EF_PPC64_ABI): Define.
16110
d31beafa
UW
161112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16112
57f41c40
AS
16113 * sysdeps/powerpc/powerpc64/sysdep.h
16114 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16115 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16116 (ENTRY) [ASSEMBLER]: ... but instead here ...
16117 (EALIGN) [ASSEMBLER]: ... and here.
16118 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16119 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16120 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16121 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16122 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16123 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16124 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16125 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16127 Use PPC64_LOAD_FUNCPTR.
16128
b525166b
UW
16129 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16130
7ec07d9a
AM
161312013-12-04 Alan Modra <amodra@gmail.com>
16132
16133 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16134 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16135 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16136 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16137
16138 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16139 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16140 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16141 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16142 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16143 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16144
5162e7dd
UW
161452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16146
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16148 (__makecontext): Fix incorrect CFI when backtracing out of
16149 context created via makecontext.
16150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16151 (__setcontext): Fix incorrect CFI during switch to new context.
16152 (__novec_setcontext): Likewise.
16153
19e3372b
OB
161542013-12-04 Ondřej Bílka <neleai@seznam.cz>
16155
16156 [BZ #4772]
16157 * time/strptime_l.c (__strptime_internal): Allow modifiers
16158 in strptime.
16159 * time/tst-strptime.c (day_tests): Add testcase.
16160
ecaf142d
SP
161612013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16162
16163 * scripts/bench.pl: Skip over blank lines.
16164
fbf964ae
PE
161652013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16166
16167 [BZ #926]
16168 * manual/time.texi (Calendar Time): Clarify what timezone functions
16169 use.
16170
fa60a674
AZ
161712013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16172
16173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16174
d674f0ef
OB
161752013-12-04 Ondřej Bílka <neleai@seznam.cz>
16176
16177 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16178 implementation.
16179 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16180 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16181 * debug/memset_chk.c (__memset_chk): Likewise.
16182 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16183 * debug/strncpy_chk.c: Likewise.
16184
17dea188
JM
161852013-12-03 Joseph Myers <joseph@codesourcery.com>
16186
749008ff
JM
16187 [BZ #15268]
16188 [BZ #15425]
16189 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16190 (__ieee754_exp): For possibly underflowing results, check size of
16191 result and force underflow exception if required.
16192 * math/auto-libm-test-in: Add more tests of exp.
16193 * math/auto-libm-test-out: Regenerated.
16194 * sysdeps/i386/fpu/libm-test-ulps: Update.
16195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16196
17dea188
JM
16197 [BZ #16283]
16198 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16199 * math/w_exp2f.c (__exp2f): Likewise.
16200 * math/w_exp2l.c (__exp2l): Likewise.
16201 * math/auto-libm-test-in: Do not allow missing errno on exp2
16202 underflow.
16203 * math/auto-libm-test-out: Regenerated.
16204
b20de2c3
OB
162052013-12-03 Ondřej Bílka <neleai@seznam.cz>
16206
16207 [BZ #16274]
16208 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16209 handle filename validation.
16210 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16211 (do_open): Delete.
16212
d8e2dbe3
JM
162132013-12-03 Joseph Myers <joseph@codesourcery.com>
16214
34e16df5
JM
16215 [BZ #6786]
16216 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16217 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16218 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16219 <float.h>.
16220 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16221 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16222 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16223 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16224 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16225 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16226 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16227 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16228 Add more erfc tests.
16229 * math/auto-libm-test-out: Regenerated.
16230 * sysdeps/i386/fpu/libm-test-ulps: Update.
16231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16232
d8e2dbe3
JM
16233 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16234 exp2, expm1, j0 and j1.
16235 * math/auto-libm-test-out: Regenerated.
16236 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16237 (erfc_test_data): Likewise.
16238 (exp_test_data): Likewise.
16239 (exp_tonearest_test_data): Likewise.
16240 (exp_towardzero_test_data): Likewise.
16241 (exp_downward_test_data): Likewise.
16242 (exp_upward_test_data): Likewise.
16243 (exp10_test_data): Likewise.
16244 (exp2_test_data): Likewise.
16245 (expm1_test_data): Likewise.
16246 (j0_test_data): Likewise.
16247 (j1_test_data): Likewise.
16248 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16249 (input_flag_type): Add flag_xfail_rounding.
16250 (input_flags): Add xfail-rounding.
16251 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16252 (output_for_one_input_case): Handle flag_xfail_rounding.
16253 * sysdeps/i386/fpu/libm-test-ulps: Update.
16254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16255
18d14251
AJ
162562013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16257
3d2e6075 16258 [BZ #16289]
18d14251
AJ
16259 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16260 division by 0.
16261
520d437b
SP
162622013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16263
16264 [BZ #16195]
16265 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16266 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16267 (STAP_PROBE0): New macro.
16268 (STAP_PROBE1): Likewise.
16269 (STAP_PROBE2): Likewise.
16270 (STAP_PROBE3): Likewise.
16271 (STAP_PROBE4): Likewise.
16272
416e0145
OB
162732013-12-02 Ondřej Bílka <neleai@seznam.cz>
16274
16275 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16276
9d17796a
SE
162772013-12-02 Steve Ellcey <sellcey@mips.com>
16278
16279 * benchtests/Makefile (bench): Add sqrt.
16280 (LDLIBS-bench-sqrt): New.
16281 * benchtests/sqrt-input: New.
16282
f524d6a8
PS
162832013-12-02 Pavel Simerda <psimerda@redhat.com>
16284
639a0ef8
PS
16285 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16286 (GAIH_EAI): Likewise.
16287 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16288 (gaih_inet): Likewise.
16289 (getaddrinfo): Don't use GAIH_EAI.
16290
f524d6a8
PS
16291 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16292 (struct gaih): Remove definition.
16293
df3aedaf
SP
162942013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16295
16296 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16297 Use HERRNOP directly.
16298
1ab19dec
AZ
162992013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16300
b42ad38d 16301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16302
176b0c79
JM
163032013-11-30 Joseph Myers <joseph@codesourcery.com>
16304
16305 * math/gen-auto-libm-tests.c (test_functions): Add more
16306 single-argument functions.
16307 (special_fill_pi_2): New function.
16308 (special_fill_minus_pi_2): Likewise.
16309 (special_fill_pi_6): Likewise.
16310 (special_fill_minus_pi_6): Likewise.
16311 (special_fill_pi_3): Likewise.
16312 (special_fill_2pi_3): Likewise.
16313 (special_fill_e): Likewise.
16314 (special_fill_1_e): Likewise.
16315 (special_fill_e_minus_1): Likewise.
16316 (special_real_inputs): Add more special inputs.
16317 (output_for_one_input_case): Do not require ERANGE on underflow to
16318 zero if round-to-nearest result does not underflow to zero, unless
16319 exact results required.
16320 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16321 atan, atanh, cbrt, cos and cosh.
16322 * math/auto-libm-test-out: Regenerated.
16323 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16324 (acos_tonearest_test_data): Likewise.
16325 (acos_towardzero_test_data): Likewise.
16326 (acos_downward_test_data): Likewise.
16327 (acos_upward_test_data): Likewise.
16328 (acosh_test_data): Likewise.
16329 (asin_test_data): Likewise.
16330 (asin_tonearest_test_data): Likewise.
16331 (asin_towardzero_test_data): Likewise.
16332 (asin_upward_test_data): Likewise.
16333 (asinh_test_data): Likewise.
16334 (atan_test_data): Likewise.
16335 (atanh_test_data): Likewise.
16336 (cbrt_test_data): Likewise.
16337 (cos_test_data): Likewise.
16338 (cos_tonearest_test_data): Likewise.
16339 (cos_towardzero_test_data): Likewise.
16340 (cos_downward_test_data): Likewise.
16341 (cos_upward_test_data): Likewise.
16342 (cosh_test_data): Likewise.
16343 (cosh_tonearest_test_data): Likewise.
16344 (cosh_towardzero_test_data): Likewise.
16345 (cosh_downward_test_data): Likewise.
16346 (cosh_upward_test_data): Likewise.
16347 * sysdeps/i386/fpu/libm-test-ulps: Update.
16348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16349
ffb536d0
JM
163502013-11-29 Joseph Myers <joseph@codesourcery.com>
16351
2a77a467
JM
16352 [BZ #6787]
16353 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16354 * math/w_exp10f.c (__exp10f): Likewise.
16355 * math/w_exp10l.c (__exp10l): Likewise.
16356 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16357 errno settings in existing tests.
16358
ea3bc4e8
JM
16359 [BZ #14032]
16360 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16361 precision control set to double precision.
16362 * sysdeps/i386/fpu/w_sqrt.c: New file.
16363 * math/auto-libm-test-in: Add more tests.
16364 * math/auto-libm-test-out: Update.
16365
0712c9d8
JM
16366 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16367 (sqrt_test_tonearest): New function.
16368 (sqrt_towardzero_test_data): New variable.
16369 (sqrt_test_towardzero): New function.
16370 (sqrt_downward_test_data): New variable.
16371 (sqrt_test_downward): New function.
16372 (sqrt_upward_test_data): New variable.
16373 (sqrt_test_upward): New function.
16374 (main): Call the new functions.
16375
ffb536d0
JM
16376 * math/gen-auto-libm-tests.c: New file.
16377 * math/auto-libm-test-in: Likewise.
16378 * math/auto-libm-test-out: New generated file.
16379 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16380 variables.
16381 (%beautify): Add generated representations of zero.
16382 (top level): Set $auto_input and call parse_auto_input.
16383 (beautify): Remove trailing "f" from hex float constants.
16384 (parse_args): Handle XFAIL_TEST.
16385 (convert_condition): New function.
16386 (or_value): Likewise.
16387 (or_cond_value): Likewise.
16388 (generate_testfile): Handle AUTO_TESTS_* lines.
16389 (parse_auto_input): New function.
16390 * math/libm-test.inc (XFAIL_TEST): New macro.
16391 (ERRNO_UNCHANGED): Update value.
16392 (ERRNO_EDOM): Likewise.
16393 (ERRNO_ERANGE): Likewise.
16394 (IGNORE_RESULT): Likewise.
16395 (TEST_COND_flt_32): New macro.
16396 (TEST_COND_dbl_64): Likewise.
16397 (TEST_COND_ldbl_96_intel): Likewise.
16398 (TEST_COND_ldbl_96_m68k): Likewise.
16399 (TEST_COND_ldbl_128): Likewise.
16400 (TEST_COND_ldbl_128ibm): Likewise.
16401 (TEST_COND_long32): Likewise.
16402 (TEST_COND_long64): Likewise.
16403 (TEST_COND_before_rounding): Likewise.
16404 (TEST_COND_after_rounding): Likewise.
16405 (enable_test): Handle XFAIL_TEST flag.
16406 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16407 with finite results.
16408 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16409 auto-libm-test-out.
16410
acd98a8e
AK
164112013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16412 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16413
16414 [BZ #16214]
16415 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16416 __tls_get_addr_internal instead of __tls_get_offset in order to
16417 avoid GOT pointer dependency. Make rtld export
16418 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16419 __tls_get_addr since we are a __tls_get_offset platform.
16420 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16421 GOT pointer being set up before.
16422 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16423
3c1c46a6
JM
164242013-11-28 Joseph Myers <joseph@codesourcery.com>
16425
7475aef5
JM
16426 * manual/math.texi (Errors in Math Functions): Document accuracy
16427 goals.
16428
8bca7cd8
JM
16429 [BZ #15004]
16430 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16431 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16432 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16433 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16434 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16435 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16436 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16437 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16438 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16439 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16440 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16441 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16442 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16443 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16444 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16445 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16446
91a1f3fe
JM
16447 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16448 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16449 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16450 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16451 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16452 Likewise.
16453 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16454 Likewise.
16455 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16456 Likewise.
16457 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16458 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16459 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16460 atomic-feupdateenv and flt-rounds.
16461 * sysdeps/powerpc/nofpu/Versions (libc): Add
16462 __atomic_feholdexcept, __atomic_feclearexcept,
16463 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16464 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16465 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16466 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16467 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16468 here.
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16470 Update.
16471
c5df7609
JM
16472 * manual/arith.texi (FP Exceptions): Document that exceptions may
16473 not be raised when matherr is used.
16474 (Math Error Reporting): Document overflow in directed rounding
16475 modes. Document that errno may not be set when finite values are
16476 returned on overflow. Document intent to set errno on underflow
16477 only for underflow to zero.
16478
3c1c46a6
JM
16479 [BZ #16271]
16480 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16481 round-to-nearest then adjust result for other rounding modes.
16482 * include/fenv.h (fegetround): Use libm_hidden_proto.
16483 * math/fegetround.c (fegetround): Use libm_hidden_def.
16484 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16485 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16486 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16487 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16488 Likewise.
16489 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16490 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16491 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16492 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16493
5a4c6d53
SP
164942013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16495
16496 [BZ #16077]
16497 * nss/Versions (libnss_files): Add
16498 _nss_files_gethostbyname3_r.
16499 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16500 New function.
16501 (HOST_DB_LOOKUP): Remove macro.
16502 (_nss_files_gethostbyname_r): Implement function without the
16503 HOST_DB_LOOKUP macro.
16504 (_nss_files_gethostbyname2_r): Likewise.
16505
897b98ba
OB
165062013-11-28 Ondřej Bílka <neleai@seznam.cz>
16507
16508 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16509
6f476861
UB
165102013-11-26 Uros Bizjak <ubizjak@gmail.com>
16511
16512 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16513 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16514 warning.
16515
bd12ab55
AZ
165162013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16517
16518 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16519 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16520 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16521 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16522 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16523 __fe_nomask_env_priv and attribute_hidden.
16524 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16525 (libc_feupdateenv_test_ppc): Likewise.
16526 (libc_feresetround_ppc): Likewise.
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16528 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16529 compat_symbol macro.
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16531 (__fe_nomask_env): Likewise.
16532 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16533
52bb6543
OB
165342013-11-26 Ondřej Bílka <neleai@seznam.cz>
16535
16536 * string/Makefile: Remove ifunc tests.
16537 * string/test-string.h: Define TEST_IFUNC.
16538 * string/test-bcopy-ifunc.c: Remove.
16539 * string/test-bzero-ifunc.c: Likewise.
16540 * string/test-memccpy-ifunc.c: Likewise.
16541 * string/test-memchr-ifunc.c: Likewise.
16542 * string/test-memcmp-ifunc.c: Likewise.
16543 * string/test-memcpy-ifunc.c: Likewise.
16544 * string/test-memmem-ifunc.c: Likewise.
16545 * string/test-memmove-ifunc.c: Likewise.
16546 * string/test-mempcpy-ifunc.c: Likewise.
16547 * string/test-memrchr-ifunc.c: Likewise.
16548 * string/test-memset-ifunc.c: Likewise.
16549 * string/test-rawmemchr-ifunc.c: Likewise.
16550 * string/test-stpcpy-ifunc.c: Likewise.
16551 * string/test-stpncpy-ifunc.c: Likewise.
16552 * string/test-strcasecmp-ifunc.c: Likewise.
16553 * string/test-strcasestr-ifunc.c: Likewise.
16554 * string/test-strcat-ifunc.c: Likewise.
16555 * string/test-strchr-ifunc.c: Likewise.
16556 * string/test-strchrnul-ifunc.c: Likewise.
16557 * string/test-strcmp-ifunc.c: Likewise.
16558 * string/test-strcpy-ifunc.c: Likewise.
16559 * string/test-strcspn-ifunc.c: Likewise.
16560 * string/test-strlen-ifunc.c: Likewise.
16561 * string/test-strncasecmp-ifunc.c: Likewise.
16562 * string/test-strncat-ifunc.c: Likewise.
16563 * string/test-strncmp-ifunc.c: Likewise.
16564 * string/test-strncpy-ifunc.c: Likewise.
16565 * string/test-strnlen-ifunc.c: Likewise.
16566 * string/test-strpbrk-ifunc.c: Likewise.
16567 * string/test-strrchr-ifunc.c: Likewise.
16568 * string/test-strspn-ifunc.c: Likewise.
16569 * string/test-strstr-ifunc.c: Likewise.
16570
ab260039 165712013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16572
16573 * benchtests/Makefile: Remove ifunc tests.
16574 * benchtests/bench-string.h: Define TEST_IFUNC.
16575 * benchtests/bench-bcopy-ifunc.c: Remove.
16576 * benchtests/bench-bzero-ifunc.c: Likewise.
16577 * benchtests/bench-memccpy-ifunc.c: Likewise.
16578 * benchtests/bench-memchr-ifunc.c: Likewise.
16579 * benchtests/bench-memcmp-ifunc.c: Likewise.
16580 * benchtests/bench-memcpy-ifunc.c: Likewise.
16581 * benchtests/bench-memmem-ifunc.c: Likewise.
16582 * benchtests/bench-memmove-ifunc.c: Likewise.
16583 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16584 * benchtests/bench-memrchr-ifunc.c: Likewise.
16585 * benchtests/bench-memset-ifunc.c: Likewise.
16586 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16587 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16588 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16589 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16590 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16591 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16592 * benchtests/bench-strcat-ifunc.c: Likewise.
16593 * benchtests/bench-strchr-ifunc.c: Likewise.
16594 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16595 * benchtests/bench-strcmp-ifunc.c: Likewise.
16596 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16597 * benchtests/bench-strcpy-ifunc.c: Likewise.
16598 * benchtests/bench-strcspn-ifunc.c: Likewise.
16599 * benchtests/bench-strlen-ifunc.c: Likewise.
16600 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16601 * benchtests/bench-strncat-ifunc.c: Likewise.
16602 * benchtests/bench-strncmp-ifunc.c: Likewise.
16603 * benchtests/bench-strncpy-ifunc.c: Likewise.
16604 * benchtests/bench-strnlen-ifunc.c: Likewise.
16605 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16606 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16607 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16608 * benchtests/bench-strspn-ifunc.c: Likewise.
16609 * benchtests/bench-strstr-ifunc.c: Likewise.
16610
166112013-11-26 Ondřej Bílka <neleai@seznam.cz>
16612
ab260039
OB
16613 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16614
d1d9eaf4 166152013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16616
d1d9eaf4
OB
16617 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16618 * rt/aio.h: Likewise.
16619 * sysdeps/gnu/bits/utmp.h: Likewise.
16620 * sysdeps/gnu/bits/utmpx.h: Likewise.
16621 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16622 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16623 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16624 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16625 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16626 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16627 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16628 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16629 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16630 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16631 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16632 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16633 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16635 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16636 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16637 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16638 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16639 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16640 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16641 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16642 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16643 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16644 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16645 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16647 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16648 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16649 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16650 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16651 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16652 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16653 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16654 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16655 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16656 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16657 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16658 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16659 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16660 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16661 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16662 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16663
a7624ed9
CD
166642013-11-25 Carlos O'Donell <carlos@redhat.com>
16665
16666 [BZ #16245]
16667 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16668 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16669
63cfe52b
JM
166702013-11-25 Joseph Myers <joseph@codesourcery.com>
16671
16672 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16673 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16674 Likewise.
16675
41e8926a
AZ
166762013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16677
16678 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16679 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16680 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16681 (__fesetround): Remove define.
16682 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16683 rounding and exceptions handling.
16684 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16685 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16686 (__fe_nomask_env): Likewise.
16687 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16688 __fegetround instead of fegetround.
16689 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16690 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16691
6851bd4d
RM
166922013-11-21 Roland McGrath <roland@hack.frob.com>
16693
070906ff
RM
16694 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16695 it's there.
16696
6851bd4d
RM
16697 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16698
84ae135d
MI
166992013-11-21 Meador Inge <meadori@codesourcery.com>
16700
16701 [BZ #11157]
16702 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16703 (encrypt_r): Likewise.
16704 * malloc/obstack.h (obstack_free): Likewise.
16705 * posix/unistd.h (encrypt): Likewise.
16706
daf75146
GM
167072013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16708
16709 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16710 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16711 DL_CALL_DT_FINI() that call the functions directly.
16712 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16713 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16714 * elf/dl-fini.c: Likewise.
16715
10ad46bc
OB
167162013-11-20 Ondřej Bílka <neleai@seznam.cz>
16717
16718 * malloc/hooks.c (memalign_check): Add alignment rounding.
16719 * malloc/malloc.c (_mid_memalign): New function.
16720 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16721 Implement by calling _mid_memalign.
16722 * manual/probes.texi (Memory Allocation Probes): Remove
16723 memory_valloc_retry and memory_pvalloc_retry.
16724
f3fd2628
SP
167252013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16726
4712799f
SP
16727 * locale/programs/locarchive.c (open_archive): Add const
16728 qualifier to ARCHIVEFNAME and copy default fname to
16729 DEFAULT_FNAME.
16730
0417b20f
SP
16731 [BZ #15601]
16732 * libio/tst-widetext.input: Rename Oriya to Odia.
16733 * locale/iso-639.def: Likewise.
16734
f3fd2628
SP
16735 * manual/probes.texi (Mathematical Function Probes): Add
16736 documentation for sin, cos, asin and acos probes.
16737 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16738 (__sin32): Add slowasin probe.
16739 (__cos32): Add slowacos probe.
16740 (__mpsin): Add slowsin probe.
16741 (__mpcos): Add slowcos probe.
16742
73c1ce4f
JM
167432013-11-19 Joseph Myers <joseph@codesourcery.com>
16744
16745 [BZ #15483]
16746 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16747 thread-local __sim_exceptions_thread and global
16748 __sim_exceptions_global.
16749 (__sim_disabled_exceptions): Change to thread-local
16750 __sim_disabled_exceptions_thread and global
16751 __sim_disabled_exceptions_global.
16752 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16753 and global __sim_round_mode_global.
16754 (__simulate_exceptions): Use thread-local floating-point state and
16755 set global state from it as needed.
16756 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16757 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16758 __sim_round_mode_thread.
16759 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16760 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16761 and global __sim_exceptions_global.
16762 (__sim_disabled_exceptions): Change to thread-local
16763 __sim_disabled_exceptions_thread and global
16764 __sim_disabled_exceptions_global.
16765 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16766 and global __sim_round_mode_global.
16767 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16768 (SIM_SET_GLOBAL): Likewise.
16769 * sysdeps/powerpc/soft-fp/sfp-machine.h
16770 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16771 __sim_round_mode_thread.
16772 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16773 __sim_disabled_exceptions_thread.
16774 (__sim_exceptions): Change to __sim_exceptions_thread.
16775 (__sim_disabled_exceptions): Change to
16776 __sim_disabled_exceptions_thread.
16777 (__sim_round_mode): Change to __sim_round_mode_thread.
16778 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16779 thread-local floating-point state and set global state from it as
16780 needed.
16781 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16782 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16783 (__sim_disabled_exceptions): Remove extern declaration.
16784 (feenableexcept): Use thread-local floating-point state and set
16785 global state from it as needed.
16786 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16787 extern declaration.
16788 (__sim_disabled_exceptions): Likewise.
16789 (__sim_round_mode): Likewise.
16790 (__fegetenv): Use thread-local floating-point state.
16791 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16792 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16793 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16794 floating-point state and set global state from it as needed.
16795 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16796 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16797 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16798 Likewise.
16799 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16800 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16801 Likewise.
16802 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16803 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16804 Use __sim_round_mode_thread.
16805 * math/test-fenv-tls.c: New file.
16806 * math/Makefile (tests): Add test-fenv-tls.
16807 ($(objpfx)test-fenv-tls): Depend on
16808 $(common-objpfx)nptl/libpthread.so.
16809
b5449b12
AS
168102013-11-19 Andreas Schwab <schwab@suse.de>
16811
16812 * locale/programs/locale.c (show_info): Decode wordarray elements.
16813 * locale/categories.def (LC_MONETARY): Add element for
16814 _NL_MONETARY_CRNCYSTR.
16815 * locale/C-monetary.c (conversion_rate): New variable.
16816 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16817 element.
16818
e186536b
CM
168192013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16820
16821 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16822 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16823
5c349950
PP
168242013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16825
16826 * elf/Makefile (tst-auxv): New test.
16827 * elf/tst-auxv.c: New
16828 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16829
699df45b
JM
168302013-11-18 Joseph Myers <joseph@codesourcery.com>
16831
16832 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16833 (hidden_proto): Caller changed.
16834 (hidden_tls_proto): New macro.
16835 (libc_hidden_tls_proto): Likewise.
16836 (rtld_hidden_tls_proto): Likewise.
16837 (libm_hidden_tls_proto): Likewise.
16838 (libresolv_hidden_tls_proto): Likewise.
16839 (librt_hidden_tls_proto): Likewise.
16840 (libdl_hidden_tls_proto): Likewise.
16841 (libnss_files_hidden_tls_proto): Likewise.
16842 (libnsl_hidden_tls_proto): Likewise.
16843 (libnss_nisplus_hidden_tls_proto): Likewise.
16844 (libutil_hidden_tls_proto): Likewise.
16845
b7589107
OB
168462013-11-18 Ondřej Bílka <neleai@seznam.cz>
16847
16848 [BZ #10253]
16849 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16850 (decompose_rpath): Defer expansion to fillin_rpath.
16851 (_dl_init_paths): Pass linkmap to fillin_rpath.
16852
250c23bd
RS
168532013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16854
16855 * benchtests/Makefile: Add strsep.
16856 * benchtests/bench-strsep.c: New file: strsep benchtest.
16857 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16858
a7931fcf
AS
168592013-11-18 Andreas Schwab <schwab@suse.de>
16860
16861 * locale/programs/locale.c (show_info) [case byte]: Check for
16862 '\377' instead of '\177'.
16863 * locale/C-monetary.c (not_available): Always use "\377".
16864 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16865 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16866 detect unavailable sign_posn locale elements.
16867 * locale/localeconv.c (__localeconv): For grouping and
16868 mon_grouping handle "\177" and "\377" like no grouping.
16869 (INT_ELEM): New macro. Use it to set all numeric members.
16870 * locale/programs/ld-monetary.c (monetary_read)
16871 <tok_mon_grouping>: Normalize single -1 to the empty string.
16872 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16873 Likewise.
16874
728dab0e
OB
168752013-11-07 Ondřej Bílka <neleai@seznam.cz>
16876
16877 [BZ #16055]
16878 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16879 when we match (nil).
16880 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16881
66294491
JM
168822013-11-16 Joseph Myers <joseph@codesourcery.com>
16883
ce665817
JM
16884 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16885 (NO_TEST_INLINE): Update value.
16886 (ERRNO_UNCHANGED): Likewise.
16887 (ERRNO_EDOM): Likewise.
16888 (ERRNO_ERANGE): Likewise.
16889 (IGNORE_RESULT): Likewise.
16890 (check_float_internal): Check signs of NaN results if
16891 TEST_NAN_SIGN used.
16892 (check_complex): Pass TEST_NAN_SIGN flag through to second
16893 check_float_internal call.
16894 (copysign_test_data): Add tests with quiet NaNs as second
16895 argument. Use TEST_NAN_SIGN.
16896 (fabs_test_data): Add test of negative quiet NaN argument. Use
16897 TEST_NAN_SIGN.
16898 (signbit_test_data): Add tests of quiet NaN argument.
16899 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16900
ee1466a9
JM
16901 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16902 $ignore_result.
16903 (parse_args): Handle function results specified as IGNORE.
16904 * math/libm-test.inc (IGNORE_RESULT): New macro.
16905 (check_float_internal): Do not check numerical result if flag
16906 IGNORE_RESULT set.
16907 (check_complex): Pass through IGNORE_RESULT to second
16908 check_float_internal call.
16909 (check_int): Do not check numerical result if flag IGNORE_RESULT
16910 set.
16911 (check_long): Likewise.
16912 (check_bool): Likewise.
16913 (check_longlong): Likewise.
16914 (lrint_test_data): Add tests of infinite and NaN arguments.
16915 (lrint_tonearest_test_data): Likewise.
16916 (lrint_towardzero_test_data): Likewise.
16917 (lrint_downward_test_data): Likewise.
16918 (lrint_upward_test_data): Likewise.
16919 (llrint_test_data): Likewise.
16920 (llrint_tonearest_test_data): Likewise.
16921 (llrint_towardzero_test_data): Likewise.
16922 (llrint_downward_test_data): Likewise.
16923 (llrint_upward_test_data): Likewise.
16924 (lround_test_data): Likewise.
16925 (llround_test_data): Likewise.
16926
14407b7e
JM
16927 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16928 (ERRNO_UNCHANGED): Update value.
16929 (ERRNO_EDOM): Likewise.
16930 (ERRNO_ERANGE): Likewise.
16931 (NO_TEST_INLINE_FLOAT): New macro.
16932 (NO_TEST_INLINE_DOUBLE): Likewise.
16933 (enable_test): New function.
16934 (RUN_TEST_f_f): Check enable_test before running test.
16935 (RUN_TEST_2_f): Likewise.
16936 (RUN_TEST_fff_f): Likewise.
16937 (RUN_TEST_c_f): Likewise.
16938 (RUN_TEST_f_f1): Likewise.
16939 (RUN_TEST_fF_f1): Likewise.
16940 (RUN_TEST_fI_f1): Likewise.
16941 (RUN_TEST_ffI_f1): Likewise.
16942 (RUN_TEST_c_c): Likewise.
16943 (RUN_TEST_cc_c): Likewise.
16944 (RUN_TEST_f_i): Likewise.
16945 (RUN_TEST_f_i_tg): Likewise.
16946 (RUN_TEST_ff_i_tg): Likewise.
16947 (RUN_TEST_f_b): Likewise.
16948 (RUN_TEST_f_b_tg): Likewise.
16949 (RUN_TEST_f_l): Likewise.
16950 (RUN_TEST_f_L): Likewise.
16951 (RUN_TEST_fFF_11): Likewise.
16952 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16953 conditionals.
16954 (cosh_test_data): Likewise.
16955 (exp_test_data): Likewise.
16956 (expm1_test_data): Likewise.
16957 (hypot_test_data): Likewise.
16958 (pow_test_data): Likewise.
16959 (sinh_test_data): Likewise.
16960 (tanh_test_data): Likewise.
16961 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16962 flags argument.
16963
ca07f197
JM
16964 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16965 tests with quiet NaN input and output.
16966 (acosh_test_data): Likewise.
16967 (asin_test_data): Likewise.
16968 (asinh_test_data): Likewise.
16969 (atan_test_data): Likewise.
16970 (atanh_test_data): Likewise.
16971 (atan2_test_data): Likewise.
16972 (cbrt_test_data): Likewise.
16973 (cos_test_data): Likewise.
16974 (cosh_test_data): Likewise.
16975 (erf_test_data): Likewise.
16976 (erfc_test_data): Likewise.
16977 (exp_test_data): Likewise.
16978 (exp10_test_data): Likewise.
16979 (exp2_test_data): Likewise.
16980 (expm1_test_data): Likewise.
16981 (hypot_test_data): Likewise.
16982 (j0_test_data): Likewise.
16983 (j1_test_data): Likewise.
16984 (jn_test_data): Likewise.
16985 (lgamma_test_data): Likewise.
16986 (log_test_data): Likewise.
16987 (log10_test_data): Likewise.
16988 (log1p_test_data): Likewise.
16989 (log2_test_data): Likewise.
16990 (pow_test_data): Likewise.
16991 (scalb_test_data): Likewise.
16992 (sin_test_data): Likewise.
16993 (sincos_test_data): Likewise.
16994 (sinh_test_data): Likewise.
16995 (tan_test_data): Likewise.
16996 (tanh_test_data): Likewise.
16997 (tgamma_test_data): Likewise.
16998 (y0_test_data): Likewise.
16999 (y1_test_data): Likewise.
17000 (yn_test_data): Likewise.
17001
66294491
JM
17002 [BZ #16167]
17003 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17004 argument being NaN and avoid computations with second argument in
17005 that case.
17006 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17007 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17008 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17009
1820b143
CL
170102013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17011
17012 * locale/iso-639.def: Add Chitwani Tharu (the).
17013
714bd261
AS
170142013-11-14 Andreas Schwab <schwab@suse.de>
17015
17016 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17017 word instead of empty string.
17018
7ab44563
AZ
170192013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17020
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17022 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17024 (__fe_nomask_env): Likewise.
17025
e8470ea2
SE
170262013-11-13 Steve Ellcey <sellcey@mips.com>
17027
17028 * benchtests/bench-timing.h: Include time.h.
17029
17c1d9f0
L
170302013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17031
17032 [BZ #15997]
17033 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17034 to 3.4.0 for x32.
17035 * sysdeps/unix/sysv/linux/configure: Regenerated.
17036
9310c284
JM
170372013-11-13 Joseph Myers <joseph@codesourcery.com>
17038
17039 [BZ #16151]
17040 * stdlib/strtod_l.c (round_and_return): Do not consider
17041 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17042 exponent one less than half the least subnormal exponent.
17043 * stdlib/test-strtod-round-data: Add more tests.
17044 * stdlib/tst-strtod-round.c (tests): Regenerated.
17045
7a2ad8cf
AZ
170462013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17047
17048 [BZ #14143]
17049 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17050 (__fe_mask_env): Likewise.
17051 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17052 libm_hidden_proto and add function prototype.
17053 (__fe_mask_env): Add function prototype.
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17055 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17057 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17059 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17060
50727aa7
MS
170612013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17062
b2f386c1 17063 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17064 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17065
a615be46
MS
170662013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17067
17068 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17069 of htab_find_slot().
17070
7ddace62
DM
170712013-11-11 David S. Miller <davem@davemloft.net>
17072
17073 [BZ #16150]
17074 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17075 symbol in the non-vis3 case in static builds.
17076 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17077 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17078 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17079 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17080
9182aa67
JK
170812013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17082
17083 [BZ #387]
17084 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17085 it is empty.
17086
450a2e2d
AZ
170872013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17088
b2f386c1
SP
17089 * benchtests/Makefile: Add bench-strtod.
17090 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17091
8ec3f656
AS
170922013-11-11 Andreas Schwab <schwab@suse.de>
17093
17094 [BZ #16153]
17095 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17096 terminating NUL in key length.
17097
76a9b998
AZ
170982013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17099
17100 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17101 Add artificial ODP entry for vDSO symbol for PPC64.
17102 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17103 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17104
e4368156
OB
171052013-11-07 Ondřej Bílka <neleai@seznam.cz>
17106
17107 [BZ #15374]
17108 * nss/getent.c (services_keys): Recognize services starting with digit.
17109
8d6bb57c
DM
171102013-11-06 David S. Miller <davem@davemloft.net>
17111
17112 [BZ #15985]
17113 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17114 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17115
e256c421
WN
171162013-11-06 Will Newton <will.newton@linaro.org>
17117
17118 * manual/memory.texi (Malloc Examples): Remove register
17119 keyword from examples.
17120
f6e12daa 171212013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17122
f6e12daa 17123 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17124
9d880655
AS
171252013-11-04 Joseph Myers <joseph@codesourcery.com>
17126
fd2f9486 17127 [BZ #6981]
9d880655
AS
17128 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17129 depending on [__GCC_IEC_559 > 0].
17130 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17131 depending on [__GCC_IEC_559_COMPLEX > 0].
17132
ae129d3c
CL
171332013-11-03 Chris Leonard <cjl@sugarlabs.org>
17134
17135 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17136 to iso-639.def.
17137
4a15c2a4 171382013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17139
17140 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17141
8b35e35d
OB
171422013-11-01 Ondřej Bílka <neleai@seznam.cz>
17143
17144 [BZ #16112]
17145 * malloc/malloc (malloc_info): Do not handle first bin as
17146 special case.
17147
1d70fd6c
CL
171482013-11-01 Chris Leonard <cjl@sugarlabs.org>
17149
17150 * locale/iso-639.def: Add Central Nahuatl (nhn).
17151
8c5c2600
BH
171522013-11-01 Bruno Haible <bruno@clisp.org>
17153
17154 [BZ #7003]
17155 * manual/math.texi (BSD Random): Specify range upper bound as
17156 in POSIX.
17157
da5579c2
CL
171582013-10-31 Chris Leonard <cjl@sugarlabs.org>
17159
17160 * locale/iso-639.def: Add Meadow Mari (mhr).
17161
5d30d853
OB
171622013-10-31 Ondřej Bílka <neleai@seznam.cz>
17163
17164 [BZ #14752], [BZ #15763]
17165 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17166 Validate name.
17167 * rt/tst_shm.c: Add test for escaping directory.
17168
a4966c61
AS
171692013-10-31 Andreas Schwab <schwab@suse.de>
17170
8a43e768 17171 [BZ #15917]
a4966c61
AS
17172 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17173 followed by 'x' as part of digit sequence.
17174 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17175
28d708c4
MAP
171762013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17177
17178 [BZ #16037]
17179 * configure.ac: allow GNU Make 4.0 and greater.
17180 * configure: Regenerated.
17181
a56ee40b
WN
171822013-10-30 Will Newton <will.newton@linaro.org>
17183
17184 [BZ #16038]
17185 * malloc/hooks.c (memalign_check): Limit alignment to the
17186 maximum representable power of two.
17187 * malloc/malloc.c (__libc_memalign): Likewise.
17188 * malloc/tst-memalign.c (do_test): Add test for very
17189 large alignment values.
17190 * malloc/tst-posix_memalign.c (do_test): Likewise.
17191
c6e4925d
OB
171922013-10-30 Ondřej Bílka <neleai@seznam.cz>
17193
17194 [BZ #11087]
17195 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17196 (munmap_chunk): Likewise.
17197 (mremap_chunk): Likewise.
17198
171992013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17200
8a43e768 17201 [BZ #15799]
bbea82f7
OB
17202 * stdlib/div.c (div): Remove obsolete code.
17203 * stdlib/ldiv.c (ldiv): Likewise.
17204 * stdlib/lldiv.c (lldiv): Likewise.
17205
977f4b31
SP
172062013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17207
17208 [BZ #16071]
17209 * nss/nss_files/files-XXX.c (get_contents_ret): New
17210 enumerator.
17211 (get_contents): New function.
17212 (internal_getent): Use it. Expand size of LINEBUFLEN.
17213
cb8a6dbd
MF
172142013-10-30 Mike Frysinger <vapier@gentoo.org>
17215
17216 * configure.in: Moved to ...
17217 * configure.ac: ... here. Change reference to configure.in
17218 to configure.ac.
17219 * sysdeps/arm/preconfigure.ac: ... here.
17220 configure.in to configure.ac.
17221 * sysdeps/gnu/configure.in: Moved to ...
17222 * sysdeps/gnu/configure.ac: ... here.
17223 * sysdeps/i386/configure.in: Moved to ...
17224 * sysdeps/i386/configure.ac: ... here.
17225 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17226 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17227 * sysdeps/mach/configure.in: Moved to ...
17228 * sysdeps/mach/configure.ac: ... here.
17229 * sysdeps/mach/hurd/configure.in: Moved to ...
17230 * sysdeps/mach/hurd/configure.ac: ... here.
17231 * sysdeps/powerpc/configure.in: Moved to ...
17232 * sysdeps/powerpc/configure.ac: ... here.
17233 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17234 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17235 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17236 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17237 * sysdeps/s390/s390-32/configure.in: Moved to ...
17238 * sysdeps/s390/s390-32/configure.ac: ... here.
17239 * sysdeps/s390/s390-64/configure.in: Moved to ...
17240 * sysdeps/s390/s390-64/configure.ac: ... here.
17241 * sysdeps/sh/configure.in: Moved to ...
17242 * sysdeps/sh/configure.ac: ... here.
17243 * sysdeps/sparc/configure.in: Moved to ...
17244 * sysdeps/sparc/configure.ac: ... here.
17245 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17246 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17247 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17248 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17249 * sysdeps/x86_64/configure.in: Moved to ...
17250 * sysdeps/x86_64/configure.ac: ... here.
17251 * sysdeps/x86_64/preconfigure.in: Moved to ...
17252 * sysdeps/x86_64/preconfigure.ac: ... here.
17253 * aclocal.m4: Change reference to configure.in to configure.ac.
17254 * config.h.in: Likewise.
17255 * manual/install.texi: Likewise.
17256 * manual/maint.texi: Likewise.
17257 * Makefile: Likewise.
17258 * malloc/Makefile: Likewise.
17259 * nscd/Makefile: Likewise.
17260 * Makeconfig: Change reference to configure.in and
17261 preconfigure.in to configure.ac and preconfigure.ac
17262 respectively.
17263 * INSTALL: Regenerated.
17264 * configure: Likewise.
17265 * sysdeps/gnu/configure: Likewise.
17266 * sysdeps/i386/configure: Likewise.
17267 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17268 * sysdeps/mach/configure: Likewise.
17269 * sysdeps/mach/hurd/configure: Likewise.
17270 * sysdeps/powerpc/configure: Likewise.
17271 * sysdeps/powerpc/powerpc32/configure: Likewise.
17272 * sysdeps/powerpc/powerpc64/configure: Likewise.
17273 * sysdeps/s390/s390-32/configure: Likewise.
17274 * sysdeps/s390/s390-64/configure: Likewise.
17275 * sysdeps/sh/configure: Likewise.
17276 * sysdeps/sparc/configure: Likewise.
17277 * sysdeps/unix/sysv/linux/configure: Likewise.
17278 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17279 * sysdeps/x86_64/configure: Likewise.
17280 * sysdeps/x86_64/preconfigure: Likewise.
17281
36a4953a
AS
172822013-10-29 Andreas Schwab <schwab@suse.de>
17283
17284 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17285
c79a1204
SP
172862013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17287
dfa1b402
SP
17288 * benchtests/pow-inputs: Add new inputs.
17289
54f73d9c
SP
17290 * benchtests/exp-inputs: Add new inputs.
17291
c79a1204
SP
17292 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17293 conditional check for return value.
17294 (__cos32): Likewise.
17295
67beb545 172962013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17297
17298 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17299 to provide a boost for large inputs with word alignment.
17300 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17301 implementation based on optimized PPC64 strcpy.
17302 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17303 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17304 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17305 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17306
151659f6
OB
173072013-10-25 Ondřej Bílka <neleai@seznam.cz>
17308
482a077e 17309 [BZ #2801]
151659f6
OB
17310 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17311
10b0f26b
OB
173122013-10-25 Ondřej Bílka <neleai@seznam.cz>
17313
17314 [BZ #14876]
17315 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17316 * time/tst-strptime.c (day_tests): Add testcase.
17317
ca42d35e
OB
173182013-10-25 Ondřej Bílka <neleai@seznam.cz>
17319
482a077e 17320 [BZ #14029]
ca42d35e
OB
17321 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17322
52e6d801
FB
173232013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17324
17325 [BZ #16074]
17326 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17327 MAP_FAILED on error.
17328
7cbcdb36
SP
173292013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17330
17331 [BZ #16072]
17332 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17333 heap for large requests.
17334
894f3f10
AM
173352013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17336
17337 [BZ #9954]
17338 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17339 result if the result has no associated interface.
17340 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17341 interface for all 127.X.Y.Z addresses.
17342
b85545a6
CL
173432013-10-24 Chris Leonard <cjl@sugarlabs.org>
17344
17345 * locale/iso-639.def: Add Ligurian (lij)
17346
d1f23d46
OB
173472013-10-21 Ondřej Bílka <neleai@seznam.cz>
17348
17349 [BZ #15825]
17350 * sunrpc/rpc_main.c: Document rpcgen -5.
17351
4db5b08f
MS
173522013-10-19 Michael Stahl <mstahl@redhat.com>
17353
17354 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17355
a471e96a
OB
173562013-10-19 Ondřej Bílka <neleai@seznam.cz>
17357
d1f23d46 17358 [BZ #10278]
a471e96a
OB
17359 * posix/glob.c: Match only directories when trailing slash is present.
17360 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17361 (main): Add testcase.
17362
45c30c61
OB
173632013-10-19 Ondřej Bílka <neleai@seznam.cz>
17364
17365 [BZ #15670]
17366 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17367
484c12fb
CD
173682013-10-18 Carlos O'Donell <carlos@redhat.com>
17369
3d7dc513
CD
17370 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17371 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17372 AUTH_DES and cindex for FIPS 140-2.
17373 (DES Encryption): Add cindex FIPS 46-3.
17374
484c12fb
CD
17375 * locale/locarchive.h (struct locarhandle): Add fname.
17376 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17377 if an optional argument was specified to --list-archive,
17378 otherwise NULL.
17379 * locale/programs/locarchive.c (show_archive_content): Take new
17380 argument fname and pass it via ah.fname to open_archive.
17381 * locale/programs/localedef.h: Update decl.
17382 (open_archive): If AH->fname is non-null, open that file
17383 rather than the default file name, and don't ignore ENOENT.
17384 (create_archive): Set AH.fname to NULL.
17385 (delete_locales_from_archive): Likewise.
17386 (add_locales_to_archive): Likewise.
17387 * locale/programs/locfile.c (write_all_categories): Likewise.
17388
3c8325fb
JM
173892013-10-18 Joseph Myers <joseph@codesourcery.com>
17390 Aldy Hernandez <aldyh@redhat.com>
17391
17392 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17393 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17394 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17395 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17396 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17397 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17398 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17400 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17401 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17402 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17403 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17404 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17405 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17406 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17407 Likewise.
17408 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17409 Likewise.
17410 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17411 Likewise.
17412 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17413 Likewise.
17414 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17415 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17416 Likewise.
17417 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17418 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17419 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17420 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17421 Likewise.
17422 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17423 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17424 * sysdeps/powerpc/preconfigure: Likewise.
17425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17426 Likewise.
17427 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17428 Replace contents of file by #include of <fenv_libc.h>.
17429 * sysdeps/powerpc/soft-fp/sfp-machine.h
17430 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17431 and <sys/prctl.h>.
17432 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17442 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17445 Allow copysignl PLT reference to be missing.
17446
5abe0682
RS
174472013-10-18 Richard Sandiford <richard@codesourcery.com>
17448 Joseph Myers <joseph@codesourcery.com
17449
17450 [BZ #15948]
17451 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17452 single character.
17453 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17454
c7738d08
SP
174552013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17456
17457 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17458 * elf/tst-tls1.c: Likewise.
17459 * elf/tst-tls10.h: Likewise.
17460 * elf/tst-tls14.c: Likewise.
17461 * elf/tst-tls2.c: Likewise.
17462 * elf/tst-tls3.c: Likewise.
17463 * elf/tst-tls4.c: Likewise.
17464 * elf/tst-tls5.c: Likewise.
17465 * elf/tst-tls6.c: Likewise.
17466 * elf/tst-tls7.c: Likewise.
17467 * elf/tst-tls8.c: Likewise.
17468 * elf/tst-tls9.c: Likewise.
17469 * elf/tst-tlsmod1.c: Likewise.
17470 * elf/tst-tlsmod13.c: Likewise.
17471 * elf/tst-tlsmod13a.c: Likewise.
17472 * elf/tst-tlsmod14a.c: Likewise.
17473 * elf/tst-tlsmod16a.c: Likewise.
17474 * elf/tst-tlsmod16b.c: Likewise.
17475 * elf/tst-tlsmod2.c: Likewise.
17476 * elf/tst-tlsmod3.c: Likewise.
17477 * elf/tst-tlsmod4.c: Likewise.
17478 * elf/tst-tlsmod5.c: Likewise.
17479 * elf/tst-tlsmod6.c: Likewise.
17480
0bfcf2c7
OB
174812013-10-18 Ondřej Bílka <neleai@seznam.cz>
17482
17483 [BZ #12486]
17484 * malloc/malloc.c: remove checks for statistics.
17485
264aad1e
OB
174862013-10-17 Ondřej Bílka <neleai@seznam.cz>
17487
17488 [BZ #15277]
17489 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17490 * inet/tst-network.c: Add testcase.
17491
b957ced8
AS
174922013-10-17 Andreas Schwab <schwab@suse.de>
17493
17494 [BZ #15218]
17495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17496 to determine canonical name.
17497
c5d5d574
OB
174982013-10-17 Ondřej Bílka <neleai@seznam.cz>
17499
17500 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17501 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17503 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17523 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17524 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17525 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17530 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17533 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17535 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17536 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17537 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17538 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17540 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17541 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17542 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17543 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17544 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17545 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17558
e5c2c2d0
JM
175592013-10-17 Joseph Myers <joseph@codesourcery.com>
17560
17561 [BZ #16041]
17562 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17563 make result into a quiet NaN.
17564
51ca9e29
JM
175652013-10-16 Joseph Myers <joseph@codesourcery.com>
17566
17567 * soft-fp/adddf3.c: Fix horizontal whitespace.
17568 * soft-fp/addsf3.c: Likewise.
17569 * soft-fp/addtf3.c: Likewise.
17570 * soft-fp/divdf3.c: Likewise.
17571 * soft-fp/divsf3.c: Likewise.
17572 * soft-fp/divtf3.c: Likewise.
17573 * soft-fp/double.h: Likewise.
17574 * soft-fp/eqdf2.c: Likewise.
17575 * soft-fp/eqsf2.c: Likewise.
17576 * soft-fp/eqtf2.c: Likewise.
17577 * soft-fp/extenddftf2.c: Likewise.
17578 * soft-fp/extended.h: Likewise.
17579 * soft-fp/extendsfdf2.c: Likewise.
17580 * soft-fp/extendsftf2.c: Likewise.
17581 * soft-fp/extendxftf2.c: Likewise.
17582 * soft-fp/fixdfdi.c: Likewise.
17583 * soft-fp/fixdfsi.c: Likewise.
17584 * soft-fp/fixdfti.c: Likewise.
17585 * soft-fp/fixsfdi.c: Likewise.
17586 * soft-fp/fixsfsi.c: Likewise.
17587 * soft-fp/fixsfti.c: Likewise.
17588 * soft-fp/fixtfdi.c: Likewise.
17589 * soft-fp/fixtfsi.c: Likewise.
17590 * soft-fp/fixtfti.c: Likewise.
17591 * soft-fp/fixunsdfdi.c: Likewise.
17592 * soft-fp/fixunsdfsi.c: Likewise.
17593 * soft-fp/fixunsdfti.c: Likewise.
17594 * soft-fp/fixunssfdi.c: Likewise.
17595 * soft-fp/fixunssfsi.c: Likewise.
17596 * soft-fp/fixunssfti.c: Likewise.
17597 * soft-fp/fixunstfdi.c: Likewise.
17598 * soft-fp/fixunstfsi.c: Likewise.
17599 * soft-fp/fixunstfti.c: Likewise.
17600 * soft-fp/floatdidf.c: Likewise.
17601 * soft-fp/floatdisf.c: Likewise.
17602 * soft-fp/floatditf.c: Likewise.
17603 * soft-fp/floatsidf.c: Likewise.
17604 * soft-fp/floatsisf.c: Likewise.
17605 * soft-fp/floatsitf.c: Likewise.
17606 * soft-fp/floattidf.c: Likewise.
17607 * soft-fp/floattisf.c: Likewise.
17608 * soft-fp/floattitf.c: Likewise.
17609 * soft-fp/floatundidf.c: Likewise.
17610 * soft-fp/floatundisf.c: Likewise.
17611 * soft-fp/floatunditf.c: Likewise.
17612 * soft-fp/floatunsidf.c: Likewise.
17613 * soft-fp/floatunsisf.c: Likewise.
17614 * soft-fp/floatunsitf.c: Likewise.
17615 * soft-fp/floatuntidf.c: Likewise.
17616 * soft-fp/floatuntisf.c: Likewise.
17617 * soft-fp/floatuntitf.c: Likewise.
17618 * soft-fp/fmadf4.c: Likewise.
17619 * soft-fp/fmasf4.c: Likewise.
17620 * soft-fp/fmatf4.c: Likewise.
17621 * soft-fp/gedf2.c: Likewise.
17622 * soft-fp/gesf2.c: Likewise.
17623 * soft-fp/getf2.c: Likewise.
17624 * soft-fp/ledf2.c: Likewise.
17625 * soft-fp/lesf2.c: Likewise.
17626 * soft-fp/letf2.c: Likewise.
17627 * soft-fp/muldf3.c: Likewise.
17628 * soft-fp/mulsf3.c: Likewise.
17629 * soft-fp/multf3.c: Likewise.
17630 * soft-fp/negdf2.c: Likewise.
17631 * soft-fp/negsf2.c: Likewise.
17632 * soft-fp/negtf2.c: Likewise.
17633 * soft-fp/op-1.h: Likewise.
17634 * soft-fp/op-2.h: Likewise.
17635 * soft-fp/op-4.h: Likewise.
17636 * soft-fp/op-8.h: Likewise.
17637 * soft-fp/op-common.h: Likewise.
17638 * soft-fp/quad.h: Likewise.
17639 * soft-fp/single.h: Likewise.
17640 * soft-fp/soft-fp.h: Likewise.
17641 * soft-fp/sqrtdf2.c: Likewise.
17642 * soft-fp/sqrtsf2.c: Likewise.
17643 * soft-fp/sqrttf2.c: Likewise.
17644 * soft-fp/subdf3.c: Likewise.
17645 * soft-fp/subsf3.c: Likewise.
17646 * soft-fp/subtf3.c: Likewise.
17647 * soft-fp/truncdfsf2.c: Likewise.
17648 * soft-fp/trunctfdf2.c: Likewise.
17649 * soft-fp/trunctfsf2.c: Likewise.
17650 * soft-fp/trunctfxf2.c: Likewise.
17651 * soft-fp/unorddf2.c: Likewise.
17652 * soft-fp/unordsf2.c: Likewise.
17653 * soft-fp/unordtf2.c: Likewise.
17654
9ebb0332
JM
176552013-10-15 Joseph Myers <joseph@codesourcery.com>
17656
17657 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17658 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17659
4b1a6d8b
OB
176602013-10-15 Ondřej Bílka <neleai@seznam.cz>
17661
17662 * elf/dl-libc.c: Clear initfini list after freeing.
17663
1e145589
JM
176642013-10-14 Joseph Myers <joseph@codesourcery.com>
17665
17666 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17667 * soft-fp/addsf3.c: Likewise.
17668 * soft-fp/addtf3.c: Likewise.
17669 * soft-fp/divdf3.c: Likewise.
17670 * soft-fp/divsf3.c: Likewise.
17671 * soft-fp/divtf3.c: Likewise.
17672 * soft-fp/double.h: Likewise.
17673 * soft-fp/eqdf2.c: Likewise.
17674 * soft-fp/eqsf2.c: Likewise.
17675 * soft-fp/eqtf2.c: Likewise.
17676 * soft-fp/extenddftf2.c: Likewise.
17677 * soft-fp/extended.h: Likewise.
17678 * soft-fp/extendsfdf2.c: Likewise.
17679 * soft-fp/extendsftf2.c: Likewise.
17680 * soft-fp/extendxftf2.c: Likewise.
17681 * soft-fp/fixdfdi.c: Likewise.
17682 * soft-fp/fixdfsi.c: Likewise.
17683 * soft-fp/fixdfti.c: Likewise.
17684 * soft-fp/fixsfdi.c: Likewise.
17685 * soft-fp/fixsfsi.c: Likewise.
17686 * soft-fp/fixsfti.c: Likewise.
17687 * soft-fp/fixtfdi.c: Likewise.
17688 * soft-fp/fixtfsi.c: Likewise.
17689 * soft-fp/fixtfti.c: Likewise.
17690 * soft-fp/fixunsdfdi.c: Likewise.
17691 * soft-fp/fixunsdfsi.c: Likewise.
17692 * soft-fp/fixunsdfti.c: Likewise.
17693 * soft-fp/fixunssfdi.c: Likewise.
17694 * soft-fp/fixunssfsi.c: Likewise.
17695 * soft-fp/fixunssfti.c: Likewise.
17696 * soft-fp/fixunstfdi.c: Likewise.
17697 * soft-fp/fixunstfsi.c: Likewise.
17698 * soft-fp/fixunstfti.c: Likewise.
17699 * soft-fp/floatdidf.c: Likewise.
17700 * soft-fp/floatdisf.c: Likewise.
17701 * soft-fp/floatditf.c: Likewise.
17702 * soft-fp/floatsidf.c: Likewise.
17703 * soft-fp/floatsisf.c: Likewise.
17704 * soft-fp/floatsitf.c: Likewise.
17705 * soft-fp/floattidf.c: Likewise.
17706 * soft-fp/floattisf.c: Likewise.
17707 * soft-fp/floattitf.c: Likewise.
17708 * soft-fp/floatundidf.c: Likewise.
17709 * soft-fp/floatundisf.c: Likewise.
17710 * soft-fp/floatunsidf.c: Likewise.
17711 * soft-fp/floatunsisf.c: Likewise.
17712 * soft-fp/floatuntidf.c: Likewise.
17713 * soft-fp/floatuntisf.c: Likewise.
17714 * soft-fp/floatuntitf.c: Likewise.
17715 * soft-fp/fmadf4.c: Likewise.
17716 * soft-fp/fmasf4.c: Likewise.
17717 * soft-fp/fmatf4.c: Likewise.
17718 * soft-fp/gedf2.c: Likewise.
17719 * soft-fp/gesf2.c: Likewise.
17720 * soft-fp/getf2.c: Likewise.
17721 * soft-fp/ledf2.c: Likewise.
17722 * soft-fp/lesf2.c: Likewise.
17723 * soft-fp/letf2.c: Likewise.
17724 * soft-fp/muldf3.c: Likewise.
17725 * soft-fp/mulsf3.c: Likewise.
17726 * soft-fp/multf3.c: Likewise.
17727 * soft-fp/negdf2.c: Likewise.
17728 * soft-fp/negsf2.c: Likewise.
17729 * soft-fp/negtf2.c: Likewise.
17730 * soft-fp/op-1.h: Likewise.
17731 * soft-fp/op-2.h: Likewise.
17732 * soft-fp/op-4.h: Likewise.
17733 * soft-fp/op-8.h: Likewise.
17734 * soft-fp/op-common.h: Likewise.
17735 * soft-fp/quad.h: Likewise.
17736 * soft-fp/single.h: Likewise.
17737 * soft-fp/soft-fp.h: Likewise.
17738 * soft-fp/sqrtdf2.c: Likewise.
17739 * soft-fp/sqrtsf2.c: Likewise.
17740 * soft-fp/sqrttf2.c: Likewise.
17741 * soft-fp/subdf3.c: Likewise.
17742 * soft-fp/subsf3.c: Likewise.
17743 * soft-fp/subtf3.c: Likewise.
17744 * soft-fp/truncdfsf2.c: Likewise.
17745 * soft-fp/trunctfdf2.c: Likewise.
17746 * soft-fp/trunctfsf2.c: Likewise.
17747 * soft-fp/trunctfxf2.c: Likewise.
17748 * soft-fp/unorddf2.c: Likewise.
17749 * soft-fp/unordsf2.c: Likewise.
17750 * soft-fp/unordtf2.c: Likewise.
17751
17c48a60
OB
177522013-10-14 Ondřej Bílka <neleai@seznam.cz>
17753
17754 [BZ #15672]
17755 * misc/error.c (error_tail): Fix possible buffer overflow.
17756
cabba934
OB
177572013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17758
17759 [BZ #13028]
17760 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17761 address.
17762
94bf958a
PM
177632013-10-14 P. J. McDermott <pj@pehjota.net>
17764
17765 [BZ #832]
17766 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17767 testing pipefail option.
17768
71b4dea7
JM
177692013-10-12 Joseph Myers <joseph@codesourcery.com>
17770
17771 * soft-fp/double.h: Indent preprocessor directives inside #if.
17772 * soft-fp/extended.h: Likewise.
17773 * soft-fp/op-2.h: Likewise.
17774 * soft-fp/op-4.h: Likewise.
17775 * soft-fp/op-common.h: Likewise.
17776 * soft-fp/quad.h: Likewise.
17777 * soft-fp/single.h: Likewise.
17778 * soft-fp/soft-fp.h: Likewise.
17779
55602758
YC
177802013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17781
17782 * iconv/iconv_prog.c: Fix typos.
17783 * stdio-common/psiginfo-data.h: Likewise.
17784
9cd83302
RT
177852013-10-12 Reuben Thomas <rrt@sc3d.org>
17786
17787 [BZ #15764]
17788 * locale/setlocale.c: Fix typo.
17789
99fd9f47
JM
177902013-10-12 Joseph Myers <joseph@codesourcery.com>
17791
b7ea74f0
JM
17792 [BZ #16036]
17793 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17794 signaling NaN arguments.
17795 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17796 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17797
8a509447
JM
17798 [BZ #14910]
17799 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17800 unordered operands.
17801 * soft-fp/gesf2.c (__gesf2): Likewise.
17802 * soft-fp/getf2.c (__getf2): Likewise.
17803 * soft-fp/ledf2.c (__ledf2): Likewise.
17804 * soft-fp/lesf2.c (__lesf2): Likewise.
17805 * soft-fp/letf2.c (__letf2): Likewise.
17806
98998e9f
JM
17807 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17808 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17809 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17810 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17811 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17812 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17813 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17814 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17815 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17816 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17817 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17818 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17819 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17820 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17821 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17822 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17823 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17824 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17825 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17826 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17827 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17828 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17829 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17830 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17831 * soft-fp/floattidf.c (__floattidf): Likewise.
17832 * soft-fp/floattisf.c (__floattisf): Likewise.
17833 * soft-fp/floattitf.c (__floattitf): Likewise.
17834 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17835 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17836 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17837 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17838 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17839 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17840 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17841 * soft-fp/gesf2.c (__gesf2): Likewise.
17842 * soft-fp/getf2.c (__getf2): Likewise.
17843 * soft-fp/ledf2.c (__ledf2): Likewise.
17844 * soft-fp/lesf2.c (__lesf2): Likewise.
17845 * soft-fp/letf2.c (__letf2): Likewise.
17846
8edc4a11
JM
17847 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17848 Undefine and redefine.
17849 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17850 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17851 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17852 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17853 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17854 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17855 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17856 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17857 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17858 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17859 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17860 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17861 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17862 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17863 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17864
8399acaf
JM
17865 [BZ #16032]
17866 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17867 without decrementing exponent if mantissa >= that for the
17868 denominator, not >.
17869 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17870 denominator, not >. Decrement exponent in < case instead of
17871 incrementing in >= case.
17872 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17873 without decrementing exponent if mantissa >= that for the
17874 denominator, not >.
17875
99fd9f47
JM
17876 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17877 computing saturated result for unsigned overflow.
17878
10e1cf6b
SP
178792013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17880 Jeff Law <law@redhat.com>
17881
17882 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17883 (atan2Mp): Add systemtap probe marker.
17884 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17885 (__ieee754_log): Add systemtap probe marker.
17886 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17887 (atanMp): Add systemtap probe marker.
17888 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17889 (tanMp): Add systemtap probe marker.
17890 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17891 (__slowexp): Add systemtap probe marker.
17892 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17893 (__slowpow): Add systemtap probe marker.
17894 * manual/probes.texi: Document probes.
17895
3d110c7c
EB
178962013-10-11 Eric Biggers <ebiggers3@gmail.com>
17897
17898 [BZ #15362]
17899 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17900 written.
17901 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17902 written.
17903 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17904 written to buffer but not flushed.
17905 * libio/iofwrite_u.c: Likewise.
17906 * libio/iopadn.c: Return bytes returned even if EOF was
17907 encountered.
17908 * libio/iowpadn.c: Likewise.
17909 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17910 if _IO_padn does not write the whole buffer.
17911 [!COMPILE_WPRINTF] (PAD): Likewise.
17912
75b4202a
DM
179132013-10-10 David S. Miller <davem@davemloft.net>
17914
17915 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17916 directory block.
17917
6c6352e6
JM
179182013-10-10 Joseph Myers <joseph@codesourcery.com>
17919
33b853c3
JM
17920 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17921 instead of FSF address.
17922 * soft-fp/fixdfti.c: Likewise.
17923 * soft-fp/fixsfti.c: Likewise.
17924 * soft-fp/fixtfti.c: Likewise.
17925 * soft-fp/fixunsdfti.c: Likewise.
17926 * soft-fp/fixunssfti.c: Likewise.
17927 * soft-fp/fixunstfti.c: Likewise.
17928 * soft-fp/floattidf.c: Likewise.
17929 * soft-fp/floattisf.c: Likewise.
17930 * soft-fp/floattitf.c: Likewise.
17931 * soft-fp/floatuntidf.c: Likewise.
17932 * soft-fp/floatuntisf.c: Likewise.
17933 * soft-fp/floatuntitf.c: Likewise.
17934 * soft-fp/trunctfxf2.c: Likewise.
17935
6c6352e6
JM
17936 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17937 * soft-fp/fixdfti.c: Likewise.
17938 * soft-fp/fixsfti.c: Likewise.
17939 * soft-fp/fixtfti.c: Likewise.
17940 * soft-fp/fixunsdfti.c: Likewise.
17941 * soft-fp/fixunssfti.c: Likewise.
17942 * soft-fp/fixunstfti.c: Likewise.
17943 * soft-fp/floattidf.c: Likewise.
17944 * soft-fp/floattisf.c: Likewise.
17945 * soft-fp/floattitf.c: Likewise.
17946 * soft-fp/floatuntidf.c: Likewise.
17947 * soft-fp/floatuntisf.c: Likewise.
17948 * soft-fp/floatuntitf.c: Likewise.
17949 * soft-fp/trunctfxf2.c: Likewise.
17950
3bf78b71
DM
179512013-10-10 David S. Miller <davem@davemloft.net>
17952
17953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17954
6f10289e
JM
179552013-10-10 Joseph Myers <joseph@codsourcery.com>
17956
bd878fc0
JM
17957 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17958 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17959 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17960 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17961 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17962 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17963 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17964
6f10289e
JM
17965 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17966 for NaNs before doing comparisons on argument.
17967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17968 Likewise.
17969
321e2684
WN
179702013-10-10 Will Newton <will.newton@linaro.org>
17971
17972 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17973 passed to _int_memalign does not overflow.
17974
40fefba1
TR
179752013-10-10 Torvald Riegel <triegel@redhat.com>
17976
17977 * scripts/bench.pl: Add include-sources directive.
17978 * benchtests/README: Update documentation.
17979
2ae21ed2
JM
179802013-10-10 Joseph Myers <joseph@codesourcery.com>
17981
dcc2dd3f
JM
17982 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17983 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17984 instead of FP_INIT_ROUNDMODE.
17985 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17986 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17987
2ae21ed2
JM
17988 [BZ #16034]
17989 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17990 copy class of input value.
17991 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17992 not handle exceptions.
17993 * soft-fp/negsf2.c (__negsf2): Likewise.
17994 * soft-fp/negtf2.c (__negtf2): Likewise.
17995 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17996
cb8f9562
JM
179972013-10-09 Joseph Myers <joseph@codesourcery.com>
17998
17999 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18000 semicolon. From Linux kernel.
18001
5b60c59d
AB
180022013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18003
18004 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18005
b86835ca
YC
180062013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18007
18008 [BZ #156]
18009 * manual/socket.texi: Added statement about buffer
18010 for gethostbyname2_r.
18011
e7044ea7
OB
180122013-10-08 Ondřej Bílka <neleai@seznam.cz>
18013
18014 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18015 Use .p2align directive instead, throughout.
18016 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18017 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18018 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18019 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18020 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18021 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18022 * sysdeps/x86_64/strchr.S: Likewise.
18023 * sysdeps/x86_64/strrchr.S: Likewise.
18024
09544cbc
SP
180252013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18026
88576635
SP
18027 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18028
e7b2d1dd
SP
18029 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18030
09544cbc
SP
18031 * sysdeps/generic/math_private.h (__mpsin1): Remove
18032 declaration.
18033 (__mpcos1): Likewise.
18034 (__mpsin): New argument __range_reduce.
18035 (__mpcos): Likewise.
18036 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18037 (slow): Use __mpsin and __mpcos.
18038 (slow1): Likewise.
18039 (slow2): Likewise.
18040 (sloww): Likewise.
18041 (sloww1): Likewise.
18042 (sloww2): Likewise.
18043 (bsloww): Likewise.
18044 (bsloww1): Likewise.
18045 (bsloww2): Likewise.
18046 (cslow2): Likewise.
18047 (csloww): Likewise.
18048 (csloww1): Likewise.
18049 (csloww2): Likewise.
18050 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18051 range_reduce. Merge in __mpsin1.
18052 (__mpcos): Likewise.
18053 (__mpsin1): Remove.
18054 (__mpcos1): Likewise.
18055
7602d070
JM
180562013-10-07 Joseph Myers <joseph@codesourcery.com>
18057
18058 * locale/loadlocale.c (_nl_intern_locale_data): Use
18059 LOCFILE_ALIGNED_P.
18060 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18061 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18062 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18063 obstack data is appropriately aligned.
18064 (obstack_int32_grow_fast): Likewise.
18065 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18066 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18067 (add_locale_uint32_array): Likewise.
18068
a357259b
SP
180692013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18070
18071 * benchtests/Makefile: Remove ARGLIST and RET variables.
18072 ($(objpfx)bench-%.c): Pass only function name to the script.
18073 * benchtests/README: Update documentation.
18074 * benchtests/acos-inputs: Add new directives.
18075 * benchtests/acosh-inputs: Likewise.
18076 * benchtests/asin-inputs: Likewise.
18077 * benchtests/asinh-inputs: Likewise.
18078 * benchtests/atan-inputs: Likewise.
18079 * benchtests/atanh-inputs: Likewise.
18080 * benchtests/cos-inputs: Likewise.
18081 * benchtests/cosh-inputs: Likewise.
18082 * benchtests/exp-inputs: Likewise.
18083 * benchtests/log-inputs: Likewise.
18084 * benchtests/pow-inputs: Likewise.
18085 * benchtests/rint-inputs: Likewise.
18086 * benchtests/sin-inputs: Likewise.
18087 * benchtests/sinh-inputs: Likewise.
18088 * benchtests/tan-inputs: Likewise.
18089 * benchtests/tanh-inputs: Likewise.
18090 * scripts/bench.pl: Add support for new directives.
18091
9ec1b13d
AM
180922013-10-07 Alan Modra <amodra@gmail.com>
18093
18094 * README: Fix careless merge.
18095
8b7d57cd
AM
180962013-10-05 Alan Modra <amodra@gmail.com>
18097
18098 * NEWS: Mention powerpc64le support and bugs fixed.
18099 * README: Both big-endian and little-endian powerpc64 supported.
18100
7b7bab13
ST
181012013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18102
57f41c40
AS
18103 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18104 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18105 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18106 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18107
d39baad1
RA
181082013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18109
18110 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18111 match prototype.
18112
cd78f7e7
JM
181132013-10-04 Joseph Myers <joseph@codesourcery.com>
18114
29d73d86
JM
18115 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18116 Move -mhard-float appending from
18117 ports/sysdeps/powerpc/powerpc32/Makefile.
18118 [$(with-fp) = yes] (ASFLAGS): Likewise.
18119 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18120 * sysdeps/powerpc/nofpu: Move directory from
18121 ports/sysdeps/powerpc/nofpu.
18122 * sysdeps/powerpc/soft-fp: Move directory from
18123 ports/sysdeps/powerpc/soft-fp.
18124 * sysdeps/powerpc/powerpc32/405: Move directory from
18125 ports/sysdeps/powerpc/powerpc32/405.
18126 * sysdeps/powerpc/powerpc32/440: Move directory from
18127 ports/sysdeps/powerpc/powerpc32/440.
18128 * sysdeps/powerpc/powerpc32/464: Move directory from
18129 ports/sysdeps/powerpc/powerpc32/464.
18130 * sysdeps/powerpc/powerpc32/476: Move directory from
18131 ports/sysdeps/powerpc/powerpc32/476.
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18133 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18139 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18141 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18142 * README: Update for powerpc-*-linux-gnu software floating point
18143 support in libc.
18144
e246b347
JM
18145 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18146 case to powerpc/powerpc32*.
18147 * sysdeps/unix/sysv/linux/configure: Regenerated.
18148
89c2003e
JM
18149 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18150 (_FPU_MASK_OM): Define as 0x04.
18151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18153 0x00c10080.
18154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18155 0x0000003c.
18156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18157
cd78f7e7
JM
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18159 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18160 getcontext_e500.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18162 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18163 setcontext_e500.
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18165 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18166 and setcontext_e500.
18167
c755294d
CL
181682013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18169
18170 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18171
e16d221c
SP
181722013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18173
18174 * manual/threads.texi (Default Thread Attributes): Fix typo.
18175
215c7d43
WN
181762013-10-04 Will Newton <will.newton@linaro.org>
18177
18178 * malloc/Makefile: Add tst-memalign.
18179 * malloc/tst-memalign.c: New file.
18180
27d0461b
WN
18181 * malloc/tst-posix_memalign.c: Add comments.
18182 (do_test): Add comments and call free on all potentially
18183 allocated pointers. Add space after cast.
18184
1bc92709
WN
18185 * malloc/tst-pvalloc.c: Add comments.
18186 (do_test): Add comments and call free on all potentially
18187 allocated pointers. Remove duplicate check for NULL pointer.
18188 Add space after cast.
18189
66a9be9d
WN
18190 * malloc/tst-valloc.c: Add comments.
18191 (do_test): Add comments and call free on all potentially
18192 allocated pointers. Remove duplicate check for NULL pointer.
18193 Add space after cast.
18194
4cb81307
AM
181952013-10-04 Alan Modra <amodra@gmail.com>
18196
18197 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18198 Use stdint types in rather than __attribute__((mode())).
18199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18200
f8e3e9f3
AM
182012013-10-04 Alan Modra <amodra@gmail.com>
18202
18203 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18204 Correct handling of unaligned relocs for little-endian.
18205 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18206
8f9ebb08
AM
182072013-10-04 Alan Modra <amodra@gmail.com>
18208
18209 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18210 * configure: Regenerate.
18211 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18212 * shlib-versions: Likewise.
18213
0edf96c2
AM
182142013-10-04 Alan Modra <amodra@gmail.com>
18215
18216 * string/tester.c (test_memrchr): Increment reported test cycle.
18217
e0f7a380
AM
182182013-10-04 Alan Modra <amodra@gmail.com>
18219
18220 * string/test-memcpy.c (do_one_test): When reporting errors, print
18221 string address and don't overrun end of string.
18222
466b0393
AM
182232013-10-04 Alan Modra <amodra@gmail.com>
18224
18225 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18226 insrdi. Make better use of reg selection to speed exit slightly.
18227 Schedule entry path a little better. Remove useless "are we done"
18228 checks on entry to main loop. Handle wrapping around zero address.
18229 Correct main loop count. Handle single left-over word from main
18230 loop inline rather than by using loop_small. Remove extra word
18231 case in loop_small caused by wrong loop count. Add little-endian
18232 support.
18233 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18234 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18235 cache hint.
18236 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18237 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18238 support. Avoid rlwimi.
18239 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18240
3be87c77
AM
182412013-10-04 Alan Modra <amodra@gmail.com>
18242
18243 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18244 insrdi. Formatting.
3be87c77
AM
18245 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18246 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18247 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18248 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18249 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18250 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18251
759cfef3
AM
182522013-10-04 Alan Modra <amodra@gmail.com>
18253
18254 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18255 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18257 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18258 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18259 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18260 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18261 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18262 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18263 use of regs. Use power7 mtocrf. Tidy function tails.
18264
fe6e95d7
AM
182652013-10-04 Alan Modra <amodra@gmail.com>
18266
18267 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18268 Formatting. Consistently use rXXX register defines or rN defines.
18269 Use early exit labels that avoid restoring unused non-volatile regs.
18270 Make cr field use more consistent with rWORDn compares. Rename
18271 regs used as shift registers for unaligned loop, using rN defines
18272 for short lifetime/multiple use regs.
18273 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18274 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18275 addi 1,1,64 to pop stack frame. Simplify return value code.
18276 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18277
664318c3
AM
182782013-10-04 Alan Modra <amodra@gmail.com>
18279
18280 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18281 support. Correct typos, formatting. Optimize tail. Use insrdi
18282 rather than rlwimi.
18283 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18284 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18285 little-endian support. Correct typos.
18286 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18287 rather than rlwimi.
18288 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18289 in loop and entry code to keep "and." results.
18290 (strchr): Add little-endian support. Comment. Move cntlzd
18291 earlier in tail.
18292 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18293
43b84013
AM
182942013-10-04 Alan Modra <amodra@gmail.com>
18295
18296 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18297 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18298 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18299 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18300
8a7413f9
AM
183012013-10-04 Alan Modra <amodra@gmail.com>
18302
18303 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18304 (rTMP): Define as r11.
18305 (strcmp): Add little-endian support. Optimise tail.
18306 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18307 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18308 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18309 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18311 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18313
33ee81de
AM
183142013-10-04 Alan Modra <amodra@gmail.com>
18315
18316 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18317 little-endian support. Remove unnecessary "are we done" tests.
18318 Handle "s" wrapping around zero and extremely large "size".
18319 Correct main loop count. Handle single left-over word from main
18320 loop inline rather than by using small_loop. Correct comments.
18321 Delete "zero" tail, use "end_max" instead.
18322 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18323
db9b4570
AM
183242013-10-04 Alan Modra <amodra@gmail.com>
18325
18326 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18327 support. Don't branch over align.
18328 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18329 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18330 support. Rearrange tmp reg use to suit. Comment.
18331 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18332
f7c399cf
AM
183332013-10-04 Alan Modra <amodra@gmail.com>
18334
18335 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18336
0b2c2ace
AM
183372013-10-04 Alan Modra <amodra@gmail.com>
18338
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18340 conditional form of branch and link when obtaining pc.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18342
02f04a6c
AM
183432013-10-04 Alan Modra <amodra@gmail.com>
18344
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18346 HIWORD/LOWORD.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18349
9b874b2f
AM
183502013-10-04 Alan Modra <amodra@gmail.com>
18351
18352 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18353 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18354 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18355 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18356 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18357 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18358 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18359 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18360 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18361 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18362
be1e5d31
AB
183632013-10-04 Anton Blanchard <anton@au1.ibm.com>
18364 Alistair Popple <alistair@ozlabs.au.ibm.com>
18365 Alan Modra <amodra@gmail.com>
18366
18367 [BZ #15723]
18368 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18369 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18370 _dl_hwcap access for little-endian.
18371 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18372 destroy vmx regs when saving unaligned.
18373 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18374 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18375 destroy vmx regs when saving unaligned.
18376
fef13a78
AM
183772013-10-04 Alan Modra <amodra@gmail.com>
18378
18379 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18380 Don't use a union to pack hi/low value.
18381
76a66d51
AB
183822013-10-04 Anton Blanchard <anton@au1.ibm.com>
18383
18384 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18385 for little-endian.
18386 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18387 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18388 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18389 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18390 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18391
6a31fe7f
AM
183922013-10-04 Alan Modra <amodra@gmail.com>
18393
18394 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18395 constants to usual value for .cst8 section, and remove redundant
18396 high address load.
18397 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18398 constant for 0x1p52. Load little-endian words of double from
18399 correct stack offsets.
18400
7b88401f
AM
184012013-10-04 Alan Modra <amodra@gmail.com>
18402
18403 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18404 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18405 words of double from correct stack offsets.
18406 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18407 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18408 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18410 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18411 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18412 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18413 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18414 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18415 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18416 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18417 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18418 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18419 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18420 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18421 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18422 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18423
9c008155
AM
184242013-10-04 Alan Modra <amodra@gmail.com>
18425
18426 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18427 64-bit int/double union.
18428 (_FPU_SETCW): Likewise.
18429 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18430 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18431
da13146d
AM
184322013-10-04 Alan Modra <amodra@gmail.com>
18433
18434 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18435 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18436
603e8410
AM
184372013-10-04 Alan Modra <amodra@gmail.com>
18438
18439 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18440 use vector int constants.
18441 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18442
4a28b3ca
AB
184432013-10-04 Anton Blanchard <anton@au1.ibm.com>
18444
18445 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18446 array with long long.
18447 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18448 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18449 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18450 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18451 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18452 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18453 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18454 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18455 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18456 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18457 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18458 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18459 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18460
2ca85d2b
AB
184612013-10-04 Anton Blanchard <anton@au1.ibm.com>
18462
18463 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18464 (__signbit): Likewise. Correct for little-endian.
18465 (__signbitl): Call __signbit.
18466 (lrint): Correct for little-endian.
18467 (lrintf): Call lrint.
18468
62a728ae
AM
184692013-10-04 Alan Modra <amodra@gmail.com>
18470
18471 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18472 union 32-bit int array member with 64-bit int array.
18473 (t515, tm256): Double rather than long double.
18474 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18475
32c301df
AM
184762013-10-04 Alan Modra <amodra@gmail.com>
18477
18478 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18479 Delete.
18480 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18481 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18482 version of math_ldbl.h.
18483
650ef4bd
AM
184842013-10-04 Alan Modra <amodra@gmail.com>
18485
18486 [BZ #15734], [BZ #15735]
18487 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18488 all uses of ieee875 long double macros and unions. Simplify test
18489 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18490 ldbl_extract_mantissa value for ix,iy exponents. Properly
18491 normalize after ldbl_extract_mantissa, and don't add hidden bit
18492 already handled. Don't treat low word of ieee854 mantissa like
18493 low word of IBM long double and mask off bit when testing for
18494 zero.
18495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18496 all uses of ieee875 long double macros and unions. Simplify tests
18497 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18498 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18499 two1022, instead use their values. Recognise that tests for large
18500 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18501 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18502 Rewrite all uses of ieee875 long double macros and unions. Simplify
18503 test for 0.0L and nan. Correct negation.
18504 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18505 ieee875 long double macros and unions. Correct output for large
18506 magnitude x. Correct absolute value calculation.
18507 (__erfcl): Likewise.
18508 * math/libm-test.inc: Add tests for errors discovered in IBM long
18509 double versions of fmodl, remainderl, erfl and erfcl.
18510
765714ca
AM
185112013-10-04 Alan Modra <amodra@gmail.com>
18512
18513 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18514 all uses of ieee854 long double macros and unions. Simplify tests
18515 for long doubles that are fully specified by the high double.
18516 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18517 Likewise.
18518 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18519 Remove dead code too.
18520 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18521 (__ieee754_ynl): Likewise.
18522 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18523 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18525 Remove dead code too.
18526 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18527 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18528 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18529 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18530 Simplify.
18531 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18532 Simplify.
18533 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18534 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18535 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18536 Comment on variable precision.
18537 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18538 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18539 Likewise.
18540 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18541 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18542 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18543 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18545
4ebd120c
AM
185462013-10-04 Alan Modra <amodra@gmail.com>
18547
18548 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18550 all uses of ieee854 long double macros and unions.
18551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18555 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18556 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18557 Likewise.
18558 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18559 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18560 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18561 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18562 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18563 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18564 Simplify sign and nan test too.
18565 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18566 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18567 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18568 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18569 Likewise.
18570 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18571 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18572 Likewise.
18573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18574 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18575 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18576 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18579
1b6adf88
AM
185802013-10-04 Alan Modra <amodra@gmail.com>
18581
18582 * stdio-common/printf_size.c (__printf_size): Don't use
18583 union ieee854_long_double in fpnum union.
18584 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18585 signbit macro to retrieve sign from long double.
18586 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18587 retrieve sign from long double.
18588 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18589 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18590 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18591 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18592 * math/test-misc.c (main): Don't use union ieee854_long_double.
18593
4cf69995
AM
185942013-10-04 Alan Modra <amodra@gmail.com>
18595
18596 [BZ #15680]
18597 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18598 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18599 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18600 calculation. Remove unnecessary test for denormal exponent.
18601 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18602 Correct handling of denormals. Avoid undefined shift behaviour.
18603 Correct normalisation of low mantissa when low double is denormal.
18604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18605 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18606 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18607 Correct normalisation of low mantissa. Test for overflow of high
18608 mantissa and normalise.
18609 (ldbl_nearbyint): Use more readable constant for two52.
18610 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18611 (__mpn_construct_long_double): Fix test for overflow of high
18612 mantissa and correct normalisation. Avoid undefined shift.
18613
9605ca6c
AM
186142013-10-04 Alan Modra <amodra@gmail.com>
18615
18616 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18617 (union ibm_extended_long_double): Define as an array of ieee754_double.
18618 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18619 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18620 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18621 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18622 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18623 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18625 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18626 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18627 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18628 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18629
975569d0
JM
186302013-10-03 Joseph Myers <joseph@codesourcery.com>
18631
d3d23756
JM
18632 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18633 page size instead of calling getpagesize.
18634
975569d0
JM
18635 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18636 (LOCFILE_ALIGN_MASK): Likewise.
18637 (LOCFILE_ALIGN_UP): Likewise.
18638 (LOCFILE_ALIGNED_P): Likewise.
18639 * locale/programs/ld-collate.c (collate_output): Use the new
18640 macros instead of __alignof__ (int32_t).
18641 * locale/weight.h (findidx): Likewise.
18642
b1fe1f2b
OB
186432013-10-03 Ondřej Bílka <neleai@seznam.cz>
18644
18645 [BZ #431]
18646 * manual/string.texi: Fix strncat and wcsncat.
18647
5f855e35
BM
186482013-10-03 Brooks Moses <bmoses@google.com>
18649
18650 [BZ #15915]
18651 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18652 * Makerules: ...here, and adjust associated comments.
18653
3cef6009
WN
186542013-10-02 Will Newton <will.newton@linaro.org>
18655
18656 * malloc/Makefile: Add tst-pvalloc.
18657 * malloc/tst-pvalloc.c: New file.
18658
7815420b
WN
186592013-10-02 Will Newton <will.newton@linaro.org>
18660
18661 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18662 improve test coverage.
18663
4868b204
WN
186642013-10-02 Will Newton <will.newton@linaro.org>
18665
18666 * malloc/Makefile: Add tst-posix_memalign.
18667 * malloc/tst-posix_memalign.c: New file.
18668
29c793b3
EB
186692013-10-01 Eric Blake <eblake@redhat.com>
18670
18671 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18672 Use __THROWNL rather than __THROW on static functions.
18673
fd967522
PM
186742013-09-30 Petr Machata <pmachata@redhat.com>
18675
18676 * elf/elf.h (R_AARCH64_ABS16): New macro.
18677 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18678 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18679 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18680 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18681 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18682 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18683 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18684 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18685 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18686 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18687 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18688 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18689 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18690 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18691 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18692 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18693 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18694 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18695 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18696 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18697 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18698 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18699 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18700 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18701 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18702 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18703 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18704 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18705 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18706 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18707 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18708 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18709 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18710 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18711 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18712 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18713 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18714 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18715 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18716 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18717 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18718 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18719 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18720 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18721 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18722 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18723 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18724 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18725 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18726 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18727 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18728 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18729 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18730 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18731 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18732 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18733 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18734 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18735 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18736 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18737 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18738 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18739 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18740 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18741 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18742 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18743 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18744 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18745 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18746 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18747 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18748 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18749 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18750 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18751 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18752 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18753 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18754 (R_AARCH64_TLSDESC_LDR): Likewise.
18755 (R_AARCH64_TLSDESC_ADD): Likewise.
18756 (R_AARCH64_TLSDESC_CALL): Likewise.
18757
b2179107
AS
187582013-09-30 Andreas Schwab <schwab@suse.de>
18759
18760 [BZ #15048]
18761 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18762 the nss database lookup.
18763 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18765
47f28d0a
MF
187662013-09-28 Mike Frysinger <vapier@gentoo.org>
18767
18768 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18769
187702013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18771
18772 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18773 ${Bash-specific parameter/pattern/string} parameter expansion.
18774 * sysdeps/unix/make-syscalls.sh: Likewise.
18775
f4518a17
KK
187762013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18777
18778 * sysdeps/sh/stackguard-macros.h: New file.
18779
dc1a95c7
OB
187802013-09-26 Ondřej Bílka <neleai@seznam.cz>
18781
18782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18784 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18785 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18786 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18787 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18788
5ebbff8f
AZ
187892013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18790
18791 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18792 Fix thread ID register.
18793
4fd2cf9f
JM
187942013-09-25 Joseph Myers <joseph@codesourcery.com>
18795
18796 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18797 [POSIX || UNIX98]: Require rather than permitting all symbols from
18798 <time.h>.
18799 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18800 element of struct sched_param.
18801 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18802 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18803 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18804 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18805 constant.
18806
12c22bc4
OL
188072013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18808
18809 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18810 argument calculation.
18811
a03d8ea7
JM
188122013-09-24 Joseph Myers <joseph@codesourcery.com>
18813
18814 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18815 Expect macro.
18816 [POSIX] (pthread_attr_t): Do not require type.
18817 [POSIX] (pthread_cond_t): Likewise.
18818 [POSIX] (pthread_condattr_t): Likewise.
18819 [POSIX] (pthread_key_t): Likewise.
18820 [POSIX] (pthread_mutex_t): Likewise.
18821 [POSIX] (pthread_mutexattr_t): Likewise.
18822 [POSIX] (pthread_once_t): Likewise.
18823 [POSIX] (pthread_t): Likewise.
18824 [POSIX-based standards] (pthread_atfork): Expect function.
18825
6055173a
JM
188262013-09-24 Joseph Myers <joseph@codesourcery.com>
18827 Richard Sandiford <richard@codesourcery.com>
18828
18829 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18830 (swap_endianness_p): New extern variable.
18831 (set_big_endian): New inline function.
18832 (maybe_swap_uint32): Likewise.
18833 (maybe_swap_uint32_array): Likewise.
18834 (maybe_swap_uint32_obstack): Likewise.
18835 * locale/programs/locfile.c: Include <stdbool.h>.
18836 (swap_endianness_p): New variable.
18837 (add_locale_uint32): Call maybe_swap_uint32.
18838 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18839 (write_locale_data): Call maybe_swap_uint32_array.
18840 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18841 maybe_swap_uint32.
18842 (obstack_int32_grow_fast): Likewise.
18843 (output_weightwc): Call maybe_swap_uint32_obstack.
18844 (collate_output): Likewise.
18845 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18846 (OPT_LITTLE_ENDIAN): Likewise.
18847 (options): Add --little-endian and --big-endian options.
18848 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18849 * locale/programs/locarchive.c: Include "locfile.h".
18850 (GET): New macro.
18851 (SET): Likewise.
18852 (INC): Likewise.
18853 (create_archive): Use the new macros to access fields of
18854 structures directly mapped from or written to locale archives.
18855 (oldlocrecentcmp): Likewise.
18856 (enlarge_archive): Likewise.
18857 (insert_name): Likewise.
18858 (add_alias): Likewise.
18859 (add_locale): Likewise.
18860 (delete_locales_from_archive): Likewise.
18861 (show_archive_content): Likewise.
18862 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18863 locale data.
18864
39bf0bb4
RM
188652013-09-24 Roland McGrath <roland@hack.frob.com>
18866
18867 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18868 http://www.gnu.org/doc/freemanuals.texi.
18869 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18870
f02eed10
WN
188712013-09-24 Will Newton <will.newton@linaro.org>
18872
18873 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18874 macro.
18875
a3a6c312
JM
188762013-09-23 Joseph Myers <joseph@codesourcery.com>
18877
18878 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18879 unsigned char.
18880
107375ac
MR
188812013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18882
18883 * manual/threads.texi (POSIX Threads): Fix a typo.
18884
141f3a77
SP
188852013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18886
303e567a
SP
18887 [BZ #14547]
18888 * string/tst-strcoll-overflow.c: New test case.
18889 * string/Makefile (xtests): Add tst-strcoll-overflow.
18890 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18891 cache if string sizes may cause integer overflow.
18892
141f3a77
SP
18893 [BZ #14547]
18894 * string/strcoll_l.c (coll_seq): New members rule, idx,
18895 save_idx and back_us.
18896 (get_next_seq_nocache): New function.
18897 (do_compare_nocache): New function.
18898 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18899 when malloc fails.
18900
c61b4d41
CD
189012013-09-23 Carlos O'Donell <carlos@redhat.com>
18902
0b1f8e35
CD
18903 [BZ #15754]
18904 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18905 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18906 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18907
c61b4d41
CD
18908 [BZ #15754]
18909 * elf/Makefile (tests): Add tst-ptrguard1.
18910 (tests-static): Add tst-ptrguard1-static.
18911 (tst-ptrguard1-ARGS): Define.
18912 (tst-ptrguard1-static-ARGS): Define.
18913 * elf/tst-ptrguard1.c: New file.
18914 * elf/tst-ptrguard1-static.c: New file.
18915 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18916 * sysdeps/i386/stackguard-macros.h: Likewise.
18917 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18918 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18919 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18920 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18921 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18922 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18923
189242013-09-23 Hector Marco <hecmargi@upv.es>
18925 Ismael Ripoll <iripoll@disca.upv.es>
18926 Carlos O'Donell <carlos@redhat.com>
18927
18928 [BZ #15754]
18929 * sysdeps/generic/stackguard-macros.h: Define
18930 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18931 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18932 Define __pointer_chk_guard_local.
18933 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18934 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18935
f5f4e7b4
VV
189362013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18937
18938 [BZ #15859]
18939 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18940
5bb43a43
AS
189412013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18942
18943 * include/string.h (__ffs): Declare as hidden.
18944 * string/ffs.c (__ffs): Define as hidden.
18945 * sysdeps/i386/ffs.c (__ffs): Likewise.
18946 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18947 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18948 * sysdeps/s390/ffs.c (__ffs): Likewise.
18949 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18950
3ea5be54
AO
189512013-09-20 Alexandre Oliva <aoliva@redhat.com>
18952
ffb89e53
AO
18953 * NEWS: Mention malloc probes.
18954
322dea08
AO
18955 * malloc/arena.c (new_heap): New memory_heap_new probe.
18956 (grow_heap): New memory_heap_more probe.
18957 (shrink_heap): New memory_heap_less probe.
18958 (heap_trim): New memory_heap_free probe.
18959 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18960 (systrim): New memory_sbrk_less probe.
18961 * manual/probes.texi: Document them.
18962
655673f3
AO
18963 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18964 * manual/probes.texi: Document it.
18965
35fed6f1
AO
18966 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18967 (__libc_realloc): Add memory_realloc_retry probe.
18968 (__libc_memalign): Add memory_memalign_retry probe.
18969 (__libc_valloc): Add memory_valloc_retry probe.
18970 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18971 (__libc_calloc): Add memory_calloc_retry probe.
18972 * manual/probes.texi: Document them.
18973
6999d38c
AO
18974 * malloc/arena.c (get_free_list): Add probe
18975 memory_arena_reuse_free_list.
18976 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18977 and memory_arena_reuse.
18978 (arena_get2) [!PER_THREAD]: Likewise.
18979 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18980 memory_arena_reuse_realloc.
18981 * manual/probes.texi: Document them.
18982
0653427f
AO
18983 * malloc/malloc.c (__libc_free): Add
18984 memory_mallopt_free_dyn_thresholds probe.
18985 (__libc_mallopt): Add multiple memory_mallopt probes.
18986 * manual/probes.texi: Document them.
18987
3ea5be54
AO
18988 * malloc/malloc.c: Include stap-probe.h.
18989 (__libc_mallopt): Add memory_mallopt probe.
18990 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18991 * manual/probes.texi: New.
18992 * manual/Makefile (chapters): Add probes.
18993 * manual/threads.texi: Set next node.
18994
e35696c3 189952013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18996
e35696c3
CL
18997 [BZ #15963, #13985]
18998 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18999 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19000 Add `Chinese' to `nan' entry name.
19001
4aafb73c
SP
190022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19003
19004 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19005 (POLYNOMIAL): Likewise.
19006 (TAYLOR_SINCOS): Likewise.
19007 (TAYLOR_SLOW): Likewise.
19008 (__sin): Use TAYLOR_SINCOS.
19009 (__cos): Likewise.
19010 (slow): Use TAYLOR_SLOW.
19011 (sloww): Likewise.
19012 (bsloww): Likewise.
19013 (csloww): Likewise.
19014
d84f25c7
LD
190152013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19016
19017 * stdlib/strtod_l.c: Fix buffer overrun.
19018
5eea0404
SP
190192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19020
7849ff93
SP
19021 * benchtests/Makefile (bench): Add sincos.
19022 * benchtests/bench-sincos.c: New file.
19023
cfa3c886
SP
19024 * math/libm-test.inc (cos_test_data): New test inputs.
19025 (sin_test_data): Likewise.
19026
b348e1e3
SP
19027 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19028 macro.
19029 (__sin): Use it.
19030 (__cos): Likewise.
19031 (slow1): Likewise.
19032 (slow2): Likewise.
19033 (sloww1): Likewise.
19034 (sloww2): Likewise.
19035 (bsloww1): Likewise.
19036 (bsloww2): Likewise.
19037 (cslow2): Likewise.
19038 (csloww1): Likewise.
19039 (csloww2): Likewise.
19040
6cce25f8
SP
19041 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19042 function.
19043 (__sin): Use it.
19044 (__cos): Likewise.
19045
5eea0404
SP
19046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19047 gotos.
19048 (__cos): Likewise.
19049
9c21573c
MR
190502013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19051
19052 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19053 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19054 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19055 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19056 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19057 * elf/cache.c (print_entry): Handle the new cache flags.
19058
24d22e65
JM
190592013-09-18 Joseph Myers <joseph@codesourcery.com>
19060 Aldy Hernandez <aldyh@redhat.com>
19061
19062 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19063 Change condition to [_SOFT_FLOAT].
19064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19076 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19079 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19080 declaration.
19081
d13ef066
JM
190822013-09-18 Joseph Myers <joseph@codesourcery.com>
19083
2e071de0
JM
19084 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19085 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19086 (__longjmp): Use LOAD_GP to load saved GPRs.
19087 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19088 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19089 (__sigsetjmp): Use SAVE_GP to save GPRs.
19090
d13ef066
JM
19091 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19092 Do not append -msoft-float.
19093 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19094
97a0650b
SP
190952013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19096
19097 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19098
11ca09e9
JM
190992013-09-17 Joseph Myers <joseph@codesourcery.com>
19100
19101 [BZ #15966]
19102 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19103 (_FPU_GETCW): Use initial "__" on variable and field names but not
19104 on macro parameter name.
19105 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19106 parentheses around reference to macro parameter.
19107
08ffcf34
RS
191082013-09-13 Richard Sandiford <richard@codesourcery.com>
19109
19110 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19111 prototype.
19112 (ctype_startup): Use uint32_t in cast and sizeof for
19113 ctype->charnames.
19114
ae7080d3
JL
191152013-09-11 Jia Liu <proljc@gmail.com>
19116
19117 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19118 __daddr_t_defined.
19119 [__FreeBSD__]: Likewise.
19120
5905e7b3
OB
191212013-09-11 Ondřej Bílka <neleai@seznam.cz>
19122
19123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19124 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19125 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19126 (strchr): Remove __strchr_sse42 ifunc selection.
19127 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19128 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19129
b987c776
WN
191302013-09-11 Will Newton <will.newton@linaro.org>
19131
19132 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19133 parameter to RES. Remove hardcoded 1000 value.
19134 * benchtests/bench-skeleton.c (main): Pass RES parameter
19135 to TIMING_INIT and multiply result by 1000.
19136
ddf985af
AZ
191372013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19138
19139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19140
ffdd3181
AS
191412013-09-11 Andreas Schwab <schwab@suse.de>
19142
19143 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19144 if not defined.
19145 (O_TMPFILE) [__USE_GNU]: Define.
19146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19147 Define.
19148
b73ed247
WN
191492013-09-11 Will Newton <will.newton@linaro.org>
19150
19151 [BZ #15857]
19152 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19153 does not overflow.
19154
55e17aad
WN
191552013-09-11 Will Newton <will.newton@linaro.org>
19156
19157 [BZ #15856]
19158 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19159 does not overflow.
19160
1159a193
WN
191612013-09-11 Will Newton <will.newton@linaro.org>
19162
19163 [BZ #15855]
19164 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19165 does not overflow.
19166
5905e7b3 191672013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19168
19169 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19170 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19171 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19172 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19173 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19174
cdfc721b
AM
191752013-09-10 Allan McRae <allan@archlinux.org>
19176
aa04af00
AM
19177 [BZ #15748]
19178 * manual/arith.texi (Parsing of Floats): Clarify
19179 cross-reference.
19180
cdfc721b
AM
19181 [BZ #15849]
19182 * manual/install.texi (Running make install): Mention
19183 --enable-pt-chown.
19184 * INSTALL: Regenerated.
19185
95e7cf29
MR
191862013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19187
19188 * csu/init-first.c (_init): Remove the !SHARED condition around
19189 FPU control word initialization.
19190 * elf/dl-support.c (_dl_fpu_control): New variable.
19191 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19192 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19193 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19194 * math/test-fpucw-static.c: New file.
19195 * math/test-fpucw-ieee.c: New file.
19196 * math/test-fpucw-ieee-static.c: New file.
19197 * math/Makefile (tests): Add `test-fpucw-ieee' and
19198 `$(tests-static)'.
19199 (tests-static): New variable.
19200 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19201 dependency to...
19202 [($(build-shared),yes)]
19203 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19204 ... this.
19205 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19206 New dependency.
19207
83e43bf0
AM
192082013-09-09 Allan McRae <allan@archlinux.org>
19209
a9f5ce09
AM
19210 [BZ #15939]
19211 * manual/string.texi (Collation Functions): Fix typo in
19212 strcoll example.
19213 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19214
34829bc2
AM
19215 [BZ #15893]
19216 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19217
3932737d
AM
19218 [BZ #15892]
19219 * libio/memstream.c (open_memstream): Fix memory leak.
19220 * libio/wmemstream.c (open_wmemstream): Likewise.
19221
83e43bf0
AM
19222 [BZ #15895]
19223 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19224
0c66b8e9
WN
192252013-09-09 Will Newton <will.newton@linaro.org>
19226
19227 * malloc/Makefile: Add tst-realloc to tests.
19228 * malloc/tst-realloc.c: New file.
19229
f6b00fd1
AM
192302013-09-09 Allan McRae <allan@archlinux.org>
19231
19232 [BZ #15844]
19233 * COPYING: Update from GNU website to fix FSF address.
19234 * COPYING.LIB: Likewise.
19235
eec55e16
DM
192362013-09-06 David S. Miller <davem@davemloft.net>
19237
19238 * po/zh_TW.po: Update Chinese (traditional) translation from
19239 translation project.
19240
1ecbb381
RS
192412013-09-06 Richard Sandiford <richard@codesourcery.com>
19242 Joseph Myers <joseph@codesourcery.com>
19243
19244 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19245 "localeinfo.h".
19246 (obstack_chunk_alloc): New macro.
19247 (obstack_chunk_free): Likewise.
19248 (record_offset): New function.
19249 (init_locale_data): Likewise.
19250 (align_locale_data): Likewise.
19251 (add_locale_empty): Likewise.
19252 (add_locale_raw_data): Likewise.
19253 (add_locale_raw_obstack): Likewise.
19254 (add_locale_string): Likewise.
19255 (add_locale_wstring): Likewise.
19256 (add_locale_uint32): Likewise.
19257 (add_locale_uint32_array): Likewise.
19258 (add_locale_char): Likewise.
19259 (start_locale_structure): Likewise.
19260 (end_locale_structure): Likewise.
19261 (start_locale_prelude): Likewise.
19262 (end_locale_prelude): Likewise.
19263 (write_locale_data): Take locale_file structure rather than an
19264 iovec.
19265 * locale/programs/locfile.h: Include "obstack.h".
19266 (struct locale_file): Change to store locale file contents instead
19267 of header.
19268 (init_locale_data): New prototype.
19269 (align_locale_data): Likewise.
19270 (add_locale_empty): Likewise.
19271 (add_locale_raw_data): Likewise.
19272 (add_locale_raw_obstack): Likewise.
19273 (add_locale_string): Likewise.
19274 (add_locale_wstring): Likewise.
19275 (add_locale_uint32): Likewise.
19276 (add_locale_uint32_array): Likewise.
19277 (add_locale_char): Likewise.
19278 (start_locale_structure): Likewise.
19279 (end_locale_structure): Likewise.
19280 (start_locale_prelude): Likewise.
19281 (end_locale_prelude): Likewise.
19282 (write_locale_data): Update prototype.
19283 * locale/programs/3level.h (struct TABLE): Remove result field.
19284 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19285 Use new locale_file interface.
19286 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19287 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19288 * locale/programs/ld-address.c (address_output): Use new
19289 locale_file interface.
19290 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19291 NO_ADD_LOCALE.
19292 (collate_finish): Don't call collseq_table_finalize.
19293 (collate_output): Use new locale_file interface.
19294 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19295 in file.
19296 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19297 (TABLE): Move defines earlier in file.
19298 (ELEMENT): Likewise.
19299 (DEFAULT): Likewise.
19300 (wctrans_table_add): Move macro and inline function earlier in
19301 file.
19302 (struct wctype_table): Move type earlier in file.
19303 (add_locale_wctype_table): New static prototype.
19304 (struct locale_ctype_t): Use logical types instead of struct iovec
19305 pointers for members.
19306 (ctype_output): Use new locale_file interface.
19307 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19308 new locale_file interface.
19309 (allocate_arrays): Update for use of new locale_file interface.
19310 * locale/programs/ld-identification.c (identification_output): Use
19311 new locale_file interface.
19312 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19313 * locale/programs/ld-messages.c (messages_output): Likewise.
19314 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19315 * locale/programs/ld-name.c (name_output): Likewise.
19316 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19317 * locale/programs/ld-paper.c (paper_output): Likewise.
19318 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19319 * locale/programs/ld-time.c (time_output): Likewise.
19320
e029e2e5
AZ
193212013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19322
19323 * benchtests/Makefile: Add memrchr benchmark.
19324 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19325 benchmark as memrchr.
19326 * benchtests/bench-memrchr-ifunc.c: New file.
19327 * benchtests/bench-memrchr.c: New file.
19328
bbf6e8e4
WN
193292013-09-06 Will Newton <will.newton@linaro.org>
19330
19331 * benchtests/Makefile (string-bench): Add memcpy.
19332
6c82a2f8
CD
193332013-09-05 Carlos O'Donell <carlos@redhat.com>
19334 Cong Wang <amwang@redhat.com>
19335
e732c5f0 19336 [BZ #15850]
6c82a2f8
CD
19337 * sysdeps/unix/sysv/linux/bits/in.h
19338 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19339 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19340 before __USE_KERNEL_IPV6_DEFS uses.
19341 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19342 IPPROTO_BEETPH.
19343 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19344 sockaddr_in6, or ipv6_mreq.
19345
5430fc65
AZ
193462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19347
19348 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19349 memory access for final bytes in some large inputs.
19350 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19351
4660856c
AZ
193522013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19353
19354 * string/test-memrchr.c: New file.
19355 * string/test-memrchr-ifunc.c: New file.
19356 * string/Makefile: Add new memrchr testcase.
19357
bb8ea713
MF
193582013-09-05 Mike Frysinger <vapier@gentoo.org>
19359
19360 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19361 fanotify_init returns EPERM.
19362
b92a20b5
JM
193632013-09-04 Joseph Myers <joseph@codesourcery.com>
19364
19365 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19366 errors.
19367 (top level): Treat second token from macro or constant entries for
19368 allowed headers as allowed.
19369 * include/complex.h: Condition internal declarations on
19370 [!_ISOMAC].
19371 * include/fenv.h: Condition include of <stdbool.h> and internal
19372 declarations on [!_ISOMAC].
7447ccd9
CL
19373
193742013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19375
3e181dda 19376 [BZ #15923]
7447ccd9
CL
19377 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19378
3f2e46a4
JM
193792013-09-04 Joseph Myers <joseph@codesourcery.com>
19380
19381 * configure.in (--enable-versioning): Remove configure option.
19382 (libc_cv_asm_symver_directive): Remove configure test.
19383 (libc_cv_ld_version_script_option): Likewise.
19384 (VERSIONING): Remove variable and AC_SUBST.
19385 (DO_VERSIONING): Remove AC_DEFINE.
19386 * configure: Regenerated.
19387 * config.h.in (DO_VERSIONING): Remove macro.
19388 * Makerules [$(versioning) = yes]: Change conditionals to
19389 [$(build-shared) = yes].
19390 * config.make.in (versioning): Remove variable.
19391 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19392 [$(build-shared) = yes].
19393 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19394 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19395 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19396 [$(build-shared) = yes].
19397 * extra-lib.mk [$(versioning) = yes]: Likewise.
19398 * hurd/Makefile [$(versioning) = yes]: Likewise.
19399 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19400 [SHARED].
19401 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19402 [SHARED].
19403 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19404 [SHARED && !NO_HIDDEN].
19405 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19406 [SHARED].
19407 [SHARED && DO_VERSIONING]: Likewise..
19408 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19409 [$(build-shared) = yes].
19410 * manual/install.texi (--disable-versioning): Remove
19411 documentation.
19412 * INSTALL: Regenerated.
19413 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19414 to [SHARED].
19415 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19416 [$(build-shared) = yes].
19417 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19418 * sysdeps/i386/i686/multiarch/strstr-c.c
19419 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19420 [SHARED && !NO_HIDDEN].
19421 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19422 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19423 * sysdeps/powerpc/powerpc32/dl-machine.c
19424 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19425 * sysdeps/powerpc/powerpc32/sysdep.h
19426 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19427 to [SHARED && PIC && !NO_HIDDEN].
19428 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19429 conditional to [SHARED].
19430
44558701
WN
194312013-09-04 Will Newton <will.newton@linaro.org>
19432
19433 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19434 * benchtests/bench-string.h: Include bench-timing.h instead
19435 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19436 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19437 call to HP_TIMING_DIFF_INIT.
19438 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19439 instead of hp-timing.h macros.
19440 * benchtests/bench-memchr.c: Likewise.
19441 * benchtests/bench-memcmp.c: Likewise.
19442 * benchtests/bench-memcpy.c: Likewise.
19443 * benchtests/bench-memmem.c: Likewise.
19444 * benchtests/bench-memmove.c: Likewise.
19445 * benchtests/bench-memset.c: Likewise.
19446 * benchtests/bench-rawmemchr.c: Likewise.
19447 * benchtests/bench-strcasecmp.c: Likewise.
19448 * benchtests/bench-strcasestr.c: Likewise.
19449 * benchtests/bench-strcat.c: Likewise.
19450 * benchtests/bench-strchr.c: Likewise.
19451 * benchtests/bench-strcmp.c: Likewise.
19452 * benchtests/bench-strcpy.c: Likewise.
19453 * benchtests/bench-strcpy_chk.c: Likewise.
19454 * benchtests/bench-strlen.c: Likewise.
19455 * benchtests/bench-strncasecmp.c: Likewise.
19456 * benchtests/bench-strncat.c: Likewise.
19457 * benchtests/bench-strncmp.c: Likewise.
19458 * benchtests/bench-strncpy.c: Likewise.
19459 * benchtests/bench-strnlen.c: Likewise.
19460 * benchtests/bench-strpbrk.c: Likewise.
19461 * benchtests/bench-strrchr.c: Likewise.
19462 * benchtests/bench-strspn.c: Likewise.
19463 * benchtests/bench-strstr.c: Likewise.
19464
cae16d66
WN
194652013-09-04 Will Newton <will.newton@linaro.org>
19466
19467 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19468
ffa3cd7f
JM
194692013-09-03 Joseph Myers <joseph@codesourcery.com>
19470
19471 [BZ #15427]
19472 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19473 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19474 * math/libm-test.inc (lgamma_test_data): Add more tests.
19475 * sysdeps/i386/fpu/libm-test-ulps: Update.
19476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19477
8f02859f
OB
194782013-09-03 Ondřej Bílka <neleai@seznam.cz>
19479
19480 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19482 Add ifunc.
19483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19484 Add strcmp-sse2-unaligned
19485 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19486
18d43716
MF
194872013-09-02 Mike Frysinger <vapier@gentoo.org>
19488
19489 * Versions.def (libc): Add GLIBC_2.19.
19490
ac444012
MF
194912013-09-02 Mike Frysinger <vapier@gentoo.org>
19492
19493 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19494 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19495
b7835e32
JM
194962013-09-02 Joseph Myers <joseph@codesourcery.com>
19497
19498 [BZ #14155]
19499 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19500 intermediate calculations in recurrence.
19501 (__ieee754_ynf): Likewise.
19502 * math/libm-test.inc (jn_test_data): Do not allow spurious
19503 underflow exception. Add more tests.
19504 (yn_test_data): Add more tests.
19505 * sysdeps/i386/fpu/libm-test-ulps: Update.
19506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19507
8220f4f0
OB
195082013-09-02 Ondřej Bílka <neleai@seznam.cz>
19509
19510 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19511
f24a6d08
OB
195122013-08-30 Ondřej Bílka <neleai@seznam.cz>
19513
19514 * csu/init-first.c: Fix then/than typos.
19515 * locale/programs/ld-collate.c: Likewise.
19516 * locale/programs/linereader.h: Likewise.
19517 * manual/charset.texi: Likewise.
19518 * manual/filesys.texi: Likewise.
19519 * manual/stdio.texi: Likewise.
19520 * manual/string.texi: Likewise.
19521 * stdlib/fmtmsg.c: Likewise.
19522 * sysdeps/i386/stpncpy.S: Likewise.
19523 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19524 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19525 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19526 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19527
382466e0
OB
195282013-08-30 Ondřej Bílka <neleai@seznam.cz>
19529
19530 * elf/dl-open.c: Fix typos.
19531 * iconvdata/gbbig5.c: Likewise.
19532 * iconvdata/iso-2022-jp.c: Likewise.
19533 * iconv/gconv_int.h: Likewise.
19534 * iconv/loop.c: Likewise.
19535 * nis/rpcsvc/nis.h: Likewise.
19536 * resolv/ns_name.c: Likewise.
19537 * stdio-common/vfscanf.c: Likewise.
19538 * streams/stropts.h: Likewise.
19539 * sunrpc/rpc_thread.c: Likewise.
19540 * sysdeps/i386/strpbrk.S: Likewise.
19541 * sysdeps/ieee754/k_standard.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19544 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19545 * sysdeps/mach/hurd/profil.c: Likewise.
19546 * sysdeps/s390/dl-procinfo.h: Likewise.
19547 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19548 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19549 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19550 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19551 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19552
0186c6e9
OB
195532013-08-30 Ondřej Bílka <neleai@seznam.cz>
19554
19555 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19557
d4e16af1
OB
195582013-08-29 Ondřej Bílka <neleai@seznam.cz>
19559
19560 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19561 aix specific files.
19562 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19563 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19564 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19565 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19566 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19567 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19568 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19569 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19570
88335980
TS
195712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19572 Roland McGrath <roland@hack.frob.com>
19573
19574 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19575 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19576
ed479b02
ST
195772013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19578
19579 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19580 __executable_start symbol instead of _start.
19581
f1cc4c86
TS
195822013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19583
d821f07c
TS
19584 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19585 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19586 Move macros to...
19587 * sysdeps/gnu/ldsodefs.h: ... this new file.
19588
c54290cf
TS
19589 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19590 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19591 instead of ELFOSABI_LINUX.
19592
0007fc9b 19593 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19594 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19595 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19596 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19597 Likewise.
19598 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19599 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19600 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19601 Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19603 (ibm_extended_long_double): Add ieee_nan member.
19604 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19605 (do_test): New function.
19606
f1cc4c86
TS
19607 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19608 TEST_TRUNC.
19609 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19610 functions, renamed from truncdfsf_test, trunctfsf_test,
19611 trunctfdf_test.
19612 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19613 functions.
19614 (do_test): Run all these.
19615
6f65e668
OB
196162013-08-29 Ondřej Bílka <neleai@seznam.cz>
19617
19618 * argp/argp-help.c: Fix typos.
19619 * argp/argp-parse.c: Likewise.
19620 * debug/backtracesyms.c: Likewise.
19621 * elf/elf.h: Likewise.
19622 * malloc/malloc.c: Likewise.
19623 * nis/nis_print.c: Likewise.
19624 * resolv/res_comp.c: Likewise.
19625 * stdlib/stdlib.h: Likewise.
19626 * sunrpc/clnt_tcp.c: Likewise.
19627 * sunrpc/clnt_udp.c: Likewise.
19628 * sunrpc/clnt_unix.c: Likewise.
19629 * sysdeps/unix/bsd/ptsname.c: Likewise.
19630 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19631 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19633 Likewise.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19635 Likewise.
19636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19637 Likewise.
6f65e668
OB
19638 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19639
3a309239
SP
196402013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19641
19642 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19644
3b813b29
MF
196452013-08-27 Mike Frysinger <vapier@gentoo.org>
19646
19647 [BZ #15897]
19648 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19649 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19650 ($(objpfx)bug-dl-leaf): New rule.
19651 ($(objpfx)bug-dl-leaf.so): Likewise.
19652 ($(objpfx)bug-dl-leaf.out): Likewise.
19653 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19654 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19655 * dlfcn/bug-dl-leaf.c: New test.
19656 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19657 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19658 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19659 (dlclose): Likewise.
19660 (dlmopen): Likewise.
19661
8cc3269f
RM
196622013-08-27 Roland McGrath <roland@hack.frob.com>
19663
7f9d0034
RM
19664 * include/netdb.h [!_ISOMAC]:
19665 Don't include <tls.h>.
19666 (h_errno, __libc_h_errno): Move declaration and macros out of
19667 [_LIBC_REENTRANT].
19668
fb431262
RM
19669 * include/resolv.h [_RESOLV_H_]:
19670 Don't include <tls.h>.
19671 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19672 * resolv/res_libc.c: Don't include <tls.h>.
19673 (_res): Use __attribute__ ((nocommon)) in place of
19674 __attribute__ ((section (".bss"))).
19675
bd81123a
RM
19676 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19677 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19678
c4e42566
RM
19679 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19680
f890a59b
RM
19681 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19682 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19683
19684 * resolv/res_mkquery.c: Include <sys/time.h>.
19685
5d1f0a09
RM
19686 * inet/ifreq.c: Moved to ...
19687 * sysdeps/unix/ifreq.c: ... here.
19688 * inet/ifreq.c: New file, true stub version.
19689
6fcf28b3
RM
19690 * socket/sa_len.c: New file.
19691 * socket/Makefile (aux): Add it.
19692 * sysdeps/unix/sysv/linux/Makefile
19693 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19694 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19695 and #include <socket/sa_len.c>.
19696 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19697 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19698
e041fb8b
RM
19699 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19700 * bits/socket.h: ... here.
19701
8cc3269f
RM
19702 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19703 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19704 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19705
5d228a43
AS
197062013-08-27 Andreas Schwab <schwab@suse.de>
19707
45b8accc
AS
19708 [BZ #15736]
19709 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19710 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19711 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19712 * string/test-strcasecmp.c (test_main): Run tests in several
19713 locales.
19714 * string/test-strncasecmp.c (test_main): Likewise.
19715
5d228a43
AS
19716 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19717 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19718 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19720 (__strncasecmp_ssse3) [PIC]: Likewise.
19721
59d112a4
RM
197222013-08-26 Roland McGrath <roland@hack.frob.com>
19723
53234cc3
RM
19724 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19725
59d112a4
RM
19726 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19727 instead of explicitly declaring xdecrypt.
19728 * nis/nss_nis/nis-publickey.c: Likewise.
19729
595aba70
SP
197302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19731
19732 [BZ #15890]
19733 * nscd/aicache.c: Include res_hconf.h.
19734 (addhstaiX): Initialize res_hconf.
19735
ffabd393
AS
197362013-08-26 Andreas Schwab <schwab@suse.de>
19737
19738 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19739 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19740
e0a69f5c
SP
197412013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19742
19743 * nscd/aicache.c (addhstaiX): Fix indentation.
19744
8c12f01d
MF
197452013-08-25 Mike Frysinger <vapier@gentoo.org>
19746
19747 * configure.ac: Quote $build_pt_chown test.
19748 * configure: Regenerated.
19749
8fe89494
JM
197502013-08-23 Joseph Myers <joseph@codesourcery.com>
19751
19752 [BZ #15532]
19753 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19754 * math/s_cexpf.c (__cexpf): Likewise.
19755 * math/s_cexpl.c (__cexpl): Likewise.
19756 * math/libm-test.inc (cexp_test_data): Correct expected return
19757 value for NaN + i0. Add another test.
19758
75b181d6
DM
197592013-08-22 David S. Miller <davem@davemloft.net>
19760
19761 * po/ca.po: Update Catalan translation from translation project.
936241e4 19762 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19763
acd06bb1
JM
197642013-08-21 Joseph Myers <joseph@codesourcery.com>
19765
19766 [BZ #15797]
19767 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19768 is infinite, not alongside NaN test.
19769 * math/s_fdimf.c (__fdimf): Likewise.
19770 * math/s_fdiml.c (__fdiml): Likewise.
19771 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19772 errno is unchanged.
19773
c0c3f78a
OB
197742013-08-21 Ondřej Bílka <neleai@seznam.cz>
19775
19776 * argp/argp-help.c: Fix typos.
19777 * crypt/speeds.c: Likewise.
19778 * csu/check_fds.c: Likewise.
19779 * elf/dl-load.c: Likewise.
19780 * elf/dl-open.c: Likewise.
19781 * elf/reldep3.c: Likewise.
19782 * elf/reldep.c: Likewise.
19783 * elf/sprof.c: Likewise.
19784 * iconv/iconv_charmap.c: Likewise.
19785 * iconv/skeleton.c: Likewise.
19786 * iconv/strtab.c: Likewise.
19787 * io/lockf64.c: Likewise.
19788 * libio/libioP.h: Likewise.
19789 * resolv/gai_notify.c: Likewise.
19790 * resolv/ns_name.c: Likewise.
19791 * resolv/ns_samedomain.c: Likewise.
19792 * resolv/res_send.c: Likewise.
19793 * stdlib/random.c: Likewise.
19794 * sunrpc/rpc/xdr.h: Likewise.
19795 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19796 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19797 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19798 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19799 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19800 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19802 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19803 * sysdeps/mach/hurd/check_fds.c: Likewise.
19804 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19805 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19806 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19807 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19808 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19809 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19810 * sysdeps/pthread/aio_notify.c: Likewise.
19811 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19812 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19813 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19814 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19815 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19816
46ed1038
LD
198172013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19818
19819 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19820 version if bit_Slow_SSE4_2 is set.
19821 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19822 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19823
d400dcac
AZ
198242013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19825
19826 [BZ #15867]
19827 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19828 trampoline stack frame information.
19829 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19830 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19831 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19832 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19833 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19834 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19835 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19836 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19837 sa_flags value.
19838 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19839 interrupting a syscall and set with option SA_SIGINFO.
19840
42c8fdd8
JM
198412013-08-20 Joseph Myers <joseph@codesourcery.com>
19842
c980f2f4
JM
19843 [BZ #15531]
19844 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19845 argument is infinite.
19846 * math/s_cprojf.c (__cprojf): Likewise.
19847 * math/s_cprojl.c (__cprojl): Likewise.
19848 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19849 * math/libm-test.inc (cproj_test_data): Add more tests.
19850
0716c4fc
JM
19851 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19852
42c8fdd8
JM
19853 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19854 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19855 size. Use __ffs to determine corresponding shift.
19856
b31469d0
JM
198572013-08-20 Joseph Myers <joseph@codesourcery.com>
19858 Roland McGrath <roland@hack.frob.com>
19859
19860 * Makefile (INSTALL): Remove trailing blank lines from output of
19861 makeinfo.
19862
4e39af6e
AK
198632013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19864
19865 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19866 Align 32 bit compat elf_greg to 8 bytes.
19867
f315524e
AA
198682013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19869
19870 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19871
1326ba1a
SP
198722013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19873
19874 * string/strcoll_l.c (coll_seq): New structure.
19875 (get_next_seq_cached): New function.
19876 (get_next_seq): New function.
19877 (do_compare): New function.
19878 (STRCOLL): Use GNU style definition. Simplify implementation
19879 by using get_next_seq, get_next_seq_cached and do_compare.
19880
91ce4085
FW
198812013-08-16 Florian Weimer <fweimer@redhat.com>
19882
19883 [BZ #14699]
19884 CVE-2013-4237
19885 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19886 member.
19887 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19888 member.
19889 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19890 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19891 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19892 conditional.
19893 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19894 GETDENTS_64BIT_ALIGNED.
19895 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19896 * manual/filesys.texi (Reading/Closing Directory): Document
19897 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19898 strongly.
19899 * manual/conf.texi (Limits for Files): Add portability note to
19900 NAME_MAX, PATH_MAX.
19901 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19902
ca0a6bc4
AS
199032013-08-13 Andreas Schwab <schwab@suse.de>
19904
19905 [BZ #15749]
19906 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19907 of fabs.
19908 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19909 LDBL_MAX_EXP >= 16384]: Add tests for it.
19910
6c1fd795
DM
199112013-08-12 David S. Miller <davem@davemloft.net>
19912
19913 * version.h (RELEASE): Set to "development".
19914 (VERSION): Set to "2.18.90".
19915 * NEWS: Add 2.19 section.
19916
31ad488d
DM
199172013-08-03 David S. Miller <davem@davemloft.net>
19918
19919 * po/ko.po: Update Korean translation from translation project.
19920
db24e684
DM
199212013-08-01 David S. Miller <davem@davemloft.net>
19922
19923 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19924 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19925 Bilka.
19926
f723285b
DM
199272013-07-30 David S. Miller <davem@davemloft.net>
19928
19929 * po/fr.po: Update French translation from translation project.
19930
3cbc52db
DM
199312013-07-28 David S. Miller <davem@davemloft.net>
19932
30bbc0cc
DM
19933 * po/cs.po: Update Czech translation from translation project.
19934
3cbc52db
DM
19935 * po/sv.po: Update Swedish translation from translation project.
19936
d492e6d0
DM
199372013-07-27 David S. Miller <davem@davemloft.net>
19938
f1a7f492
DM
19939 * po/eo.po: Update Esperanto translation from translation project.
19940
90e62a4a
DM
19941 * po/vi.po: Update Vietnamese translation from translation project.
19942
d492e6d0
DM
19943 * po/de.po: Update German translation from translation project.
19944
d4baa62d
DM
199452013-07-26 David S. Miller <davem@davemloft.net>
19946
641aa7b4
DM
19947 * po/bg.po: Update Bulgarian translation from translation project.
19948
d4baa62d
DM
19949 * po/nl.po: Update Dutch translation from translation project.
19950 * po/pl.po: Update Polish translation from translation project.
19951 * po/ru.po: Update Russian translation from translation project.
19952
61a9dcb9
DM
199532013-07-24 David S. Miller <davem@davemloft.net>
19954
19955 * po/libc.pot: Update.
19956
7b1f8b58
AZ
199572013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19958
19959 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19960 variable page size.
19961 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19962 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19963 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19964
a8fc7a03
AK
199652013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19966
19967 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19968
e4608715
CD
199692013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19970 Andreas Schwab <schwab@suse.de>
19971 Roland McGrath <roland@hack.frob.com>
19972 Joseph Myers <joseph@codesourcery.com>
19973 Carlos O'Donell <carlos@redhat.com>
19974
19975 [BZ #15755]
19976 * config.h.in: Define HAVE_PT_CHOWN.
19977 * config.make.in (build-pt-chown): New variable.
19978 * configure.in (--enable-pt_chown): New configure option.
19979 * configure: Regenerate.
19980 * login/Makefile: Include Makeconfig. Build pt_chown only if
19981 build-pt-chown is enabled.
19982 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19983 pt_chown to fix pty ownership.
19984 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19985 CLOSE_ALL_FDS.
19986 * manual/install.texi (Configuring and compiling): Mention
19987 --enable-pt_chown. Add @findex for grantpt.
19988 * INSTALL: Regenerate.
19989
da2d62df
DM
199902013-07-20 David S. Miller <davem@davemloft.net>
19991
19992 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19993 difference between 32-bit and 64-bit.
19994
d7e06450
CD
199952013-07-15 Carlos O'Donell <carlos@redhat.com>
19996
19997 [BZ #15711]
19998 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19999 Avoid system header dependency with -ffreestanding.
20000 ($(objpfx)bits/syscall%d): Likewise.
20001
f959cfd7
DM
200022013-07-13 David S. Miller <davem@davemloft.net>
20003
20004 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20005 underflows from atanl/atan2l due to bug 15319.
20006 (casinh_test_data): Likewise.
20007
c61f8513
DM
200082013-07-07 David S. Miller <davem@davemloft.net>
20009
20010 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20011
72c90ed0
JA
200122013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20013
20014 * sysdeps/i386/fpu/libm-test-ulps: Update.
20015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20016
52dfbe13
SP
200172013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20018
20019 * configure.in (--enable-lock-elision): Fix message text.
20020 * INSTALL: Regenerate.
20021 * configure: Regenerate.
20022
3f169543
AZ
200232013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20024
20025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20026
521c6785
AJ
200272013-07-03 Andreas Jaeger <aj@suse.de>
20028
20029 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20030 define.
20031 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20032 (ptrace_peeksiginfo_args): Add.
20033 (__ptrace_peeksiginfo_flags): Add.
20034 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20035 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20037
d2cc15cb
AM
200382013-07-03 Allan McRae <allan@archlinux.org>
20039
20040 * sysdeps/i386/fpu/libm-test-ulps: Update.
20041
3aaeeca7
DM
200422013-07-02 David S. Miller <davem@davemloft.net>
20043
20044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20045
5314ed1a
MT
200462013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20047
20048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20049
67338156
JM
200502013-07-02 Joseph Myers <joseph@codesourcery.com>
20051
20052 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20054
1717da59
AK
200552013-07-02 Andi Kleen <ak@linux.intel.com>
20056
20057 * config.h.in (ENABLE_LOCK_ELISION): Add.
20058 * configure.in (--enable-lock-elision): Add option.
20059 * manual/install.texi: Document --enable lock elision.
20060 * configure: Regenerate
20061 * INSTALL: Regenerate.
20062
1c81621c
L
200632013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20064
20065 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20066 SSE4.2 strcasecmp for libc.a.
20067 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20068
77f01ab5
JM
200692013-07-02 Joseph Myers <joseph@codesourcery.com>
20070
20071 [BZ #13304]
20072 * soft-fp/op-common.h (_FP_FMA): New macro.
20073 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20074 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20075 (_FP_MUL_MEAT_1_imm): ... here.
20076 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20077 (_FP_MUL_MEAT_1_wide): ... here.
20078 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20079 (_FP_MUL_MEAT_1_hard): ... here.
20080 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20081 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20082 (_FP_MUL_MEAT_2_wide): ... here.
20083 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20084 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20085 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20086 (_FP_MUL_MEAT_2_gmp): ... here.
20087 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20088 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20089 (_FP_MUL_MEAT_4_wide): ... here.
20090 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20091 (_FP_MUL_MEAT_4_gmp): ... here.
20092 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20093 (_FP_WFRACBITS_DW_S): Likewise.
20094 (_FP_WFRACXBITS_DW_S): Likewise.
20095 (_FP_HIGHBIT_DW_S): Likewise.
20096 (FP_FMA_S): Likewise.
20097 (_FP_FRAC_HIGH_DW_S): Likewise.
20098 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20099 (_FP_WFRACBITS_DW_D): Likewise.
20100 (_FP_WFRACXBITS_DW_D): Likewise.
20101 (_FP_HIGHBIT_DW_D): Likewise.
20102 (FP_FMA_D): Likewise.
20103 (_FP_FRAC_HIGH_DW_D): Likewise.
20104 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20105 (_FP_WFRACBITS_DW_E): Likewise.
20106 (_FP_WFRACXBITS_DW_E): Likewise.
20107 (_FP_HIGHBIT_DW_E): Likewise.
20108 (FP_FMA_E): Likewise.
20109 (_FP_FRAC_HIGH_DW_E): Likewise.
20110 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20111 (_FP_WFRACBITS_DW_Q): Likewise.
20112 (_FP_WFRACXBITS_DW_Q): Likewise.
20113 (_FP_HIGHBIT_DW_Q): Likewise.
20114 (FP_FMA_Q): Likewise.
20115 (_FP_FRAC_HIGH_DW_Q): Likewise.
20116 * soft-fp/fmasf4.c: New file.
20117 * soft-fp/fmadf4.c: Likewise.
20118 * soft-fp/fmatf4.c: Likewise.
20119
6308fd9a
LD
201202013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20121
20122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20123 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20124 Silvermont.
20125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20126 macro.
20127 (index_Slow_SSE4_2): Likewise.
20128 (index_Prefer_PMINUB_for_stringop): Likewise.
20129 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20130 bit_Slow_SSE4_2 is set.
20131 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20132 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20133
89cd9569
RA
201342013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20135
20136 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20137 rtld_global._dl_hwcap2.
20138 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20139 POWER8.
20140 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20141 POWER8 feature descriptions defined in _dl_hwcap2.
20142 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20143 string handling for POWER8 feature bits.
20144 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20145 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20146 _dl_powerpc_cap_flags.
20147 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20148 * sysdeps/powerpc/rtld-global-offsets.sym
20149 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20150 _dl_hwcap2 in the rtld_global_ro structure.
20151
1ae8bfe0
RA
201522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20153
20154 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20155 hardware capabilities in support of AT_HWCAP2.
20156 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20157 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20158 GLRO(dl_hwcap2).
20159 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20160 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20161 explicitly the unknown a_type display mechanism is used.
20162 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20163 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20164 struct member.
20165 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20166 to macro prototype for AT_HWCAP2 support.
20167 * sysdeps/i386/dl-procinfo.h: Likewise.
20168 * sysdeps/s390/dl-procinfo.h: Likewise.
20169 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20170 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20171 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20172 return -1 for unknown a_type display fallback.
20173 * sysdeps/sparc/dl-procinfo.h: Likewise.
20174 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20175 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20176
8fbec010
JM
201772013-06-28 Joseph Myers <joseph@codesourcery.com>
20178
20179 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20180 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20181
0432680e
PY
201822013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20183
20184 [BZ #12492]
20185 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20186 mprotect making __stack_prot writable.
20187
ce61a2ad
NF
201882013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20189 Joseph Myers <joseph@codesourcery.com>
20190
20191 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20192 as being properly aligned.
20193
f91f1c0f
MR
201942013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20195
3d0f5d0c
MR
20196 * dlfcn/modstatic5.c: New file.
20197 * dlfcn/tststatic5.c: New file.
20198 * dlfcn/Makefile (tests): Add tststatic5.
20199 (tests-static): Likewise.
20200 (modules-names): Add modstatic5.
20201 (tststatic5-ENV): New variable.
20202 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20203
f91f1c0f
MR
20204 [BZ #15022]
20205 * elf/dl-support.c (_dl_main_map): New variable.
20206 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20207 (_dl_nns, _dl_load_adds): Set to 1.
20208 (_dl_initial_searchlist): Refer to _dl_main_map.
20209 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20210 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20211 call to _dl_get_origin.
20212 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20213 around call_map.
20214 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20215 * dlfcn/modstatic3.c: New file.
20216 * dlfcn/tststatic3.c: New file.
20217 * dlfcn/tststatic4.c: New file.
20218 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20219 (tests-static): Likewise.
20220 (modules-names): Add modstatic3.
20221 (tststatic3-ENV, tststatic4-ENV): New variables.
20222 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20223 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20224
cbe7d24b
JM
202252013-06-26 Joseph Myers <joseph@codesourcery.com>
20226
20227 * configure.in (CC): Require GCC version 4.4 or later.
20228 * configure: Regenerated.
20229 * manual/install.texi (Tools for Compilation): Update GCC version
20230 requirement.
20231 * INSTALL: Regenerated.
20232
11b8a0e1
LD
202332013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20234
20235 [BZ #15674]
bb5bb87c
L
20236 * string/test-memcmp.c (check2): New.
20237 (main): Call check2.
20238
11b8a0e1
LD
20239 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20240
b0037103
MR
202412013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20242
20243 [BZ #15022]
20244 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20245 over to...
20246 (dl_open_worker) [!SHARED]: ... here.
20247
c18c701d
RA
202482013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20249
20250 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20251
1d17fa5f
RH
202522013-06-25 Richard Henderson <rth@redhat.com>
20253
20254 * locale/programs/locarchive.c: Include <libc-internal.h>
20255
8fcb833a
JM
202562013-06-25 Joseph Myers <joseph@codesourcery.com>
20257
20258 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20259 trailing whitespace removed.
20260
17db6e8d
MF
202612013-06-24 Mike Frysinger <vapier@gentoo.org>
20262
20263 [BZ #10283]
17db6e8d
MF
20264 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20265 * locale/programs/locarchive.c: Include libc-mmap.h.
20266 (prepare_address_space): Take two new outputs (the mmap base and len).
20267 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20268 values.
20269 (create_archive): Declare new mmap base and len values for
20270 prepare_address_space, and store the result in ah.
20271 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20272 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20273 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20274 Declare new mmap base and len values for
20275 prepare_address_space, and store the result in new_ah.
20276 (open_archive): Declare new mmap base and len values for
20277 prepare_address_space, and store the result in ah.
20278 (close_archive): If ah->mmap_base is not NULL, use that and
20279 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20280 * sysdeps/generic/libc-mmap.h: New file.
20281
d605071e
MF
202822013-06-24 Mike Frysinger <vapier@gentoo.org>
20283
20284 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20285 (ALIGN_UP): Likewise.
20286 (PTR_ALIGN_DOWN): Likewise.
20287 (PTR_ALIGN_UP): Likewise.
20288
2f063a6e
RA
202892013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20290
20291 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20292 entry mapped to PPC_PLATFORM_POWER8.
20293 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20294 POWER8.
20295 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20296 (_dl_string_platform): Add case for exporting platform position for
20297 POWER8.
20298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20299 search path to sysdeps/powerpc/powerpc32/power8 directory.
20300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20301 search path to sysdeps/powerpc/powerpc64/power8 directory.
20302 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20303 power7 directories.
20304 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20305 power7 directories.
20306
a31ee4b3
SP
203072013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20308
a74ca98f
SP
20309 * INSTALL: Regenerate.
20310
a31ee4b3
SP
20311 * nscd/connections.c (nscd_init): Fix comment.
20312
695c378f
JM
203132013-06-22 Joseph Myers <joseph@codesourcery.com>
20314
d8412221
JM
20315 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20316
695c378f
JM
20317 [BZ #15667]
20318 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20319 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20320
d1d54715
MR
203212013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20322
20323 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20324 DL_DST_REQ_STATIC.
20325 (DL_DST_REQ_STATIC): Remove macro.
20326
8fdda7af
JM
203272013-06-21 Joseph Myers <joseph@codesourcery.com>
20328
20329 [BZ #7006]
20330 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20331 with a shift of 0 bits.
20332
f3bc5e5a
MR
203332013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20334
20335 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20336 $(tststatic-ENV).
20337
be09e8c9
KK
203382013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20339
20340 [BZ #15655]
20341 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20342
85c2e611
AZ
203432013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20344
20345 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20346 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20347 accepts -fno-tree-loop-distribute-patterns.
20348 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20349 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20350 recursive call.
20351 * string/memset.c (memset): Likewise.
20352 * string/test-memmove.c (simple_memmove): Disable loop transformation
20353 to library calls.
20354 * string/test-memset.c (simple_memset): Likewise.
20355 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20356 * benchtests/bench-memset.c (simple_memset): Likewise.
20357 * configure: Regenerated.
20358
c91e0825
JM
203592013-06-20 Joseph Myers <joseph@codesourcery.com>
20360
b8c792af
JM
20361 * math/test-misc.c (main): Ignore fesetround failure when failures
20362 of subsequent rounding tests would be ignored.
20363
c91e0825
JM
20364 [BZ #15654]
20365 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20366 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20367 * math/fegetenv.c (__fegetenv): Return 0.
20368 * math/fegetexcept.c (fegetexcept): Return 0.
20369 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20370 FE_TONEAREST.
20371 * math/feholdexcpt.c (feholdexcept): Return 0.
20372 * math/fesetenv.c (__fesetenv): Return 0.
20373 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20374 argument FE_TONEAREST.
20375 * math/feupdateenv.c (__feupdateenv): Return 0.
20376 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20377
bfcacbde
RM
203782013-06-18 Roland McGrath <roland@hack.frob.com>
20379
20380 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20381 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20382 ($(objpfx)rtld-%.os rules): Use them.
20383
e55a9b25
AZ
203842013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20385
20386 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20387 fields.
20388
346d65b3
RM
203892013-06-17 Roland McGrath <roland@hack.frob.com>
20390
12086fb4
RM
20391 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20392 length of target pattern, then descending length of dependency pattern.
20393 * configure.in (AWK): Require gawk 3.1.2 or newer.
20394 * manual/install.texi (Tools for Compilation): Say that we do.
20395 * configure: Regenerated.
20396
346d65b3
RM
20397 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20398 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20399 * scripts/sysd-rules.awk: ... this new script.
20400 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20401 than a glob-style pattern.
20402
1a846317
JM
204032013-06-17 Joseph Myers <joseph@codesourcery.com>
20404
20405 * math/test-misc.c (main): Do not treat incorrectly rounded
20406 conversions as failure unless ROUNDING_TESTS passes.
20407
8fc75e6f
JM
204082013-06-15 Joseph Myers <joseph@codesourcery.com>
20409
3711a167
JM
20410 [BZ #15631]
20411 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20412 restore exception state around main square root computation, then
20413 check for inexactness explicitly.
20414
8fc75e6f
JM
20415 * math/libm-test.inc (fma_test_data): Add another test.
20416
61dd6208
SP
204172013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20418
adf23d2c
SP
20419 * manual/threads.texi (Non-POSIX Extensions): New document
20420 node. Document pthread_getattr_default_np and
20421 pthread_setattr_default_np.
20422
61dd6208
SP
20423 * Versions.def (libpthread): Add GLIBC_2.18.
20424 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20426 Likewise.
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20428 Likewise.
20429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20430 Likewise.
20431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20432 Likewise.
20433 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20434 Likewise.
20435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20436 Likewise.
20437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20438 Likewise.
20439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20440 Likewise.
20441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20442 Likewise.
20443
d086fc7b
LD
204442013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20445
20446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20447 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20448
747ef469
SP
204492013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20450 H.J. Lu <hjl.tools@gmail.com>
20451
20452 [BZ #15627]
20453 * sysdeps/x86_64/rtld-memset.c: Remove file.
20454 * sysdeps/x86_64/rtld-memset.S: New file.
20455
1b2feed2
JM
204562013-06-14 Joseph Myers <joseph@codesourcery.com>
20457
20458 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20459 (test_in_one_mode): Take arguments for whether the rounding mode
20460 is supported for each floating-point type.
20461 (do_test): Pass new arguments to test_in_one_mode using
20462 ROUNDING_TESTS.
20463
a58ad3f8
RM
204642013-06-13 Roland McGrath <roland@hack.frob.com>
20465
20466 * posix/tst-waitid.c (do_test): Distinguish different instances of
20467 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20468 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20469 before entering the kernel for waitpid.
20470
c204ab28
SP
204712013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20472
20473 * NEWS: Fix note on clock function precision. Text by Roland
20474 McGrath.
20475
f4a29fba
RM
204762013-06-13 Roland McGrath <roland@hack.frob.com>
20477
20478 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20479 it into place only when and if the sanity check passes.
20480
1f24b9ad
JM
204812013-06-13 Joseph Myers <joseph@codesourcery.com>
20482
20483 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20484 output for whether conversion result is exact. Take argument
20485 indicating whether type is IBM long double.
20486 (round_for_all): Change need_exact field to ibm_ld.
20487 * stdlib/tst-strtod-round.c (struct exactness): New type.
20488 (struct test): Change bool ld_ok field to struct exactness exact.
20489 (TEST): Update all definitions for change to field.
20490 (tests): Regenerate array contents.
20491 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20492 field value. Check for IBM long double here.
20493 (do_test): Update calls to test_in_one_mode.
20494
58206c68
SP
204952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20496
20497 [BZ #12515]
20498 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20499 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20500
2d6f4c5b 205012013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20502
20503 [BZ #15605]
20504 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20505 generated by the compiler on loop optimizations.
20506 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20507 general definitions.
20508
94f2c076
JM
205092013-06-12 Joseph Myers <joseph@codesourcery.com>
20510
20511 * math/bug-nextafter.c: Include <math-tests.h>.
20512 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20513 the relevant type.
20514 * math/bug-nexttoward.c: Include <math-tests.h>.
20515 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20516 the relevant type.
20517 * math/test-misc.c: Include <math-tests.h>.
20518 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20519 the relevant type.
20520
e0e50a0a
AJ
205212013-06-12 Andreas Jaeger <aj@suse.de>
20522
20523 * po/ia.po: Update Interlingua translation from translation
20524 project.
20525
25061094
SP
205262013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20527
20528 * include/fenv.h: Include stdbool.h.
20529 (struct rm_ctx): New structure.
20530 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20531 Define macro.
20532 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20533 (SET_RESTORE_ROUNDF): Likewise.
20534 (SET_RESTORE_ROUNDL): Likewise.
20535 (SET_RESTORE_ROUND_NOEX): Likewise.
20536 (SET_RESTORE_ROUND_NOEXF): Likewise.
20537 (SET_RESTORE_ROUND_NOEXL): Likewise.
20538 (SET_RESTORE_ROUND_53BIT): Likewise.
20539 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20540 (libc_feresetround_noexf_ctx): Likewise.
20541 (libc_feresetround_noexl_ctx): Likewise.
20542 (libc_feholdsetround_53bit_ctx): Likewise.
20543 (libc_feresetround_53bit_ctx): Likewise.
20544 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20545 (libc_feholdexcept_setround_sse_ctx): New function.
20546 (libc_fesetenv_sse_ctx): Likewise.
20547 (libc_feupdateenv_sse_ctx): Likewise.
20548 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20549 (libc_feholdexcept_setround_387_ctx): Likewise.
20550 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20551 (libc_feholdsetround_387_prec_ctx): Likewise.
20552 (libc_feholdsetround_387_ctx): Likewise.
20553 (libc_feholdsetround_387_53bit_ctx): Likewise.
20554 (libc_feholdsetround_sse_ctx): Likewise.
20555 (libc_feresetround_sse_ctx): Likewise.
20556 (libc_feresetround_387_ctx): Likewise.
20557 (libc_feupdateenv_387_ctx): Likewise.
20558 (libc_feholdexcept_setroundf_ctx): Define macro.
20559 (libc_fesetenvf_ctx): Likewise.
20560 (libc_feupdateenvf_ctx): Likewise.
20561 (libc_feholdsetroundf_ctx): Likewise.
20562 (libc_feresetroundf_ctx): Likewise.
20563 (libc_feholdexcept_setround_ctx): Likewise.
20564 (libc_fesetenv_ctx): Likewise.
20565 (libc_feupdateenv_ctx): Likewise.
20566 (libc_feholdsetround_ctx): Likewise.
20567 (libc_feresetround_ctx): Likewise.
20568 (libc_feholdexcept_setroundl_ctx): Likewise.
20569 (libc_feupdateenvl_ctx): Likewise.
20570 (libc_feholdsetroundl_ctx): Likewise.
20571 (libc_feresetroundl_ctx): Likewise.
20572 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20573 (libc_feresetround_53bit_ctx): Likewise.
20574
59b30555
SP
205752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20576
20577 * locale/iso-639.def: Convert to UTF-8.
20578
f1d73d30
JM
205792013-06-11 Joseph Myers <joseph@codesourcery.com>
20580
20581 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20582 (EXCEPTION_TESTS_double): Likewise.
20583 (EXCEPTION_TESTS_long_double): Likewise.
20584 (EXCEPTION_TESTS): Likewise.
20585 * math/libm-test.inc (test_exceptions): Only test exceptions if
20586 EXCEPTION_TESTS (FLOAT).
20587
94aca5e7
SP
205882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20589
20590 * benchtests/Makefile (string-bench): Add strcpy_chk and
20591 stpcpy_chk.
20592 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20593 * benchtests/bench-stpcpy_chk.c: New file.
20594 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20595 * benchtests/bench-strcpy_chk.c: New file.
20596 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20597 code.
20598 (do_test): Likewise.
20599
fac0c5f2
RA
206002013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20601
20602 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20603 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20604 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20605 with tabs where appropriate.
20606 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20607 dl-procinfo.h.
20608 [PPC_PLATFORM_PPC440]: Likewise.
20609 [PPC_PLATFORM_PPC464]: Likewise.
20610 [PPC_PLATFORM_PPC476]: Likewise.
20611 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20612 ppc464, and ppc476 platform strings merging from ports/
20613 dl-procinfo.h.
20614
f22bc486
AS
206152013-06-11 Andreas Schwab <schwab@suse.de>
20616
20617 [BZ #14991]
20618 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20619 (from_ucs4_idx): Regenerate.
20620 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20621 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20622 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20623 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20624 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20625 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20626 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20627 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20628 from FROM_LOOP and TO_LOOP specific macros.
20629 (BODY): Handle combining characters.
20630 * iconvdata/BIG5HKSCS.irreversible: Update.
20631 * iconvdata/BIG5HKSCS.precomposed: New file.
20632 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20633 characters.
20634 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20635
c1f75dc3
SP
206362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20637
4eacded2
SP
20638 * include/sys/time.h: Fix indentation and add copyright header.
20639
fec799f8
SP
20640 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20641 (do_test): Likewise.
20642 * string/test-memchr.c (do_one_test): Likewise.
20643 (do_test): Likewise.
20644 * string/test-memcmp.c (do_one_test): Likewise.
20645 (do_test): Likewise.
20646 * string/test-memcpy.c (do_one_test): Likewise.
20647 (do_test): Likewise.
20648 * string/test-memmem.c (do_one_test): Likewise.
20649 (do_test): Likewise.
20650 (do_random_tests): Likewise.
20651 * string/test-memmove.c (do_one_test): Likewise.
20652 (do_test): Likewise.
20653 * string/test-memset.c (do_one_test): Likewise.
20654 (do_test): Likewise.
20655 * string/test-rawmemchr.c (do_one_test): Likewise.
20656 (do_test): Likewise.
20657 * string/test-strcasecmp.c (do_one_test): Likewise.
20658 (do_test): Likewise.
20659 * string/test-strcasestr.c (do_one_test): Likewise.
20660 (do_test): Likewise.
20661 * string/test-strcat.c (do_one_test): Likewise.
20662 (do_test): Likewise.
20663 * string/test-strchr.c (do_one_test): Likewise.
20664 (do_test): Likewise.
20665 * string/test-strcmp.c (do_one_test): Likewise.
20666 (do_test): Likewise.
20667 * string/test-strcpy.c (do_one_test): Likewise.
20668 (do_test): Likewise.
20669 * string/test-string.h: Likewise.
20670 (test_init): Likewise.
20671 * string/test-strlen.c (do_one_test): Likewise.
20672 (do_test): Likewise.
20673 * string/test-strncasecmp.c (do_one_test): Likewise.
20674 (do_test): Likewise.
20675 * string/test-strncat.c (do_one_test): Likewise.
20676 (do_test): Likewise.
20677 * string/test-strncmp.c (do_one_test): Likewise.
20678 (do_test_limit): Likewise.
20679 (do_test): Likewise.
20680 * string/test-strncpy.c (do_one_test): Likewise.
20681 (do_test): Likewise.
20682 * string/test-strnlen.c (do_one_test): Likewise.
20683 (do_test): Likewise.
20684 * string/test-strpbrk.c (do_one_test): Likewise.
20685 (do_test): Likewise.
20686 * string/test-strrchr.c (do_one_test): Likewise.
20687 (do_test): Likewise.
20688 * string/test-strspn.c (do_one_test): Likewise.
20689 (do_test): Likewise.
20690 * string/test-strstr.c (do_one_test): Likewise.
20691 (do_test): Likewise.
20692
97020474
SP
20693 * benchtests/Makefile (string-bench): Add string benchmarks.
20694 * benchtests/bench-bcopy-ifunc.c: New file.
20695 * benchtests/bench-bcopy.c: New file.
20696 * benchtests/bench-bzero-ifunc.c: New file.
20697 * benchtests/bench-bzero.c: New file.
20698 * benchtests/bench-memccpy-ifunc.c: New file.
20699 * benchtests/bench-memccpy.c: New file.
20700 * benchtests/bench-memchr-ifunc.c: New file.
20701 * benchtests/bench-memchr.c: New file.
20702 * benchtests/bench-memcmp-ifunc.c: New file.
20703 * benchtests/bench-memcmp.c: New file.
20704 * benchtests/bench-memmem-ifunc.c: New file.
20705 * benchtests/bench-memmem.c: New file.
20706 * benchtests/bench-memmove-ifunc.c: New file.
20707 * benchtests/bench-memmove.c: New file.
20708 * benchtests/bench-mempcpy-ifunc.c: New file.
20709 * benchtests/bench-mempcpy.c: New file.
20710 * benchtests/bench-memset-ifunc.c: New file.
20711 * benchtests/bench-memset.c: New file.
20712 * benchtests/bench-rawmemchr-ifunc.c: New file.
20713 * benchtests/bench-rawmemchr.c: New file.
20714 * benchtests/bench-stpcpy-ifunc.c: New file.
20715 * benchtests/bench-stpcpy.c: New file.
20716 * benchtests/bench-stpncpy-ifunc.c: New file.
20717 * benchtests/bench-stpncpy.c: New file.
20718 * benchtests/bench-strcasecmp-ifunc.c: New file.
20719 * benchtests/bench-strcasecmp.c: New file.
20720 * benchtests/bench-strcasestr-ifunc.c: New file.
20721 * benchtests/bench-strcasestr.c: New file.
20722 * benchtests/bench-strcat-ifunc.c: New file.
20723 * benchtests/bench-strcat.c: New file.
20724 * benchtests/bench-strchr-ifunc.c: New file.
20725 * benchtests/bench-strchr.c: New file.
20726 * benchtests/bench-strchrnul-ifunc.c: New file.
20727 * benchtests/bench-strchrnul.c: New file.
20728 * benchtests/bench-strcmp-ifunc.c: New file.
20729 * benchtests/bench-strcmp.c: New file.
20730 * benchtests/bench-strcpy-ifunc.c: New file.
20731 * benchtests/bench-strcpy.c: New file.
20732 * benchtests/bench-strcspn-ifunc.c: New file.
20733 * benchtests/bench-strcspn.c: New file.
20734 * benchtests/bench-strlen-ifunc.c: New file.
20735 * benchtests/bench-strlen.c: New file.
20736 * benchtests/bench-strncasecmp-ifunc.c: New file.
20737 * benchtests/bench-strncasecmp.c: New file.
20738 * benchtests/bench-strncat-ifunc.c: New file.
20739 * benchtests/bench-strncat.c: New file.
20740 * benchtests/bench-strncmp-ifunc.c: New file.
20741 * benchtests/bench-strncmp.c: New file.
20742 * benchtests/bench-strncpy-ifunc.c: New file.
20743 * benchtests/bench-strncpy.c: New file.
20744 * benchtests/bench-strnlen-ifunc.c: New file.
20745 * benchtests/bench-strnlen.c: New file.
20746 * benchtests/bench-strpbrk-ifunc.c: New file.
20747 * benchtests/bench-strpbrk.c: New file.
20748 * benchtests/bench-strrchr-ifunc.c: New file.
20749 * benchtests/bench-strrchr.c: New file.
20750 * benchtests/bench-strspn-ifunc.c: New file.
20751 * benchtests/bench-strspn.c: New file.
20752 * benchtests/bench-strstr-ifunc.c: New file.
20753 * benchtests/bench-strstr.c: New file.
20754
c1f75dc3
SP
20755 * benchtests/Makefile: Disable parallel execution of targets.
20756 (string-bench): Add memcpy.
20757 (benchset): New variable to store a list of benchmark sets.
20758 (bench-func): Renamed from bench.
20759 (bench-set): New target.
20760 (bench): Depend on bench-func and bench-set.
20761 * benchtests/README: Add section on benchmark sets.
20762 * benchtests/bench-memcpy-ifunc.c: New file.
20763 * benchtests/bench-memcpy.c: New file.
20764 * benchtests/bench-string.h: New file.
20765
50fd745b
AS
207662013-06-11 Andreas Schwab <schwab@suse.de>
20767
20768 [BZ #15577]
20769 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20770 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20771 values in the triple.
20772 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20773 terminator in the group key.
20774
3ee7e9fe
AJ
207752013-06-11 Andreas Jaeger <aj@suse.de>
20776
20777 * po/zh_TW.po: Update Chinese (traditional) translation from
20778 translation project.
20779
89fb6835
SP
207802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20781
20782 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20783 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20784 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20785 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20786 (clock_getcpuclockid): Likewise.
20787 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20788 Add weak_alias and libc_hidden_def.
20789 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20790 * rt/clock_gettime.c (clock_gettime): Rename to
20791 __clock_gettime. Add weak_alias and libc_hidden_def.
20792 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20793 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20794 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20795 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20796 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20797 Likewise.
20798 * rt/clock_settime.c (clock_settime): Rename to
20799 __clock_settime. Add weak_alias and libc_hidden_def.
20800 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20801
0efa6f8b
JM
208022013-06-10 Joseph Myers <joseph@codesourcery.com>
20803
b8c61b4b
JM
20804 * mach/err_boot.sub: Remove trailing whitespace.
20805 * mach/err_ipc.sub: Likewise.
20806 * mach/err_mach.sub: Likewise.
20807
0efa6f8b
JM
20808 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20809 (ROUNDING_TESTS_double): Likewise.
20810 (ROUNDING_TESTS_long_double): Likewise.
20811 (ROUNDING_TESTS): Likewise.
20812 * math/libm-test.inc: Include <math-tests.h>.
20813 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20814 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20815 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20816 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20817
50b818bf
SP
208182013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20819
20820 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20821 of assigning.
20822
60d2f8f3
JM
208232013-06-08 Joseph Myers <joseph@codesourcery.com>
20824
4902d2c3
JM
20825 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20826 otherwise empty TRANS lines.
20827 * sysdeps/gnu/errlist.c: Regenerated.
20828
60d2f8f3
JM
20829 * catgets/gencat.c (error_print): Use (void) in function
20830 definition.
20831 * crypt/crypt_util.c (__init_des): Likewise.
20832 * crypt/speeds.c (Stop): Likewise.
20833 (main): Likewise.
20834 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20835 * inet/ruserpass.c (token): Likewise.
20836 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20837 * intl/localealias.c (extend_alias_table): Likewise.
20838 * intl/plural-exp.c (init_germanic_plural): Likewise.
20839 * libio/fcloseall.c (__fcloseall): Likewise.
20840 * libio/genops.c (_IO_flush_all): Likewise.
20841 (_IO_flush_all_linebuffered): Likewise.
20842 (_IO_cleanup): Likewise.
20843 (_IO_iter_begin): Likewise.
20844 (_IO_iter_end): Likewise.
20845 (_IO_list_lock): Likewise.
20846 (_IO_list_unlock): Likewise.
20847 (_IO_list_resetlock): Likewise.
20848 * libio/getchar.c (getchar): Likewise.
20849 * libio/getchar_u.c (getchar_unlocked): Likewise.
20850 * libio/getwchar.c (getwchar): Likewise.
20851 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20852 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20853 * login/getpt.c (__getpt): Likewise.
20854 * login/tst-utmp.c (main): Likewise.
20855 * malloc/hooks.c (__malloc_check_init): Likewise.
20856 * malloc/malloc.c (__malloc_stats): Likewise.
20857 * malloc/mtrace.c (tr_break): Likewise.
20858 (mtrace): Likewise.
20859 (muntrace): Likewise.
20860 * misc/fstab.c (endfsent): Likewise.
20861 * misc/getclktck.c (__getclktck): Likewise.
20862 * misc/getdtsz.c (__getdtablesize): Likewise.
20863 * misc/gethostid.c (gethostid): Likewise.
20864 * misc/getpagesize.c (__getpagesize): Likewise.
20865 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20866 (__get_nprocs): Likewise.
20867 (__get_phys_pages): Likewise.
20868 (__get_avphys_pages): Likewise.
20869 * misc/getttyent.c (getttyent): Likewise.
20870 (setttyent): Likewise.
20871 (endttyent): Likewise.
20872 * misc/getusershell.c (getusershell): Likewise.
20873 (endusershell): Likewise.
20874 (setusershell): Likewise.
20875 (initshells): Likewise.
20876 * misc/hsearch.c (__hdestroy): Likewise.
20877 * misc/sync.c (sync): Likewise.
20878 * misc/syslog.c (closelog_internal): Likewise.
20879 (closelog): Likewise.
20880 * misc/ttyslot.c (ttyslot): Likewise.
20881 * misc/vhangup.c (vhangup): Likewise.
20882 * posix/fork.c (__fork): Likewise.
20883 * posix/getegid.c (__getegid): Likewise.
20884 * posix/geteuid.c (__geteuid): Likewise.
20885 * posix/getgid.c (__getgid): Likewise.
20886 * posix/getpid.c (__getpid): Likewise.
20887 * posix/getppid.c (__getppid): Likewise.
20888 * posix/getuid.c (__getuid): Likewise.
20889 * posix/pause.c (pause): Likewise.
20890 * posix/setpgrp.c (setpgrp): Likewise.
20891 * posix/setsid.c (__setsid): Likewise.
20892 * posix/test-vfork.c (noop): Likewise.
20893 * resolv/gethnamaddr.c (_endhtent): Likewise.
20894 (_gethtent): Likewise.
20895 (ht_endhostent): Likewise.
20896 (gethostent): Likewise.
20897 (dns_service): Likewise.
20898 * stdlib/drand48.c (drand48): Likewise.
20899 * stdlib/lrand48.c (lrand48): Likewise.
20900 * stdlib/mrand48.c (mrand48): Likewise.
20901 * stdlib/rand.c (rand): Likewise.
20902 * stdlib/random.c (__random): Likewise.
20903 * stdlib/setenv.c (clearenv): Likewise.
20904 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20905 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20906 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20907 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20908 (__get_nprocs): Likewise.
20909 (__get_phys_pages): Likewise.
20910 (__get_avphys_pages): Likewise.
20911 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20912 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20913 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20914 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20915 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20916 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20917 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20918 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20919 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20920 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20921 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20922 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20923 * sysdeps/posix/clock.c (clock): Likewise.
20924 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20925 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20926 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20927 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20928 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20929 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20930 (__get_nprocs_conf): Likewise.
20931 (__get_phys_pages): Likewise.
20932 (__get_avphys_pages): Likewise.
20933 * time/clock.c (clock): Likewise.
20934 * time/tzset.c (__tzname_max): Likewise.
20935
2e09a79a
JM
209362013-06-07 Joseph Myers <joseph@codesourcery.com>
20937
20938 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20939 (__bswap_32): Do not use "register".
20940 * crypt/crypt.c (_ufc_doit_r): Likewise.
20941 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20942 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20943 * gmon/gmon.c (__monstartup): Likewise.
20944 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20945 * hurd/hurdmalloc.c (more_memory): Likewise.
20946 (malloc): Likewise.
20947 (free): Likewise.
20948 (realloc): Likewise.
20949 (malloc_fork_prepare): Likewise.
20950 (malloc_fork_parent): Likewise.
20951 (malloc_fork_child): Likewise.
20952 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20953 (_svcauth_des): Likewise.
20954 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20955 * inet/inet_net.c (inet_network): Likewise.
20956 * inet/inet_netof.c (inet_netof): Likewise.
20957 * inet/rcmd.c (__validuser2_sa): Likewise.
20958 * io/fts.c (fts_open): Likewise.
20959 (fts_load): Likewise.
20960 (fts_close): Likewise.
20961 (fts_read): Likewise.
20962 (fts_children): Likewise.
20963 (fts_build): Likewise.
20964 (fts_stat): Likewise.
20965 (fts_sort): Likewise.
20966 (fts_alloc): Likewise.
20967 (fts_lfree): Likewise.
20968 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20969 (_IO_file_xsgetn): Likewise.
20970 (_IO_file_xsgetn_mmap): Likewise.
20971 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20972 (_IO_cookie_write): Likewise.
20973 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20974 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20975 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20976 * malloc/obstack.c (_obstack_begin): Likewise.
20977 (_obstack_begin_1): Likewise.
20978 (_obstack_newchunk): Likewise.
20979 (_obstack_allocated_p): Likewise.
20980 (obstack_free): Likewise.
20981 (_obstack_memory_used): Likewise.
20982 * misc/getttyent.c (getttynam): Likewise.
20983 (getttyent): Likewise.
20984 (skip): Likewise.
20985 (value): Likewise.
20986 * misc/getusershell.c (initshells): Likewise.
20987 * misc/syslog.c (__vsyslog_chk): Likewise.
20988 * misc/ttyslot.c (ttyslot): Likewise.
20989 * nis/nis_hash.c (__nis_hash): Likewise.
20990 * posix/fnmatch_loop.c (FCT): Likewise.
20991 * posix/getconf.c (print_all): Likewise.
20992 (main): Likewise.
20993 * posix/getopt.c (exchange): Likewise.
20994 * posix/glob.c (globfree): Likewise.
20995 (prefix_array): Likewise.
20996 (__glob_pattern_type): Likewise.
20997 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20998 (NS_GET32): Likewise.
20999 (NS_PUT16): Likewise.
21000 (NS_PUT32): Likewise.
21001 * resolv/gethnamaddr.c (getanswer): Likewise.
21002 (gethostbyname2): Likewise.
21003 (gethostbyaddr): Likewise.
21004 (_gethtent): Likewise.
21005 (_gethtbyname2): Likewise.
21006 (_gethtbyaddr): Likewise.
21007 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21008 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21009 * resolv/res_init.c (__res_vinit): Likewise.
21010 (net_mask): Likewise.
21011 * resolv/res_mkquery.c (outchar): Likewise.
21012 (PRINT): Likewise.
21013 * stdio-common/printf_fp.c (outchar): Likewise.
21014 (PRINT): Likewise.
21015 * stdio-common/printf_fphex.c (outchar): Likewise.
21016 (PRINT): Likewise.
21017 * stdio-common/printf_size.c (outchar): Likewise.
21018 (PRINT): Likewise.
21019 * stdio-common/test_rdwr.c (main): Likewise.
21020 * stdio-common/tfformat.c (matches): Likewise.
21021 * stdio-common/vfprintf.c (outchar): Likewise.
21022 (printf_unknown): Likewise.
21023 (buffered_vfprintf): Likewise.
21024 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21025 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21026 (ReadFile): Likewise.
21027 * stdlib/qsort.c (SWAP): Likewise.
21028 (_quicksort): Likewise.
21029 * stdlib/setenv.c (__add_to_environ): Likewise.
21030 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21031 * stdlib/strtol_l.c (__strtol_l): Likewise.
21032 * stdlib/tst-strtod.c (main): Likewise.
21033 * stdlib/tst-strtol.c (main): Likewise.
21034 * stdlib/tst-strtoll.c (main): Likewise.
21035 * string/bits/string2.h (__strcmp_cc): Likewise.
21036 (__strcmp_cg): Likewise.
21037 (__strcspn_c1): Likewise.
21038 (__strcspn_c2): Likewise.
21039 (__strcspn_c3): Likewise.
21040 (__strspn_c1): Likewise.
21041 (__strspn_c2): Likewise.
21042 (__strspn_c3): Likewise.
21043 (__strsep_1c): Likewise.
21044 (__strsep_2c): Likewise.
21045 (__strsep_3c): Likewise.
21046 * string/memccpy.c (__memccpy): Likewise.
21047 * string/stpcpy.c (__stpcpy): Likewise.
21048 * string/strcmp.c (strcmp): Likewise.
21049 * string/strrchr.c (strrchr): Likewise.
21050 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21051 Likewise.
21052 * sysdeps/mach/hurd/getcwd.c
21053 (_hurd_canonicalize_directory_name_internal): Likewise.
21054 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21055 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21056 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21057 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21058 Likewise, in both definitions.
21059 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21060 definitions.
21061 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21062 64] (__bswap_64): Likewise.
21063 * time/test_time.c (main): Likewise.
21064 * time/tzfile.c (__tzfile_read): Likewise.
21065 (__tzfile_compute): Likewise.
21066 * time/tzset.c (__tzset_parse_tz): Likewise.
21067 (tzset_internal): Likewise.
21068 (compute_change): Likewise.
21069 * wcsmbs/wcscat.c (__wcscat): Likewise.
21070 * wcsmbs/wcschr.c (wcschr): Likewise.
21071 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21072 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21073 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21074 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21075 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21076 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21077 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21078 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21079 * wcsmbs/wmemset.c (wmemset): Likewise.
21080
9e54314b
JM
210812013-06-06 Joseph Myers <joseph@codesourcery.com>
21082
21083 * scripts/config.guess: Update to version 2013-05-16.
21084 * scripts/config.sub: Update to version 2013-04-24.
21085 * scripts/install-sh: Update to version 2011-11-20.07.
21086 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21087 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21088
350635a5
OB
210892013-06-06 Ondřej Bílka <neleai@seznam.cz>
21090
21091 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21092 * elf/sln.c: Likewise.
21093 * hurd/hurd/ioctl.h: Likewise.
21094 * hurd/hurdmalloc.c: Likewise.
21095 * hurd/xattr.c: Likewise.
21096 * include/shlib-compat.h: Likewise.
21097 * inet/ruserpass.c: Likewise.
21098 * libio/iofgets_u.c: Likewise.
21099 * libio/iofgetws_u.c: Likewise.
21100 * locale/programs/ld-identification.c: Likewise.
21101 * locale/programs/ld-time.c: Likewise.
21102 * mach/msg-destroy.c: Likewise.
21103 * nss/nss_files/files-netgrp.c: Likewise.
21104 * resolv/res_data.c: Likewise.
21105 * soft-fp/op-1.h: Likewise.
21106 * soft-fp/op-2.h: Likewise.
21107 * soft-fp/op-4.h: Likewise.
21108 * soft-fp/op-common.h: Likewise.
21109 * stdio-common/printf_fphex.c: Likewise.
21110 * stdlib/strtod_l.c: Likewise.
21111 * sunrpc/rpc/clnt.h: Likewise.
21112 * sysdeps/generic/framestate.c: Likewise.
21113 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21114 * sysdeps/i386/bsd-setjmp.S: Likewise.
21115 * sysdeps/i386/__longjmp.S: Likewise.
21116 * sysdeps/i386/setjmp.S: Likewise.
21117 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21118 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21124 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21129 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21130 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21132 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21133 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21135 * sysdeps/ieee754/support.c: Likewise.
21136 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21137 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21138 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21139 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21140 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21141 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21142 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21143 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21144 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21145 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21146 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21147 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21148 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21149 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21150 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21151 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21152 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21154
44a988af
OB
211552013-06-05 Ondřej Bílka <neleai@seznam.cz>
21156
25506f09 21157 * posix/transbug.c: Remove executable mode.
44a988af 21158
9c84384c
JM
211592013-06-05 Joseph Myers <joseph@codesourcery.com>
21160
21161 * crypt/speeds.c: Remove trailing whitespace.
21162 * dlfcn/default.c: Likewise.
21163 * elf/ifuncdep2.c: Likewise.
21164 * elf/ifuncmain1.c: Likewise.
21165 * elf/ifuncmain1vis.c: Likewise.
21166 * elf/testobj.h: Likewise.
21167 * elf/tst-stackguard1.c: Likewise.
21168 * gmon/sys/gmon.h: Likewise.
21169 * hurd/hurdmsg.c: Likewise.
21170 * hurd/new-fd.c: Likewise.
21171 * hurd/ports-get.c: Likewise.
21172 * iconvdata/ibm1008_420.c: Likewise.
21173 * inet/tst-getni1.c: Likewise.
21174 * inet/tst-getni2.c: Likewise.
21175 * libio/ioungetc.c: Likewise.
21176 * libio/wfiledoalloc.c: Likewise.
21177 * manual/libm-err-tab.pl: Likewise.
21178 * math/w_dremf.c: Likewise.
21179 * misc/ftruncate.c: Likewise.
21180 * posix/bug-glob2.c: Likewise.
21181 * posix/tst-pcre.c: Likewise.
21182 * posix/wait4.c: Likewise.
21183 * resolv/README: Likewise.
21184 * resolv/res_debug.h: Likewise.
21185 * resolv/tst-inet_ntop.c: Likewise.
21186 * setjmp/bug269-setjmp.c: Likewise.
21187 * soft-fp/extended.h: Likewise.
21188 * soft-fp/op-1.h: Likewise.
21189 * soft-fp/op-2.h: Likewise.
21190 * soft-fp/op-4.h: Likewise.
21191 * soft-fp/op-8.h: Likewise.
21192 * soft-fp/testit.c: Likewise.
21193 * stdio-common/bug16.c: Likewise.
21194 * stdlib/random.c: Likewise.
21195 * sunrpc/rpcsvc/rquota.x: Likewise.
21196 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21197 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21198 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21199 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21200 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21201 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21202 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21203 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21204 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21205 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21206 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21223 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21225 * sysdeps/ieee754/s_lib_version.c: Likewise.
21226 * sysdeps/mach/hurd/check_fds.c: Likewise.
21227 * sysdeps/mach/hurd/getsockname.c: Likewise.
21228 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21229 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21230 * sysdeps/powerpc/bits/link.h: Likewise.
21231 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21232 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21233 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21234 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21235 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21236 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21237 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21238 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21239 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21240 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21241 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21242 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21243 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21244 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21245 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21246 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21247 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21248 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21249 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21250 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21251 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21252 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21253 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21254 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21255 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21256 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21257 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21258 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21259 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21261 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21262 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21263 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21264 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21265 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21266 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21267 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21268 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21269 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21270 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21271 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21272 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21273 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21274 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21275 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21276 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21277 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21278 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21279 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21280 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21282 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21283 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21284 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21285 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21286 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21287 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21288 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21289 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21290 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21291 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21292 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21293 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21294 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21295 * sysdeps/powerpc/sysdep.h: Likewise.
21296 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21297 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21298 * sysdeps/sh/dl-trampoline.S: Likewise.
21299 * sysdeps/sh/memset.S: Likewise.
21300 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21301 * sysdeps/sh/strlen.S: Likewise.
21302 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21303 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21304 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21305 * sysdeps/sparc/sparc32/rem.S: Likewise.
21306 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21307 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21308 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21309 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21310 * sysdeps/sparc/sparc32/urem.S: Likewise.
21311 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21312 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21313 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21314 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21315 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21316 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21317 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21318 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21319 * sysdeps/unix/bsd/times.c: Likewise.
21320 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21321 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21325 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21326 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21327 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21328 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21329 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21330 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21331 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21332 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21333 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21334 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21335 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21336 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21337 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21338 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21339 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21340 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21341 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21342 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21343 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21344 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21345 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21346 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21347 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21348 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21349 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21350 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21351 * sysdeps/x86_64/strcspn.S: Likewise.
21352
869378a5
RA
213532013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21354
21355 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21356 generated file. Regenerate properly from gen-translit.pl.
21357 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21358 locale/C-translit.h.
21359
840e2943
AS
213602013-06-05 Andreas Schwab <schwab@suse.de>
21361
21362 [BZ #15100]
21363 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21364 week as 6 instead of -1.
21365 * time/tst-strptime.c (day_tests): Add test case.
21366
4c60cb0c
SP
213672013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21368
21369 * sysdeps/generic/math_private.h
21370 (libc_feholdexcept_setround_53bit): Replace with
21371 libc_feholdsetround_53bit.
21372 (libc_feupdateenv_53bit): Replace with
21373 libc_feresetround_53bit.
21374 (SET_RESTORE_ROUND_53BIT): Adjust.
21375
d180203e
SP
213762013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21377
96df079a
SP
21378 * string/test-strchrnul.c: Add copyright header.
21379
d180203e
SP
21380 * posix/tst-getaddrinfo4.c: Increase test timeout.
21381
8b0ccb2d
CD
213822013-06-03 Carlos O'Donell <carlos@redhat.com>
21383
21384 [BZ #15536]
21385 * math/libm-test.inc (MAX_EXP): Remove
21386 (MIN_EXP): Define.
21387 (ulp): Use MIN_EXP - MANT_DIG.
21388 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21389
3b3c4d40
CD
213902013-05-31 Carlos O'Donell <carlos@redhat.com>
21391
21392 * po/be.po: Revert last change.
21393 * po/zh_CN.po: Likewise.
21394 * po/header.pot: Likewise.
21395
fab7ce3f
JM
213962013-05-31 Joseph Myers <joseph@codesourcery.com>
21397
21398 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21399 link-libc-deps to empty as target-specific variable.
21400 * Makerules (link-libc-args): New variable.
21401 (libc-for-link): Likewise.
21402 (link-libc-deps): Likewise.
21403 (lib%.so): Depend on $(link-libc-deps). Link with
21404 $(link-libc-args).
21405 (build-module): Link with $(link-libc-args).
21406 (build-module-asneeded): Likewise.
21407 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21408 list of objects.
21409 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21410 target-specific variable.
21411 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21412 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21413 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21414 libc.
21415 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21416 libc and ld.so.
21417 ($(objpfx)libpcprofile.so): Likewise.
21418 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21419 libc_nonshared.a.
21420 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21421 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21422 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21423 $(link-libc-deps).
21424 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21425 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21426 * login/Makefile ($(objpfx)libutil.so): Likewise.
21427 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21428 * math/Makefile ($(objpfx)libm.so): Likewise.
21429 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21430 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21431 variable instead of depending directly on libc.
21432 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21433 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21434 $(link-libc-deps).
21435 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21436 libc.
21437 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21438 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21439 ($(objpfx)libanl.so): Likewise.
21440 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21441 ld.so.
21442 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21443 $(link-libc-deps).
21444 * sysdeps/i386/fpu/Makefile: Remove file.
21445 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21446 ($(objpfx)libm.so): Remove dependency on ld.so.
21447
eca5920c
PF
214482013-05-30 Patsy Franklin <pfrankli@redhat.com>
21449
21450 [BZ # 15553]
21451 * nis/yp_xdr.c (XDRMAXNAME): Define.
21452 (XDRMAXRECORD): Define.
21453 (xdr_domainname): Use XDRMAXNAME.
21454 (xdr_mapname): Likewise.
21455 (xdr_peername): Likewise.
21456 (xdr_keydat): Use XDRMAXRECORD.
21457 (xdr_valdat): Likewise.
21458
214592013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21460
21461 [BZ #14256]
21462 * manual/errno.texi (ESTALE): Update to account for more than
21463 just NFS file systems.
21464 * sysdeps/gnu/errlist.c: Regenerated.
21465
b9375348
SP
214662013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21467
21468 [BZ #15465]
21469 * elf/Makefile (tests): Add tst-null-argv.
21470 (modules-names): Add tst-null-argv-lib.
21471 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21472 (tst-null-argv-ENV): Set environment for tst-null-argv.
21473 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21474 (RTLD_PROGNAME): New macro.
21475 * elf/tst-null-argv.c: New test case.
21476 * elf/tst-null-argv-lib.c: Library for test case.
21477 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21478 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21479 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21480 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21481 * elf/dl-init.c (call_init): Likewise.
21482 (_dl_init): Likewise.
21483 * elf/dl-load.c (print_search_path): Likewise.
21484 (_dl_map_object): Likewise.
21485 * elf/dl-lookup.c (do_lookup_x): Likewise.
21486 (add_dependency): Likewise.
21487 (_dl_lookup_symbol_x): Likewise.
21488 (_dl_debug_bindings): Likewise.
21489 * elf/dl-open.c (_dl_show_scope): Likewise.
21490 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21491 * elf/dl-version.c (match_symbol): Likewise.
21492 (_dl_check_map_versions): Likewise.
21493 * elf/rtld.c (dl_main): Likewise.
21494 (print_unresolved): Use RTLD_PROGNAME.
21495 (print_missing_version): Likewise.
21496 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21497 (elf_machine_rela): Likewise.
21498 * sysdeps/powerpc/powerpc32/dl-machine.c
21499 (__process_machine_rela): Likewise.
21500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21501 Likewise.
21502 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21503 Likewise.
21504 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21505 Likewise.
21506 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21507 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21508 Likewise.
21509 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21510 Likewise.
21511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21512
8a9f20c8
CD
215132013-05-28 Carlos O'Donell <carlos@redhat.com>
21514
21515 * po/be.po: Add descriptive title.
21516 * po/zh_CN.po: Likewise.
21517 * po/header.pot: Likewise.
21518
0e60d68e
MF
215192013-05-28 Mike Frysinger <vapier@gentoo.org>
21520
21521 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21522 error message.
21523 (enlarge_archive): Likewise.
21524
56b672e9
BN
215252013-05-28 Ben North <ben@redfrontdoor.org>
21526
21527 * manual/arith.texi (frexp): It is the magnitude of the return
21528 value which lies in [0.5, 1), not the return value itself.
21529
5e056687
AZ
215302013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21531
21532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21533
2b66ef5d
TS
215342013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21535
528c2405
TS
21536 * stdio-common/bug26.c (main): Correct fscanf template.
21537
07b4c13d
TS
21538 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21539 declare _dl_skip_args.
21540
ec9dd97c
TS
21541 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21542 Don't declare.
21543
2b66ef5d
TS
21544 * manual/platform.texi: Add missing @end deftypefun.
21545
4f8dfe27
JM
215462013-05-24 Joseph Myers <joseph@codesourcery.com>
21547
0323d086
JM
21548 [BZ #15529]
21549 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21550 bit of mantissa of 2^16382.
21551 * math/libm-test.inc (hypot_test_data): Add more tests.
21552
dd4259b9
JM
21553 * math/libm-test.inc: Add drem and pow10 to list of tested
21554 functions.
21555 (pow10_test): New function.
21556 (drem_test): Likewise.
21557 (drem_test_tonearest): Likewise.
21558 (drem_test_towardzero): Likewise.
21559 (drem_test_downward): Likewise.
21560 (drem_test_upward): Likewise.
21561 (main): Call the new functions.
21562
4f8dfe27
JM
21563 * math/libm-test.inc (finite_test_data): Remove.
21564 (finite_test): Run tests from isfinite_test_data.
21565 (gamma_test_data): Remove.
21566 (gamma_test): Run tests from lgamma_test_data.
21567 * sysdeps/i386/fpu/libm-test-ulps: Update.
21568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21569
d116b7c4
AZ
215702013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21571
21572 * manual/platform.texi: Add PowerPC PPR function set documentation.
21573 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21574 implementation.
21575
e96e3767
CD
215762013-05-24 Carlos O'Donell <carlos@redhat.com>
21577
21578 * math/libm-test.inc (MAX_EXP): Define.
21579 (ULPDIFF): Define.
21580 (ulp): New function.
21581 (check_float_internal): Use ULPDIFF.
21582 (cpow_test): Disable failing test.
21583 (check_ulp): Test ulp() implemetnation.
21584 (main): Call check_ulp before starting tests.
21585
b679a606
JM
215862013-05-24 Joseph Myers <joseph@codesourcery.com>
21587
e8bdba36
JM
21588 * math/gen-libm-test.pl (generate_testfile): Do not handle
21589 START_DATA and END_DATA.
21590 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21591 END_DATA.
21592 (acos_tonearest_test_data): Likewise.
21593 (acos_towardzero_test_data): Likewise.
21594 (acos_downward_test_data): Likewise.
21595 (acos_upward_test_data): Likewise.
21596 (acosh_test_data): Likewise.
21597 (asin_test_data): Likewise.
21598 (asin_tonearest_test_data): Likewise.
21599 (asin_towardzero_test_data): Likewise.
21600 (asin_downward_test_data): Likewise.
21601 (asin_upward_test_data): Likewise.
21602 (asinh_test_data): Likewise.
21603 (atan_test_data): Likewise.
21604 (atanh_test_data): Likewise.
21605 (atan2_test_data): Likewise.
21606 (cabs_test_data): Likewise.
21607 (cacos_test_data): Likewise.
21608 (cacosh_test_data): Likewise.
21609 (carg_test_data): Likewise.
21610 (casin_test_data): Likewise.
21611 (casinh_test_data): Likewise.
21612 (catan_test_data): Likewise.
21613 (catanh_test_data): Likewise.
21614 (cbrt_test_data): Likewise.
21615 (ccos_test_data): Likewise.
21616 (ccosh_test_data): Likewise.
21617 (ceil_test_data): Likewise.
21618 (cexp_test_data): Likewise.
21619 (cimag_test_data): Likewise.
21620 (clog_test_data): Likewise.
21621 (clog10_test_data): Likewise.
21622 (conj_test_data): Likewise.
21623 (copysign_test_data): Likewise.
21624 (cos_test_data): Likewise.
21625 (cos_tonearest_test_data): Likewise.
21626 (cos_towardzero_test_data): Likewise.
21627 (cos_downward_test_data): Likewise.
21628 (cos_upward_test_data): Likewise.
21629 (cosh_test_data): Likewise.
21630 (cosh_tonearest_test_data): Likewise.
21631 (cosh_towardzero_test_data): Likewise.
21632 (cosh_downward_test_data): Likewise.
21633 (cosh_upward_test_data): Likewise.
21634 (cpow_test_data): Likewise.
21635 (cproj_test_data): Likewise.
21636 (creal_test_data): Likewise.
21637 (csin_test_data): Likewise.
21638 (csinh_test_data): Likewise.
21639 (csqrt_test_data): Likewise.
21640 (ctan_test_data): Likewise.
21641 (ctan_tonearest_test_data): Likewise.
21642 (ctan_towardzero_test_data): Likewise.
21643 (ctan_downward_test_data): Likewise.
21644 (ctan_upward_test_data): Likewise.
21645 (ctanh_test_data): Likewise.
21646 (ctanh_tonearest_test_data): Likewise.
21647 (ctanh_towardzero_test_data): Likewise.
21648 (ctanh_downward_test_data): Likewise.
21649 (ctanh_upward_test_data): Likewise.
21650 (erf_test_data): Likewise.
21651 (erfc_test_data): Likewise.
21652 (exp_test_data): Likewise.
21653 (exp_tonearest_test_data): Likewise.
21654 (exp_towardzero_test_data): Likewise.
21655 (exp_downward_test_data): Likewise.
21656 (exp_upward_test_data): Likewise.
21657 (exp10_test_data): Likewise.
21658 (exp2_test_data): Likewise.
21659 (expm1_test_data): Likewise.
21660 (fabs_test_data): Likewise.
21661 (fdim_test_data): Likewise.
21662 (finite_test_data): Likewise.
21663 (floor_test_data): Likewise.
21664 (fma_test_data): Likewise.
21665 (fma_towardzero_test_data): Likewise.
21666 (fma_downward_test_data): Likewise.
21667 (fma_upward_test_data): Likewise.
21668 (fmax_test_data): Likewise.
21669 (fmin_test_data): Likewise.
21670 (fmod_test_data): Likewise.
21671 (fpclassify_test_data): Likewise.
21672 (frexp_test_data): Likewise.
21673 (gamma_test_data): Likewise.
21674 (hypot_test_data): Likewise.
21675 (ilogb_test_data): Likewise.
21676 (isfinite_test_data): Likewise.
21677 (isgreater_test_data): Likewise.
21678 (isgreaterequal_test_data): Likewise.
21679 (isinf_test_data): Likewise.
21680 (isless_test_data): Likewise.
21681 (islessequal_test_data): Likewise.
21682 (islessgreater_test_data): Likewise.
21683 (isnan_test_data): Likewise.
21684 (isnormal_test_data): Likewise.
21685 (issignaling_test_data): Likewise.
21686 (isunordered_test_data): Likewise.
21687 (j0_test_data): Likewise.
21688 (j1_test_data): Likewise.
21689 (jn_test_data): Likewise.
21690 (ldexp_test_data): Likewise.
21691 (lgamma_test_data): Likewise.
21692 (lrint_test_data): Likewise.
21693 (lrint_tonearest_test_data): Likewise.
21694 (lrint_towardzero_test_data): Likewise.
21695 (lrint_downward_test_data): Likewise.
21696 (lrint_upward_test_data): Likewise.
21697 (llrint_test_data): Likewise.
21698 (llrint_tonearest_test_data): Likewise.
21699 (llrint_towardzero_test_data): Likewise.
21700 (llrint_downward_test_data): Likewise.
21701 (llrint_upward_test_data): Likewise.
21702 (log_test_data): Likewise.
21703 (log10_test_data): Likewise.
21704 (log1p_test_data): Likewise.
21705 (log2_test_data): Likewise.
21706 (logb_test_data): Likewise.
21707 (logb_downward_test_data): Likewise.
21708 (lround_test_data): Likewise.
21709 (llround_test_data): Likewise.
21710 (modf_test_data): Likewise.
21711 (nearbyint_test_data): Likewise.
21712 (nextafter_test_data): Likewise.
21713 (nexttoward_test_data): Likewise.
21714 (pow_test_data): Likewise.
21715 (pow_tonearest_test_data): Likewise.
21716 (pow_towardzero_test_data): Likewise.
21717 (pow_downward_test_data): Likewise.
21718 (pow_upward_test_data): Likewise.
21719 (remainder_test_data): Likewise.
21720 (remainder_tonearest_test_data): Likewise.
21721 (remainder_towardzero_test_data): Likewise.
21722 (remainder_downward_test_data): Likewise.
21723 (remainder_upward_test_data): Likewise.
21724 (remquo_test_data): Likewise.
21725 (rint_test_data): Likewise.
21726 (rint_tonearest_test_data): Likewise.
21727 (rint_towardzero_test_data): Likewise.
21728 (rint_downward_test_data): Likewise.
21729 (rint_upward_test_data): Likewise.
21730 (round_test_data): Likewise.
21731 (scalb_test_data): Likewise.
21732 (scalbn_test_data): Likewise.
21733 (scalbln_test_data): Likewise.
21734 (signbit_test_data): Likewise.
21735 (sin_test_data): Likewise.
21736 (sin_tonearest_test_data): Likewise.
21737 (sin_towardzero_test_data): Likewise.
21738 (sin_downward_test_data): Likewise.
21739 (sin_upward_test_data): Likewise.
21740 (sincos_test_data): Likewise.
21741 (sinh_test_data): Likewise.
21742 (sinh_tonearest_test_data): Likewise.
21743 (sinh_towardzero_test_data): Likewise.
21744 (sinh_downward_test_data): Likewise.
21745 (sinh_upward_test_data): Likewise.
21746 (sqrt_test_data): Likewise.
21747 (tan_test_data): Likewise.
21748 (tan_tonearest_test_data): Likewise.
21749 (tan_towardzero_test_data): Likewise.
21750 (tan_downward_test_data): Likewise.
21751 (tan_upward_test_data): Likewise.
21752 (tanh_test_data): Likewise.
21753 (tgamma_test_data): Likewise.
21754 (trunc_test_data): Likewise.
21755 (y0_test_data): Likewise.
21756 (y1_test_data): Likewise.
21757 (yn_test_data): Likewise.
21758 (significand_test_data): Likewise.
21759
b679a606
JM
21760 * math/gen-libm-test.pl (@functions): Remove variable.
21761 (generate_testfile): Don't handle START and END lines.
21762 * math/libm-test.inc (START): New macro.
21763 (END): Likewise.
21764 (END_COMPLEX): Likewise.
21765 (acos_test): Use END macro without arguments.
21766 (acos_test_tonearest): Likewise.
21767 (acos_test_towardzero): Likewise.
21768 (acos_test_downward): Likewise.
21769 (acos_test_upward): Likewise.
21770 (acosh_test): Likewise.
21771 (asin_test): Likewise.
21772 (asin_test_tonearest): Likewise.
21773 (asin_test_towardzero): Likewise.
21774 (asin_test_downward): Likewise.
21775 (asin_test_upward): Likewise.
21776 (asinh_test): Likewise.
21777 (atan_test): Likewise.
21778 (atanh_test): Likewise.
21779 (atan2_test): Likewise.
21780 (cabs_test): Likewise.
21781 (cacos_test): Use END_COMPLEX macro without arguments.
21782 (cacosh_test): Likewise.
21783 (carg_test): Use END macro without arguments.
21784 (casin_test): Use END_COMPLEX macro without arguments.
21785 (casinh_test): Likewise.
21786 (catan_test): Likewise.
21787 (catanh_test): Likewise.
21788 (cbrt_test): Use END macro without arguments.
21789 (ccos_test): Use END_COMPLEX macro without arguments.
21790 (ccosh_test): Likewise.
21791 (ceil_test): Use END macro without arguments.
21792 (cexp_test): Use END_COMPLEX macro without arguments.
21793 (cimag_test): Use END macro without arguments.
21794 (clog_test): Use END_COMPLEX macro without arguments.
21795 (clog10_test): Likewise.
21796 (conj_test): Likewise.
21797 (copysign_test): Use END macro without arguments.
21798 (cos_test): Likewise.
21799 (cos_test_tonearest): Likewise.
21800 (cos_test_towardzero): Likewise.
21801 (cos_test_downward): Likewise.
21802 (cos_test_upward): Likewise.
21803 (cosh_test): Likewise.
21804 (cosh_test_tonearest): Likewise.
21805 (cosh_test_towardzero): Likewise.
21806 (cosh_test_downward): Likewise.
21807 (cosh_test_upward): Likewise.
21808 (cpow_test): Use END_COMPLEX macro without arguments.
21809 (cproj_test): Likewise.
21810 (creal_test): Use END macro without arguments.
21811 (csin_test): Use END_COMPLEX macro without arguments.
21812 (csinh_test): Likewise.
21813 (csqrt_test): Likewise.
21814 (ctan_test): Likewise.
21815 (ctan_test_tonearest): Likewise.
21816 (ctan_test_towardzero): Likewise.
21817 (ctan_test_downward): Likewise.
21818 (ctan_test_upward): Likewise.
21819 (ctanh_test): Likewise.
21820 (ctanh_test_tonearest): Likewise.
21821 (ctanh_test_towardzero): Likewise.
21822 (ctanh_test_downward): Likewise.
21823 (ctanh_test_upward): Likewise.
21824 (erf_test): Use END macro without arguments.
21825 (erfc_test): Likewise.
21826 (exp_test): Likewise.
21827 (exp_test_tonearest): Likewise.
21828 (exp_test_towardzero): Likewise.
21829 (exp_test_downward): Likewise.
21830 (exp_test_upward): Likewise.
21831 (exp10_test): Likewise.
21832 (exp2_test): Likewise.
21833 (expm1_test): Likewise.
21834 (fabs_test): Likewise.
21835 (fdim_test): Likewise.
21836 (finite_test): Likewise.
21837 (floor_test): Likewise.
21838 (fma_test): Likewise.
21839 (fma_test_towardzero): Likewise.
21840 (fma_test_downward): Likewise.
21841 (fma_test_upward): Likewise.
21842 (fmax_test): Likewise.
21843 (fmin_test): Likewise.
21844 (fmod_test): Likewise.
21845 (fpclassify_test): Likewise.
21846 (frexp_test): Likewise.
21847 (gamma_test): Likewise.
21848 (hypot_test): Likewise.
21849 (ilogb_test): Likewise.
21850 (isfinite_test): Likewise.
21851 (isgreater_test): Likewise.
21852 (isgreaterequal_test): Likewise.
21853 (isinf_test): Likewise.
21854 (isless_test): Likewise.
21855 (islessequal_test): Likewise.
21856 (islessgreater_test): Likewise.
21857 (isnan_test): Likewise.
21858 (isnormal_test): Likewise.
21859 (issignaling_test): Likewise.
21860 (isunordered_test): Likewise.
21861 (j0_test): Likewise.
21862 (j1_test): Likewise.
21863 (jn_test): Likewise.
21864 (ldexp_test): Likewise.
21865 (lgamma_test): Likewise.
21866 (lrint_test): Likewise.
21867 (lrint_test_tonearest): Likewise.
21868 (lrint_test_towardzero): Likewise.
21869 (lrint_test_downward): Likewise.
21870 (lrint_test_upward): Likewise.
21871 (llrint_test): Likewise.
21872 (llrint_test_tonearest): Likewise.
21873 (llrint_test_towardzero): Likewise.
21874 (llrint_test_downward): Likewise.
21875 (llrint_test_upward): Likewise.
21876 (log_test): Likewise.
21877 (log10_test): Likewise.
21878 (log1p_test): Likewise.
21879 (log2_test): Likewise.
21880 (logb_test): Likewise.
21881 (logb_test_downward): Likewise.
21882 (lround_test): Likewise.
21883 (llround_test): Likewise.
21884 (modf_test): Likewise.
21885 (nearbyint_test): Likewise.
21886 (nextafter_test): Likewise.
21887 (nexttoward_test): Likewise.
21888 (pow_test): Likewise.
21889 (pow_test_tonearest): Likewise.
21890 (pow_test_towardzero): Likewise.
21891 (pow_test_downward): Likewise.
21892 (pow_test_upward): Likewise.
21893 (remainder_test): Likewise.
21894 (remainder_test_tonearest): Likewise.
21895 (remainder_test_towardzero): Likewise.
21896 (remainder_test_downward): Likewise.
21897 (remainder_test_upward): Likewise.
21898 (remquo_test): Likewise.
21899 (rint_test): Likewise.
21900 (rint_test_tonearest): Likewise.
21901 (rint_test_towardzero): Likewise.
21902 (rint_test_downward): Likewise.
21903 (rint_test_upward): Likewise.
21904 (round_test): Likewise.
21905 (scalb_test): Likewise.
21906 (scalbn_test): Likewise.
21907 (scalbln_test): Likewise.
21908 (signbit_test): Likewise.
21909 (sin_test): Likewise.
21910 (sin_test_tonearest): Likewise.
21911 (sin_test_towardzero): Likewise.
21912 (sin_test_downward): Likewise.
21913 (sin_test_upward): Likewise.
21914 (sincos_test): Likewise.
21915 (sinh_test): Likewise.
21916 (sinh_test_tonearest): Likewise.
21917 (sinh_test_towardzero): Likewise.
21918 (sinh_test_downward): Likewise.
21919 (sinh_test_upward): Likewise.
21920 (sqrt_test): Likewise.
21921 (tan_test): Likewise.
21922 (tan_test_tonearest): Likewise.
21923 (tan_test_towardzero): Likewise.
21924 (tan_test_downward): Likewise.
21925 (tan_test_upward): Likewise.
21926 (tanh_test): Likewise.
21927 (tgamma_test): Likewise.
21928 (trunc_test): Likewise.
21929 (y0_test): Likewise.
21930 (y1_test): Likewise.
21931 (yn_test): Likewise.
21932 (significand_test): Likewise.
21933
bae143d2
OB
219342013-05-24 Ondřej Bílka <neleai@seznam.cz>
21935
21936 [BZ #15381]
21937 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21938
9323d39b
EM
219392013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21940
d4ea44a0 21941 [BZ #14894]
9323d39b
EM
21942 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21943 __ppc_mdoio and __ppc_mdoom.
21944 * manual/platform.texi: Document new functions __ppc_yield,
21945 __ppc_mdoio and __ppc_mdoom.
21946
13e23af7
CD
219472013-05-22 Carlos O'Donell <carlos@redhat.com>
21948
21949 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21950 (main): Mention "tls" pseudo-hwcap is legacy.
21951 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21952
351fe550
JM
219532013-05-22 Joseph Myers <joseph@codesourcery.com>
21954
21955 * math/gen-libm-test.pl (parse_args): Output only string of
21956 arguments as text for test name, not full call or descriptions of
21957 tests for extra outputs.
21958 (generate_testfile): Do not pass function name to parse_args.
21959 Generate this_func variable from START.
21960 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21961 field to arg_str.
21962 (struct test_ff_f_data): Likewise.
21963 (test_ff_f_data_nexttoward): Likewise.
21964 (struct test_fi_f_data): Likewise.
21965 (struct test_fl_f_data): Likewise.
21966 (struct test_if_f_data): Likewise.
21967 (struct test_fff_f_data): Likewise.
21968 (struct test_c_f_data): Likewise.
21969 (struct test_f_f1_data): Likewise. Remove field extra_name.
21970 (struct test_fF_f1_data): Likewise.
21971 (struct test_ffI_f1_data): Likewise.
21972 (struct test_c_c_data): Rename test_name field to arg_str.
21973 (struct test_cc_c_data): Likewise.
21974 (struct test_f_i_data): Likewise.
21975 (struct test_ff_i_data): Likewise.
21976 (struct test_f_l_data): Likewise.
21977 (struct test_f_L_data): Likewise.
21978 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21979 and extra2_name.
21980 (COMMON_TEST_SETUP): New macro.
21981 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21982 (COMMON_TEST_CLEANUP): Likewise.
21983 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21984 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21985 macros.
21986 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21987 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21988 macros.
21989 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21990 (RUN_TEST_fff_f): Take argument string. Call new setup and
21991 cleanup macros.
21992 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21993 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21994 macros.
21995 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21996 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21997 macros.
21998 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21999 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22000 cleanup macros.
22001 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22002 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22003 cleanup macros.
22004 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22005 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22006 cleanup macros.
22007 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22008 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22009 macros.
22010 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22011 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22012 macros.
22013 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22014 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22015 macros.
22016 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22017 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22018 cleanup macros.
22019 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22020 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22021 cleanup macros.
22022 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22023 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22024 macros.
22025 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22026 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22027 cleanup macros.
22028 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22029 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22030 macros.
22031 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22032 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22033 macros.
22034 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22035 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22036 cleanup macros.
22037 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22038
85118d4d
EBM
220392013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22040
22041 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22042 to _sifields.sigfault.
22043 (si_addr_lsb): Define new macro.
22044 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22045 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22046 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22047
7a44c18f
CD
220482013-05-03 Carlos O'Donell <carlos at redhat.com>
22049
22050 [BZ #15441]
22051 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22052 returns -1.
22053 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22054 null return -1.
22055 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22056 loading the domain.
22057
b50a7181
JM
220582013-05-22 Joseph Myers <joseph@codesourcery.com>
22059
22060 * math/gen-libm-test.pl (parse_args): Do not include expected
22061 result in test name.
22062 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22064 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22065 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22066 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22068
051063c8
SP
220692013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22070
3ce9e010
SP
22071 * benchtests/Makefile: Sort function entries.
22072
051063c8
SP
22073 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22074 tanh, asinh, acosh, atanh.
22075 * benchtests/acos-inputs: New file.
22076 * benchtests/acosh-inputs: New file.
22077 * benchtests/asin-inputs: New file.
22078 * benchtests/asinh-inputs: New file.
22079 * benchtests/atanh-inputs: New file.
22080 * benchtests/cosh-inputs: New file.
22081 * benchtests/log-inputs: New file.
22082 * benchtests/sinh-inputs: New file.
22083 * benchtests/tanh-inputs: New file.
22084
47c22455
DL
220852013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22086
22087 [BZ #15339]
22088 * posix/tst-getaddrinfo4.c: New test.
22089 * posix/Makefile (tests): Add it.
22090
3d04f5db
SP
220912013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22092
22093 [BZ #15339]
22094 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22095 when no services were used.
22096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22097 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22098
d5dd6189
AS
220992013-05-21 Andreas Schwab <schwab@suse.de>
22100
22101 [BZ #15014]
22102 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22103 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22104 successful.
22105 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22106 redundant variable declarations and reallocation of buffer when
22107 parsing as IPv6 address. Always set NSS status when called from
22108 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22109 buffer too small. Correct computation of needed size.
22110 * nss/Makefile (tests): Add test-digits-dots.
22111 * nss/test-digits-dots.c: New test.
22112
fef94eab
SP
221132013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22114
22115 * benchtests/Makefile: Remove instructions for adding
22116 benchmark tests.
22117 * benchtests/README: New file to explain how to execute and
22118 enhance the benchmark tests.
22119
e39adf43
AS
221202013-05-21 Andreas Schwab <schwab@suse.de>
22121
22122 [BZ #15493]
22123 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22124 * setjmp/tst-sigsetjmp.c: New test.
22125
b2b671b6
OB
221262013-05-20 Ondřej Bílka <neleai@seznam.cz>
22127
22128 * sysdeps/x86_64/memset.S (memset): New implementation.
22129 (__bzero): Likewise.
22130 (__memset_tail): New function.
22131
2d48b41c
OB
221322013-05-20 Ondřej Bílka <neleai@seznam.cz>
22133
22134 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22135 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22136 __memcpy_sse2_unaligned ifunc selection.
22137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22138 Add memcpy-sse2-unaligned.S.
22139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22140 Add: __memcpy_sse2_unaligned.
22141
f16cc3eb
JM
221422013-05-19 Joseph Myers <joseph@codesourcery.com>
22143
3e694268
JM
22144 [BZ #15490]
22145 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22146 math_force_eval before restoring floating-point envrionment.
22147 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22149 Likewise.
22150 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22151 <math_private.h>.
22152 (__nearbyintl): Use math_force_eval before restoring
22153 floating-point environment.
22154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22155
db62a907
JM
22156 * math/gen-libm-test.pl (special_functions): Remove.
22157 (parse_args): Don't handle TEST_extra. Handle functions with no
22158 return value.
22159 * math/libm-test.inc (struct test_sincos_data): Replace with
22160 struct test_fFF_11_data.
22161 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22162 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22163 (sincos_test_data): Change element type to struct
22164 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22165 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22166 RUN_TEST_LOOP_sincos.
22167 * math/README.libm-test: Don't mention special handling of
22168 individual functions.
22169 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22170 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22171 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22172 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22173 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22175
f16cc3eb
JM
22176 * math/gen-libm-test.pl (get_variable): Remove function.
22177 (parse_args): Don't show pointer parameters to call in test
22178 names. Use "extra output N" in test names for extra outputs
22179 rather than naming variables.
22180
3779b5b6
JM
221812013-05-18 Joseph Myers <joseph@codesourcery.com>
22182
2ee094ff
JM
22183 [BZ #15488]
22184 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22185 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22186 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22187 double tests.
22188 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22189 disable.
22190 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22191 check_long_double.
22192
3779b5b6
JM
22193 * math/gen-libm-test.pl (@tests): Remove variable.
22194 ($count): Likewise.
22195 (new_test): Remove function.
22196 (show_exceptions): New function.
22197 (special_functions): Use show_exceptions instead of new_test.
22198 (parse_args): Likewise.
22199 (generate_testfile): Pass only function name in generated call to
22200 print_max_error or print_complex_max_error.
22201 (get_ulps): Do not handle complex tests specially.
22202 (output_test): Rename to ...
22203 (get_all_ulps_for_test): ... this. Return a string rather than
22204 printing to a file. Require ulps to be present.
22205 (output_ulps): Generate arrays rather than #defines.
22206 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22207 (struct ulp_data): New type.
22208 (BUILD_COMPLEX_ULP): Remove macro.
22209 (compare_ulp_data): New function.
22210 (find_ulps): Likewise.
22211 (find_test_ulps): Likewise.
22212 (find_function_ulps): Likewise.
22213 (find_complex_function_ulps): Likewise.
22214 (print_max_error): Determine allowed ulps using
22215 find_function_ulps.
22216 (print_complex_max_error): Determine allowed ulps using
22217 find_complex_function_ulps.
22218 (check_float_internal): Determine max ulps using find_test_ulps.
22219 (check_float): Do not take max_ulp parameter. Update call to
22220 check_float_internal.
22221 (check_complex): Likewise.
22222 (check_int): Do not take max_ulp parameter.
22223 (check_long): Likewise.
22224 (check_bool): Likewise.
22225 (check_longlong): Likewise.
22226 (struct test_f_f_data): Remove max_ulp field.
22227 (struct test_ff_f_data): Likewise.
22228 (struct test_ff_f_data_nexttoward): Likewise.
22229 (struct test_fi_f_data): Likewise.
22230 (struct test_fl_f_data): Likewise.
22231 (struct test_if_f_data): Likewise.
22232 (struct test_fff_f_data): Likewise.
22233 (struct test_c_f_data): Likewise.
22234 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22235 (struct test_fF_f1_data): Likewise.
22236 (struct test_ffI_f1_data): Likewise.
22237 (struct test_c_c_data): Remove max_ulp field.
22238 (struct test_cc_c_data): Likewise.
22239 (struct test_f_i_data): Likewise.
22240 (struct test_ff_i_data): Likewise.
22241 (struct test_f_l_data): Likewise.
22242 (struct test_f_L_data): Likewise.
22243 (struct test_sincos_data): Likewise.
22244 (RUN_TEST_f_f): Do not handle ulps.
22245 (RUN_TEST_LOOP_f_f): Likewise.
22246 (RUN_TEST_2_f): Likewise.
22247 (RUN_TEST_LOOP_2_f): Likewise.
22248 (RUN_TEST_fff_f): Likewise.
22249 (RUN_TEST_LOOP_fff_f): Likewise.
22250 (RUN_TEST_c_f): Likewise.
22251 (RUN_TEST_LOOP_c_f): Likewise.
22252 (RUN_TEST_f_f1): Likewise.
22253 (RUN_TEST_LOOP_f_f1): Likewise.
22254 (RUN_TEST_fF_f1): Likewise.
22255 (RUN_TEST_LOOP_fF_f1): Likewise.
22256 (RUN_TEST_fI_f1): Likewise.
22257 (RUN_TEST_LOOP_fI_f1): Likewise.
22258 (RUN_TEST_ffI_f1): Likewise.
22259 (RUN_TEST_LOOP_ffI_f1): Likewise.
22260 (RUN_TEST_c_c): Likewise.
22261 (RUN_TEST_LOOP_c_c): Likewise.
22262 (RUN_TEST_cc_c): Likewise.
22263 (RUN_TEST_LOOP_cc_c): Likewise.
22264 (RUN_TEST_f_i): Likewise.
22265 (RUN_TEST_LOOP_f_i): Likewise.
22266 (RUN_TEST_f_i_tg): Likewise.
22267 (RUN_TEST_LOOP_f_i_tg): Likewise.
22268 (RUN_TEST_ff_i_tg): Likewise.
22269 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22270 (RUN_TEST_f_b): Likewise.
22271 (RUN_TEST_LOOP_f_b): Likewise.
22272 (RUN_TEST_f_b_tg): Likewise.
22273 (RUN_TEST_LOOP_f_b_tg): Likewise.
22274 (RUN_TEST_f_l): Likewise.
22275 (RUN_TEST_LOOP_f_l): Likewise.
22276 (RUN_TEST_f_L): Likewise.
22277 (RUN_TEST_LOOP_f_L): Likewise.
22278 (RUN_TEST_sincos): Likewise.
22279 (RUN_TEST_LOOP_sincos): Likewise.
22280
8269107f
JM
222812013-05-17 Joseph Myers <joseph@codesourcery.com>
22282
bb38759d
JM
22283 [BZ #15480]
22284 [BZ #15485]
22285 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22286 main case of finite arguments, set rounding mode to FE_TONEAREST
22287 and discard exceptions.
22288 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22289 exceptions.
22290 (remainder_tonearest_test_data): New variable.
22291 (remainder_test_tonearest): New function.
22292 (remainder_towardzero_test_data): New variable.
22293 (remainder_test_towardzero): New function.
22294 (remainder_downward_test_data): New variable.
22295 (remainder_test_downward): New function.
22296 (remainder_upward_test_data): New variable.
22297 (remainder_test_upward): New function.
22298 (main): Call the new test functions.
22299
a00bdcf0
JM
22300 * math/libm-test.inc (struct test_f_f1_data): Remove field
22301 extra_init.
22302 (struct test_fF_f1_data): Likewise.
22303 (struct test_ffI_f1_data): Likewise.
22304 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22305 based on value of EXTRA_EXPECTED.
22306 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22307 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22308 EXTRA_VAR based on value of EXTRA_EXPECTED.
22309 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22310 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22311 EXTRA_VAR based on value of EXTRA_EXPECTED.
22312 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22313 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22314 EXTRA_VAR based on value of EXTRA_EXPECTED.
22315 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22316 * math/gen-libm-test.pl (parse_args): Don't output initializers
22317 for extra output values.
22318
de407f79
JM
22319 * math/libm-test.inc (check_int): Expect result to be exactly
22320 equal to expected value and do not handle ulps.
22321 (check_long): Likewise.
22322 (check_longlong): Likewise.
22323
8269107f
JM
22324 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22325 exceptions.
22326 (cimag_test_data): Likewise.
22327 (conj_test_data): Likewise.
22328 (copysign_test_data): Likewise.
22329 (cproj_test_data): Likewise.
22330 (creal_test_data): Likewise.
22331 (fabs_test_data): Likewise.
22332 (fdim_test_data): Likewise.
22333 (finite_test_data): Likewise.
22334 (floor_test_data): Likewise.
22335 (fmax_test_data): Likewise.
22336 (fmin_test_data): Likewise.
22337 (fmod_test_data): Likewise.
22338 (fpclassify_test_data): Likewise.
22339 (frexp_test_data): Likewise.
22340 (ilogb_test_data): Likewise.
22341 (isfinite_test_data): Likewise.
22342 (isgreater_test_data): Likewise.
22343 (isgreaterequal_test_data): Likewise.
22344 (isinf_test_data): Likewise.
22345 (isless_test_data): Likewise.
22346 (islessequal_test_data): Likewise.
22347 (islessgreater_test_data): Likewise.
22348 (isnan_test_data): Likewise.
22349 (isnormal_test_data): Likewise.
22350 (issignaling_test_data): Likewise.
22351 (isunordered_test_data): Likewise.
22352 (ldexp_test_data): Likewise.
22353 (lrint_test_data): Likewise.
22354 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22355 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22356 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22357 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22358 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22359 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22360 test input.
22361 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22362 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22363 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22364 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22365 that test input.
22366 (lrint_downward_test_data): Test for "inexact" exceptions.
22367 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22368 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22369 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22370 test input.
22371 (lrint_upward_test_data): Test for "inexact" exceptions.
22372 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22373 test input.
22374 (llrint_test_data): Test for "inexact" exceptions.
22375 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22376 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22377 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22378 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22379 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22380 (llrint_downward_test_data): Test for "inexact" exceptions.
22381 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22382 (llrint_upward_test_data): Test for "inexact" exceptions.
22383 (logb_test_data): Likewise.
22384 (logb_downward_test_data): Likewise.
22385 (nextafter_test_data): Likewise.
22386 (nexttoward_test_data): Likewise.
22387 (remainder_test_data): Likewise.
22388 (remquo_test_data): Likewise.
22389 (scalbn_test_data): Likewise.
22390 (scalbln_test_data): Likewise.
22391 (signbit_test_data): Likewise.
22392 (sqrt_test_data): Likewise.
22393 (significand_test_data): Likewise.
22394
48a18de1
SP
223952013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22396
22397 [BZ #15424]
22398 * benchtests/bench-modf.c (struct args): Mark arg0 as
22399 volatile.
22400 * scripts/bench.pl: Mark members of struct args as volatile.
22401
13d3b41a
AZ
224022013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22403
68191c1d 22404 [BZ # 15497]
13d3b41a
AZ
22405 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22406 negative infinity on POWER6 or lower.
22407 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22408
2848b105
MR
224092013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22410
22411 [BZ #15442]
22412 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22413 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22414 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22415 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22416 (_FP_SETQNAN): New macro.
22417 (_FP_SETQNAN_SEMIRAW): Likewise.
22418 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22419 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22420 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22421 (FP_EXTEND): Use _FP_FRAC_SNANP.
22422 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22423 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22424 into account.
22425 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22426 New macro.
22427 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22428 Likewise.
22429
323e5cb7
JM
224302013-05-16 Joseph Myers <joseph@codesourcery.com>
22431
c58b274f
JM
22432 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22433 with DIVIDE_BY_ZERO_EXCEPTION.
22434 (gamma_test_data): Likewise.
22435 (lgamma_test_data): Likewise.
22436 (log_test_data): Likewise.
22437 (log10_test_data): Likewise.
22438 (log2_test_data): Likewise.
22439 (tgamma_test_data): Likewise.
22440
0ab34904
JM
22441 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22442 (acos_test_tonearest): Likewise.
22443 (acos_test_towardzero): Likewise.
22444 (acos_test_downward): Likewise.
22445 (acos_test_upward): Likewise.
22446 (acosh_test): Likewise.
22447 (asin_test): Likewise.
22448 (asin_test_tonearest): Likewise.
22449 (asin_test_towardzero): Likewise.
22450 (asin_test_downward): Likewise.
22451 (asin_test_upward): Likewise.
22452 (asinh_test): Likewise.
22453 (atan_test): Likewise.
22454 (atanh_test): Likewise.
22455 (atan2_test): Likewise.
22456 (cabs_test): Likewise.
22457 (cacos_test): Likewise.
22458 (cacosh_test): Likewise.
22459 (casin_test): Likewise.
22460 (casinh_test): Likewise.
22461 (catan_test): Likewise.
22462 (catanh_test): Likewise.
22463 (cbrt_test): Likewise.
22464 (ccos_test): Likewise.
22465 (ccosh_test): Likewise.
22466 (cexp_test): Likewise.
22467 (clog_test): Likewise.
22468 (clog10_test): Likewise.
22469 (cos_test): Likewise.
22470 (cos_test_tonearest): Likewise.
22471 (cos_test_towardzero): Likewise.
22472 (cos_test_downward): Likewise.
22473 (cos_test_upward): Likewise.
22474 (cosh_test): Likewise.
22475 (cosh_test_tonearest): Likewise.
22476 (cosh_test_towardzero): Likewise.
22477 (cosh_test_downward): Likewise.
22478 (cosh_test_upward): Likewise.
22479 (cpow_test): Likewise.
22480 (csin_test): Likewise.
22481 (csinh_test): Likewise.
22482 (csqrt_test): Likewise.
22483 (ctan_test): Likewise.
22484 (ctan_test_tonearest): Likewise.
22485 (ctan_test_towardzero): Likewise.
22486 (ctan_test_downward): Likewise.
22487 (ctan_test_upward): Likewise.
22488 (ctanh_test): Likewise.
22489 (ctanh_test_tonearest): Likewise.
22490 (ctanh_test_towardzero): Likewise.
22491 (ctanh_test_downward): Likewise.
22492 (ctanh_test_upward): Likewise.
22493 (erf_test): Likewise.
22494 (erfc_test): Likewise.
22495 (exp_test): Likewise.
22496 (exp_test_tonearest): Likewise.
22497 (exp_test_towardzero): Likewise.
22498 (exp_test_downward): Likewise.
22499 (exp_test_upward): Likewise.
22500 (exp10_test): Likewise.
22501 (exp2_test): Likewise.
22502 (expm1_test): Likewise.
22503 (fmod_test): Likewise.
22504 (gamma_test): Likewise.
22505 (hypot_test): Likewise.
22506 (j0_test): Likewise.
22507 (j1_test): Likewise.
22508 (jn_test): Likewise.
22509 (lgamma_test): Likewise.
22510 (log_test): Likewise.
22511 (log10_test): Likewise.
22512 (log1p_test): Likewise.
22513 (log2_test): Likewise.
22514 (logb_test_downward): Likewise.
22515 (pow_test): Likewise.
22516 (pow_test_tonearest): Likewise.
22517 (pow_test_towardzero): Likewise.
22518 (pow_test_downward): Likewise.
22519 (pow_test_upward): Likewise.
22520 (remainder_test): Likewise.
22521 (remquo_test): Likewise.
22522 (sin_test): Likewise.
22523 (sin_test_tonearest): Likewise.
22524 (sin_test_towardzero): Likewise.
22525 (sin_test_downward): Likewise.
22526 (sin_test_upward): Likewise.
22527 (sincos_test): Likewise.
22528 (sinh_test): Likewise.
22529 (sinh_test_tonearest): Likewise.
22530 (sinh_test_towardzero): Likewise.
22531 (sinh_test_downward): Likewise.
22532 (sinh_test_upward): Likewise.
22533 (sqrt_test): Likewise.
22534 (tan_test): Likewise.
22535 (tan_test_tonearest): Likewise.
22536 (tan_test_towardzero): Likewise.
22537 (tan_test_downward): Likewise.
22538 (tan_test_upward): Likewise.
22539 (tanh_test): Likewise.
22540 (tgamma_test): Likewise.
22541 (y0_test): Likewise.
22542 (y1_test): Likewise.
22543 (yn_test): Likewise.
22544
323e5cb7
JM
22545 * math/gen-libm-test.pl (adjust_arg): Remove function.
22546 (special_function): Remove argument $in_func. Only handle
22547 generating output for tables of tests, not inside functions.
22548 (parse_args): Likewise.
22549 (generate_testfile): Remove variable $in_func. Update call to
22550 parse_args.
22551 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22552 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22553 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22554 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22555 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22556 (MAX_VALUE_INIT): Rename macro to max_value.
22557 (MIN_VALUE_INIT): Rename macro to min_value.
22558 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22559 (plus_zero): Remove variable.
22560 (minus_zero): Likewise.
22561 (plus_infty): Likewise.
22562 (minus_infty): Likewise.
22563 (qnan_value): Likewise.
22564 (max_value): Likewise.
22565 (min_value): Likewise.
22566 (min_subnorm_value): Likewise.
22567
e054f494
RA
225682013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22569
22570 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22571 uint64_t or uint32_t usage.
22572 * crypt/sha256-block.c: Likewise.
22573 * crypt/sha256-crypt.c: Likewise.
22574 * crypt/sha256.c: Likewise.
22575 * crypt/sha512-block.c: Likewise.
22576 * crypt/sha512-crypt.c: Likewise.
22577 * crypt/sha512.c: Likewise.
22578 * debug/backtrace-tst.c: Likewise.
22579 * debug/pcprofiledump.c: Likewise.
22580 * elf/cache.c: Likewise.
22581 * elf/dl-cache.c: Likewise.
22582 * elf/dl-misc.c: Likewise.
22583 * elf/dl-profile.c: Likewise.
22584 * elf/dl-support.c: Likewise.
22585 * elf/ldconfig.c: Likewise.
22586 * elf/sprof.c: Likewise.
22587 * iconv/dummy-repertoire.c: Likewise.
22588 * iconv/iconv_charmap.c: Likewise.
22589 * iconv/skeleton.c: Likewise.
22590 * iconvdata/8bit-generic.c: Likewise.
22591 * iconvdata/cp737.h: Likewise.
22592 * iconvdata/cp775.h: Likewise.
22593 * iconvdata/ibm1008.h: Likewise.
22594 * iconvdata/ibm1025.h: Likewise.
22595 * iconvdata/ibm1046.h: Likewise.
22596 * iconvdata/ibm1097.h: Likewise.
22597 * iconvdata/ibm1112.h: Likewise.
22598 * iconvdata/ibm1122.h: Likewise.
22599 * iconvdata/ibm1123.h: Likewise.
22600 * iconvdata/ibm1124.h: Likewise.
22601 * iconvdata/ibm1129.h: Likewise.
22602 * iconvdata/ibm1130.h: Likewise.
22603 * iconvdata/ibm1132.h: Likewise.
22604 * iconvdata/ibm1133.h: Likewise.
22605 * iconvdata/ibm1137.h: Likewise.
22606 * iconvdata/ibm1140.h: Likewise.
22607 * iconvdata/ibm1141.h: Likewise.
22608 * iconvdata/ibm1142.h: Likewise.
22609 * iconvdata/ibm1143.h: Likewise.
22610 * iconvdata/ibm1144.h: Likewise.
22611 * iconvdata/ibm1145.h: Likewise.
22612 * iconvdata/ibm1146.h: Likewise.
22613 * iconvdata/ibm1147.h: Likewise.
22614 * iconvdata/ibm1148.h: Likewise.
22615 * iconvdata/ibm1149.h: Likewise.
22616 * iconvdata/ibm1153.h: Likewise.
22617 * iconvdata/ibm1154.h: Likewise.
22618 * iconvdata/ibm1155.h: Likewise.
22619 * iconvdata/ibm1156.h: Likewise.
22620 * iconvdata/ibm1157.h: Likewise.
22621 * iconvdata/ibm1158.h: Likewise.
22622 * iconvdata/ibm1160.h: Likewise.
22623 * iconvdata/ibm1161.h: Likewise.
22624 * iconvdata/ibm1162.h: Likewise.
22625 * iconvdata/ibm1163.h: Likewise.
22626 * iconvdata/ibm1164.h: Likewise.
22627 * iconvdata/ibm1166.h: Likewise.
22628 * iconvdata/ibm1167.h: Likewise.
22629 * iconvdata/ibm12712.h: Likewise.
22630 * iconvdata/ibm1390.h: Likewise.
22631 * iconvdata/ibm1399.h: Likewise.
22632 * iconvdata/ibm16804.h: Likewise.
22633 * iconvdata/ibm4517.h: Likewise.
22634 * iconvdata/ibm4899.h: Likewise.
22635 * iconvdata/ibm4909.h: Likewise.
22636 * iconvdata/ibm4971.h: Likewise.
22637 * iconvdata/ibm5347.h: Likewise.
22638 * iconvdata/ibm803.h: Likewise.
22639 * iconvdata/ibm856.h: Likewise.
22640 * iconvdata/ibm901.h: Likewise.
22641 * iconvdata/ibm902.h: Likewise.
22642 * iconvdata/ibm9030.h: Likewise.
22643 * iconvdata/ibm9066.h: Likewise.
22644 * iconvdata/ibm921.h: Likewise.
22645 * iconvdata/ibm922.h: Likewise.
22646 * iconvdata/ibm9448.h: Likewise.
22647 * iconvdata/isiri-3342.h: Likewise.
22648 * iconvdata/jis0201.h: Likewise.
22649 * include/link.h: Likewise.
22650 * include/netdb.h: Likewise.
22651 * inet/check_native.c: Likewise.
22652 * inet/check_pf.c: Likewise.
22653 * inet/getipv4sourcefilter.c: Likewise.
22654 * inet/getnameinfo.c: Likewise.
22655 * inet/getsourcefilter.c: Likewise.
22656 * inet/htonl.c: Likewise.
22657 * inet/setipv4sourcefilter.c: Likewise.
22658 * inet/setsourcefilter.c: Likewise.
22659 * inet/test-inet6_opt.c: Likewise.
22660 * inet/tst-network.c: Likewise.
22661 * locale/C-collate.c: Likewise.
22662 * locale/C-ctype.c: Likewise.
22663 * locale/C-time.c: Likewise.
22664 * locale/C-translit.h: Likewise.
22665 * locale/loadarchive.c: Likewise.
22666 * locale/programs/3level.h: Likewise.
22667 * locale/programs/charmap.c: Likewise.
22668 * locale/programs/charmap.h: Likewise.
22669 * locale/programs/ld-address.c: Likewise.
22670 * locale/programs/ld-collate.c: Likewise.
22671 * locale/programs/ld-ctype.c: Likewise.
22672 * locale/programs/ld-identification.c: Likewise.
22673 * locale/programs/ld-measurement.c: Likewise.
22674 * locale/programs/ld-messages.c: Likewise.
22675 * locale/programs/ld-monetary.c: Likewise.
22676 * locale/programs/ld-name.c: Likewise.
22677 * locale/programs/ld-numeric.c: Likewise.
22678 * locale/programs/ld-paper.c: Likewise.
22679 * locale/programs/ld-telephone.c: Likewise.
22680 * locale/programs/ld-time.c: Likewise.
22681 * locale/programs/linereader.c: Likewise.
22682 * locale/programs/locale.c: Likewise.
22683 * locale/programs/locarchive.c: Likewise.
22684 * locale/programs/locfile.h: Likewise.
22685 * locale/programs/repertoire.c: Likewise.
22686 * locale/programs/simple-hash.c: Likewise.
22687 * locale/programs/simple-hash.h: Likewise.
22688 * malloc/memusage.c: Likewise.
22689 * malloc/memusagestat.c: Likewise.
22690 * nis/nis_defaults.c: Likewise.
22691 * nis/nis_hash.c: Likewise.
22692 * nis/nis_print.c: Likewise.
22693 * nis/nis_xdr.c: Likewise.
22694 * nscd/connections.c: Likewise.
22695 * nscd/hstcache.c: Likewise.
22696 * nscd/nscd_gethst_r.c: Likewise.
22697 * nscd/nscd_getserv_r.c: Likewise.
22698 * nscd/nscd_helper.c: Likewise.
22699 * nscd/servicescache.c: Likewise.
22700 * nss/makedb.c: Likewise.
22701 * nss/nss_db/db-XXX.c: Likewise.
22702 * nss/nss_db/db-initgroups.c: Likewise.
22703 * nss/nss_db/db-netgrp.c: Likewise.
22704 * nss/nss_files/files-network.c: Likewise.
22705 * nss/nss_files/files-parse.c: Likewise.
22706 * posix/bug-regex5.c: Likewise.
22707 * posix/fnmatch_loop.c: Likewise.
22708 * posix/regcomp.c: Likewise.
22709 * posix/regexec.c: Likewise.
22710 * posix/tst-rfc3484-2.c: Likewise.
22711 * posix/tst-rfc3484-3.c: Likewise.
22712 * posix/tst-rfc3484.c: Likewise.
22713 * resolv/nss_dns/dns-canon.c: Likewise.
22714 * resolv/nss_dns/dns-network.c: Likewise.
22715 * resolv/res_init.c: Likewise.
22716 * resolv/res_mkquery.c: Likewise.
22717 * resolv/tst-aton.c: Likewise.
22718 * stdlib/cxa_atexit.c: Likewise.
22719 * stdlib/cxa_finalize.c: Likewise.
22720 * stdlib/gen-fpioconst.c: Likewise.
22721 * stdlib/strtol_l.c: Likewise.
22722 * string/tst-endian.c: Likewise.
22723 * sunrpc/auth_des.c: Likewise.
22724 * sunrpc/clnt_udp.c: Likewise.
22725 * sunrpc/rtime.c: Likewise.
22726 * sunrpc/svcauth_des.c: Likewise.
22727 * sunrpc/xdr.c: Likewise.
22728 * sunrpc/xdr_intXX_t.c: Likewise.
22729 * sunrpc/xdr_rec.c: Likewise.
22730 * sysdeps/generic/ldconfig.h: Likewise.
22731 * sysdeps/generic/ldsodefs.h: Likewise.
22732 * sysdeps/generic/memusage.h: Likewise.
22733 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22736 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22743 * sysdeps/posix/getaddrinfo.c: Likewise.
22744 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22745 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22746 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22747 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22748 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22749 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22750 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22751 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22752 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22753 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22754 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22755 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22756 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22757 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22758 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22759 * sysdeps/x86_64/dl-tls.h: Likewise.
22760 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22761 * time/alt_digit.c: Likewise.
22762 * time/era.c: Likewise.
22763 * wcsmbs/tst-c16c32-1.c: Likewise.
22764
8c75f674
JM
227652013-05-16 Joseph Myers <joseph@codesourcery.com>
22766
22767 * math/libm-test.inc (struct test_sincos_data): New type.
22768 (RUN_TEST_LOOP_sincos): New macro.
22769 (sincos_test_data): New variable.
22770 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22771
e6e49e59
RH
227722013-05-16 Richard Henderson <rth@redhat.com>
22773
22774 * math/atest-exp2.c (LIMB64): New macro.
22775 (CONSTSZ): New macro.
22776 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22777 (hexdig): Move ...
22778 (print_mpn_fp): ... to function scope.
22779 (read_mpn_hex): Remove.
22780 (get_log2): Remove.
22781 (exp2_mpn): Use mp_log2.
22782 (main): Use mp_exp1.
22783
15c7c18d
JM
227842013-05-16 Joseph Myers <joseph@codesourcery.com>
22785
105a07df
JM
22786 * math/libm-test.inc: Remove comment about not testing "inexact"
22787 exceptions.
22788 (INEXACT_EXCEPTION): New macro.
22789 (NO_INEXACT_EXCEPTION): Likewise.
22790 (INVALID_EXCEPTION_OK): Update value.
22791 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22792 (OVERFLOW_EXCEPTION_OK): Likewise.
22793 (UNDERFLOW_EXCEPTION_OK): Likewise.
22794 (IGNORE_ZERO_INF_SIGN): Likewise.
22795 (ERRNO_UNCHANGED): Likewise.
22796 (ERRNO_EDOM): Likewise.
22797 (ERRNO_ERANGE): Likewise.
22798 (test_exceptions): Handle testing "inexact" exceptions.
22799 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22800 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22801 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22802 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22803 INEXACT_EXCEPTION.
22804 (rint_towardzero_test_data): Likewise.
22805 (rint_downward_test_data): Likewise.
22806 (rint_upward_test_data): Likewise.
22807
e9eee333
JM
22808 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22809 with OVERFLOW_EXCEPTION.
22810 (exp10_test_data): Likewise.
22811 (exp2_test_data): Likewise.
22812 (expm1_test_data): Likewise.
22813 (lgamma_test_data): Likewise.
22814 (pow_test_data): Likewise.
22815 (tgamma_test_data): Likewise.
22816 (yn_test_data): Remove duplicate test of overflow.
22817
1c38ff73
JM
22818 * math/libm-test.inc (struct test_cc_c_data): New type.
22819 (RUN_TEST_LOOP_cc_c): New macro.
22820 (cpow_test_data): New variable.
22821 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22822
15c7c18d
JM
22823 * math/libm-test.inc (struct test_f_L_data): New type.
22824 (RUN_TEST_LOOP_f_L): New macro.
22825 (llrint_test_data): New variable.
22826 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22827 (llrint_tonearest_test_data): New variable.
22828 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22829 (llrint_towardzero_test_data): New variable.
22830 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22831 (llrint_downward_test_data): New variable.
22832 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22833 (llrint_upward_test_data): New variable.
22834 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22835 (llround_test_data): New variable.
22836 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22837
f137ff13
PC
228382013-05-13 Peter Collingbourne <pcc@google.com>
22839
22840 * math/atest-exp2.c (get_log2): Remove const attribute.
22841
3608cb24
JM
228422013-05-15 Joseph Myers <joseph@codesourcery.com>
22843
22844 * math/libm-test.inc (struct test_f_l_data): New type.
22845 (RUN_TEST_LOOP_f_l): New macro.
22846 (lrint_test_data): New variable.
22847 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22848 (lrint_tonearest_test_data): New variable.
22849 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22850 (lrint_towardzero_test_data): New variable.
22851 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22852 (lrint_downward_test_data): New variable.
22853 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22854 (lrint_upward_test_data): New variable.
22855 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22856 (lround_test_data): New variable.
22857 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22858
39b1f617
PC
228592013-05-15 Peter Collingbourne <pcc@google.com>
22860
1deff3dc
PC
22861 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22862 (EXTRACT_WORDS64) Use where appropriate.
22863 (INSERT_WORDS64) Likewise.
22864
791f3ba0
PC
22865 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22866 constraints with x constraints.
22867 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22868
39b1f617
PC
22869 * malloc/obstack.c (_obstack_compat): Add initializer.
22870
12fba011
EM
228712013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22872
22873 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22874 si_trapno and add si_addr_lsb to _sifields.sigfault.
22875 (si_trapno): Remove macro.
22876 (si_addr_lsb): Define new macro.
22877 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22878
d369f531
JM
228792013-05-15 Joseph Myers <joseph@codesourcery.com>
22880
b861c6c4
JM
22881 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22882 instead of TEST_f_l.
22883 (llrint_test_tonearest): Likewise.
22884 (llrint_test_towardzero): Likewise.
22885 (llrint_test_downward): Likewise.
22886 (llrint_test_upward): Likewise.
22887 (llround_test): Likewise.
22888
7abeee12
JM
22889 * math/libm-test.inc (struct test_f_i_data): Add comment.
22890 (RUN_TEST_LOOP_f_b): New macro.
22891 (RUN_TEST_LOOP_f_b_tg): Likewise.
22892 (finite_test_data): New variable.
22893 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22894 (isfinite_test_data): New variable.
22895 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22896 (isinf_test_data): New variable.
22897 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22898 (isnan_test_data): New variable.
22899 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22900 (isnormal_test_data): New variable.
22901 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22902 (issignaling_test_data): New variable.
22903 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22904 (signbit_test_data): New variable.
22905 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22906
cbe8c4d3
JM
22907 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22908 with INVALID_EXCEPTION.
22909 (acosh_test_data): Likewise.
22910 (asin_test_data): Likewise.
22911 (atanh_test_data): Likewise.
22912 (fmod_test_data): Likewise.
22913 (log_test_data): Likewise.
22914 (log10_test_data): Likewise.
22915 (log2_test_data): Likewise.
22916 (pow_test_data): Likewise.
22917 (sqrt_test_data): Likewise.
22918 (y0_test_data): Likewise.
22919 (y1_test_data): Likewise.
22920 (yn_test_data): Likewise.
22921
5575c0e5
JM
22922 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22923 function contents.
22924
d369f531
JM
22925 * math/libm-test.inc (struct test_ff_i_data): New type.
22926 (RUN_TEST_LOOP_ff_i_tg): New macro.
22927 (isgreater_test_data): New variable.
22928 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22929 (isgreaterequal_test_data): New variable.
22930 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22931 (isless_test_data): New variable.
22932 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22933 (islessequal_test_data): New variable.
22934 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22935 (islessgreater_test_data): New variable.
22936 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22937 (isunordered_test_data): New variable.
22938 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22939
781fd748
DM
229402013-05-14 David S. Miller <davem@davemloft.net>
22941
22942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22943
87aa21df
JM
229442013-05-14 Joseph Myers <joseph@codesourcery.com>
22945
5e908270
JM
22946 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22947
f71172e5
JM
22948 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22949 extra_test to int.
22950 (struct test_f_i_data): Change type of max_ulp to int.
22951
8cfa635a
JM
22952 * math/libm-test.inc (test_ffI_f1_data): New type.
22953 (RUN_TEST_LOOP_ffI_f1): New macro.
22954 (remquo_test_data): New variable.
22955 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22956
2bcb36b2
JM
22957 * setjmp/tst-setjmp-fp.c: New file.
22958 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22959 (link-libm): New variable.
22960 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22961
acbd839a
JM
22962 * math/libm-test.inc (struct test_f_i_data): New type.
22963 (RUN_TEST_LOOP_f_i): New macro.
22964 (RUN_TEST_LOOP_f_i_tg): Likewise.
22965 (fpclassify_test_data): New variable.
22966 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22967 (ilogb_test_data): New variable.
22968 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22969
e414d745
JM
22970 * math/libm-test.inc (scalbln_test): Correct function name in END
22971 call.
22972
d9c2a0fd
JM
22973 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22974 (RUN_TEST_LOOP_fI_f1): New macro.
22975 (frexp_test_data): New variable.
22976 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22977
9dc9095d
JM
22978 * math/libm-test.inc (struct test_fF_f1_data): New type.
22979 (RUN_TEST_LOOP_fF_f1): New macro.
22980 (modf_test_data): New variable.
22981 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22982
87aa21df
JM
22983 * math/libm-test.inc (struct test_f_f1_data): New type.
22984 (RUN_TEST_LOOP_f_f1): New macro.
22985 (gamma_test_data): New variable.
22986 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22987 (lgamma_test_data): New variable.
22988 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22989
141af660
CD
229902013-05-13 Carlos O'Donell <carlos@redhat.com>
22991
22992 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22993 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22994 (main): Comment "tls" pseudo-hwcap.
22995
6d33265c
JM
229962013-05-13 Joseph Myers <joseph@codesourcery.com>
22997
68fc074c
JM
22998 * math/libm-test.inc (struct test_fl_f_data): New type.
22999 (RUN_TEST_LOOP_fl_f): New variable.
23000 (scalbln_test_data): New variable.
23001 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23002
243216e1
JM
23003 * math/libm-test.inc (struct test_fi_f_data): New type.
23004 (RUN_TEST_LOOP_fi_f): New macro.
23005 (ldexp_test_data): New variable.
23006 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23007 (scalbn_test_data): New variable.
23008 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23009
6a1992e2
JM
23010 * math/libm-test.inc (struct test_c_f_data): New type.
23011 (RUN_TEST_LOOP_c_f): New macro.
23012 (cabs_test_data): New variable.
23013 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23014 (carg_test_data): New variable.
23015 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23016 (cimag_test_data): New variable.
23017 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23018 (creal_test_data): New variable.
23019 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23020
0e400df5
JM
23021 * math/libm-test.inc (struct test_if_f_data): New type.
23022 (RUN_TEST_LOOP_if_f): New macro.
23023 (jn_test_data): New variable.
23024 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23025 (yn_test_data): New variable.
23026 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23027
6d33265c
JM
23028 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23029
f98ece5f
AZ
230302013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23031
23032 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23033 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23034
0f7d347b
SP
230352013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23036
43fe811b
SP
23037 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23038 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23039 (bench-deps): Add bench-timing.h.
23040 * benchtests-bench-skeleton.c: Include bench-timing.h.
23041 (main): Use TIMING_* macros instead of clock_gettime.
23042 * benchtests/bench-timing.h: New file.
23043
0f7d347b
SP
23044 [BZ #14582]
23045 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23046 Renamed from _LIB_VERSION.
23047 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23048
601a3a5f
JM
230492013-05-12 Joseph Myers <joseph@codesourcery.com>
23050
4f184d30
JM
23051 * math/libm-test.inc (struct test_fff_f_data): New type.
23052 (RUN_TEST_LOOP_fff_f): New macro.
23053 (fma_test_data): New variable.
23054 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23055 (fma_towardzero_test_data): New variable.
23056 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23057 (fma_downward_test_data): New variable.
23058 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23059 (fma_upward_test_data): New variable.
23060 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23061
08198877
JM
23062 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23063 (struct test_c_c_data): New type.
23064 (RUN_TEST_LOOP_c_c): New macro.
23065 (cacos_test_data): New variable.
23066 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23067 (cacosh_test_data): New variable.
23068 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23069 (casin_test_data): New variable.
23070 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23071 (casinh_test_data): New variable.
23072 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23073 (catan_test_data): New variable.
23074 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23075 (catanh_test_data): New variable.
23076 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23077 (ccos_test_data): New variable.
23078 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23079 (ccosh_test_data): New variable.
23080 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23081 (cexp_test_data): New variable.
23082 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23083 (clog_test_data): New variable.
23084 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23085 (clog10_test_data): New variable.
23086 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23087 (conj_test_data): New variable.
23088 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23089 (cproj_test_data): New variable.
23090 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23091 (csin_test_data): New variable.
23092 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23093 (csinh_test_data): New variable.
23094 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23095 (csqrt_test_data): New variable.
23096 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23097 (ctan_test_data): New variable.
23098 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23099 (ctan_tonearest_test_data): New variable.
23100 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23101 (ctan_towardzero_test_data): New variable.
23102 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23103 (ctan_downward_test_data): New variable.
23104 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23105 (ctan_upward_test_data): New variable.
23106 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23107 (ctanh_test_data): New variable.
23108 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23109 (ctanh_tonearest_test_data): New variable.
23110 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23111 (ctanh_towardzero_test_data): New variable.
23112 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23113 (ctanh_downward_test_data): New variable.
23114 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23115 (ctanh_upward_test_data): New variable.
23116 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23117 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23118 of BUILD_COMPLEX.
23119
601a3a5f
JM
23120 * math/libm-test.inc (struct test_ff_f_data): New type.
23121 (struct test_ff_f_data_nexttoward): Likewise.
23122 (RUN_TEST_LOOP_2_f): New macro.
23123 (RUN_TEST_LOOP_ff_f): Likewise.
23124 (atan2_test_data): New variable.
23125 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23126 (copysign_test_data): New variable.
23127 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23128 (fdim_test_data): New variable.
23129 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23130 (fmax_test_data): New variable.
23131 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23132 (fmin_test_data): New variable.
23133 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23134 (fmod_test_data): New variable.
23135 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23136 (hypot_test_data): New variable.
23137 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23138 (nextafter_test_data): New variable.
23139 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23140 (nexttoward_test_data): New variable.
23141 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23142 (pow_test_data): New variable.
23143 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23144 (pow_tonearest_test_data): New variable.
23145 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23146 (pow_towardzero_test_data): New variable.
23147 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23148 (pow_downward_test_data): New variable.
23149 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23150 (pow_upward_test_data): New variable.
23151 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23152 (remainder_test_data): New variable.
23153 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23154 (scalb_test_data): New variable.
23155 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23156 * sysdeps/i386/fpu/libm-test-ulps: Update.
23157
74c57478
JM
231582013-05-11 Joseph Myers <joseph@codesourcery.com>
23159
8329e4da
JM
23160 * math/libm-test.inc (fma_test): Use max_value instead of local
23161 variable fltmax.
23162 (nextafter_test): Likewise.
23163
74c57478
JM
23164 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23165 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23166 (acos_downward_test_data): New variable.
23167 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23168 (acos_upward_test_data): New variable.
23169 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23170 (acosh_test_data): New variable.
23171 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23172 (asin_test_data): New variable.
23173 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23174 (asin_tonearest_test_data): New variable.
23175 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23176 (asin_towardzero_test_data): New variable.
23177 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23178 (asin_downward_test_data): New variable.
23179 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23180 (asin_upward_test_data): New variable.
23181 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23182 (asinh_test_data): New variable.
23183 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23184 (atan_test_data): New variable.
23185 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23186 (atanh_test_data): New variable.
23187 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23188 (cbrt_test_data): New variable.
23189 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23190 (ceil_test_data): New variable.
23191 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23192 (cos_test_data): New variable.
23193 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23194 (cos_tonearest_test_data): New variable.
23195 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23196 (cos_towardzero_test_data): New variable.
23197 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23198 (cos_downward_test_data): New variable.
23199 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23200 (cos_upward_test_data): New variable.
23201 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23202 (cosh_test_data): New variable.
23203 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23204 (cosh_tonearest_test_data): New variable.
23205 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23206 (cosh_towardzero_test_data): New variable.
23207 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23208 (cosh_downward_test_data): New variable.
23209 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23210 (cosh_upward_test_data): New variable.
23211 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23212 (erf_test_data): New variable.
23213 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23214 (erfc_test_data): New variable.
23215 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23216 (exp_test_data): New variable.
23217 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23218 (exp_tonearest_test_data): New variable.
23219 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23220 (exp_towardzero_test_data): New variable.
23221 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23222 (exp_downward_test_data): New variable.
23223 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23224 (exp_upward_test_data): New variable.
23225 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23226 (exp10_test_data): New variable.
23227 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23228 (exp2_test_data): New variable.
23229 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23230 (expm1_test_data): New variable.
23231 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23232 (fabs_test_data): New variable.
23233 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23234 (floor_test_data): New variable.
23235 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23236 (j0_test_data): New variable.
23237 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23238 (j1_test_data): New variable.
23239 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23240 (log_test_data): New variable.
23241 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23242 (log10_test_data): New variable.
23243 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23244 (log1p_test_data): New variable.
23245 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23246 (log2_test_data): New variable.
23247 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23248 (logb_test_data): New variable.
23249 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23250 (logb_downward_test_data): New variable.
23251 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23252 (nearbyint_test_data): New variable.
23253 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23254 (rint_test_data): New variable.
23255 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23256 (rint_tonearest_test_data): New variable.
23257 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23258 (rint_towardzero_test_data): New variable.
23259 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23260 (rint_downward_test_data): New variable.
23261 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23262 (rint_upward_test_data): New variable.
23263 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23264 (round_test_data): New variable.
23265 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23266 (sin_test_data): New variable.
23267 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23268 (sin_tonearest_test_data): New variable.
23269 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23270 (sin_towardzero_test_data): New variable.
23271 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23272 (sin_downward_test_data): New variable.
23273 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23274 (sin_upward_test_data): New variable.
23275 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23276 (sinh_test_data): New variable.
23277 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23278 (sinh_tonearest_test_data): New variable.
23279 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23280 (sinh_towardzero_test_data): New variable.
23281 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23282 (sinh_downward_test_data): New variable.
23283 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23284 (sinh_upward_test_data): New variable.
23285 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23286 (sqrt_test_data): New variable.
23287 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23288 (tan_test_data): New variable.
23289 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23290 (tan_tonearest_test_data): New variable.
23291 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23292 (tan_towardzero_test_data): New variable.
23293 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23294 (tan_downward_test_data): New variable.
23295 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23296 (tan_upward_test_data): New variable.
23297 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23298 (tanh_test_data): New variable.
23299 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23300 (tgamma_test_data): New variable.
23301 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23302 (trunc_test_data): New variable.
23303 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23304 (y0_test_data): New variable.
23305 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23306 (y1_test_data): New variable.
23307 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23308 (significand_test_data): New variable.
23309 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23310
7187d844
CG
233112013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23312
23313 [BZ #12387]
23314 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23315
f63fae73
PT
233162013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23317
23318 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23319
8a67a4b3
AJ
233202013-05-10 Andreas Jaeger <aj@suse.de>
23321
23322 [BZ #15448]
23323 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23324 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23325
51df539d
JM
233262013-05-10 Joseph Myers <joseph@codesourcery.com>
23327
23328 * math/gen-libm-test.pl (adjust_arg): New function.
23329 (special_functions): Handle generating output in both functions
23330 and arrays.
23331 (parse_args): Likewise.
23332 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23333 $in_func argument to parse_args.
23334 * math/libm-test.inc (struct test_f_f_data): New type.
23335 (IF_ROUND_INIT_): New macro.
23336 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23337 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23338 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23339 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23340 (ROUND_RESTORE_): Likewise.
23341 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23342 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23343 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23344 (ROUND_RESTORE_FE_UPWARD): Likewise.
23345 (RUN_TEST_LOOP_f_f): New macro.
23346 (acos_test_data): New variable.
23347 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23348 (acos_tonearest_test_data): New variable.
23349 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23350
5c637fe5
SP
233512013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23352
23353 * benchtests/bench-skeleton.c (startup): Fix coding style.
23354
ab2b9461
JM
233552013-05-10 Joseph Myers <joseph@codesourcery.com>
23356
23357 [BZ #6809]
23358 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23359 negative infinity argument.
23360 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23361 negative infinity argument.
23362 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23363 negative infinity argument.
23364 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23365 domain errors.
23366
4c0fe6fe
FW
233672013-05-10 Florian Weimer <fweimer@redhat.com>
23368
23369 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23370 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23371 * iconv/iconv_prog.c (main): Likewise.
23372 * locale/programs/charmap-dir.c (charmap_readdir)
23373 (fopen_uncompressed): Likewise.
23374 * locale/programs/locfile.c (siblings_uncached)
23375 (write_locale_data): Use lstat64 instead of lstat.
23376 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23377 stat.
23378
a3375d29
AJ
233792013-05-10 Andreas Jaeger <aj@suse.de>
23380
23381 [BZ #15395]
23382 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23383 localization.
23384 Include <locale.h>.
23385
36129722
CD
233862013-05-09 Carlos O'Donell <carlos@redhat.com>
23387
23388 * elf/dl-close.c (_dl_close_worker): Add comments.
23389
faa7f811
JM
233902013-05-09 Joseph Myers <joseph@codesourcery.com>
23391
ed41ffef
JM
23392 [BZ #15359]
23393 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23394 high part of pi/2.
23395 (__ieee754_rem_pio2l): Update comments.
23396
d0213cd0
JM
23397 [BZ #15429]
23398 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23399 high part of pi/2.
23400 (__ieee754_rem_pio2l): Update comments.
23401
0d3e777a
JM
23402 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23403 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23404
24f56066
JM
23405 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23406 M_PI_4l.
23407
faa7f811
JM
23408 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23409 (M_PI_34_LOG10El): Likewise.
23410 (M_PI2_LOG10El): Likewise.
23411 (M_PI4_LOG10El): Likewise.
23412 (M_PI_LOG10El): Likewise.
23413
e9a5e0fd
AZ
234142013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23415
23416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23417
d8cd06db
JM
234182013-05-08 Joseph Myers <joseph@codesourcery.com>
23419
a0d9f9d7
JM
23420 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23421 (MINUS_ZERO_INIT): Likewise.
23422 (PLUS_INFTY_INIT): Likewise.
23423 (MINUS_INFTY_INIT): Likewise.
23424 (QNAN_VALUE_INIT): Likewise.
23425 (MAX_VALUE_INIT): Likewise.
23426 (MIN_VALUE_INIT): Likewise.
23427 (MIN_SUBNORM_VALUE_INIT): Likewise.
23428 (plus_zero): Initialize with PLUS_ZERO_INIT.
23429 (minus_zero): Initialize with MINUS_ZERO_INIT.
23430 (plus_infty): Initialize with PLUS_INFTY_INIT.
23431 (minus_infty): Initialize with MINUS_INFTY_INIT.
23432 (qnan_value): Initialize with QNAN_VALUE_INIT.
23433 (max_value): Initialize with MAX_VALUE_INIT.
23434 (min_value): Initialize with MIN_VALUE_INIT.
23435 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23436
ae08db3b
JM
23437 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23438 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23439 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23440 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23441
f44bf14a
JM
23442 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23443 (RUN_TEST_2_f): Likewise.
23444 (RUN_TEST_ff_f): Likewise.
23445 (RUN_TEST_fi_f): Likewise.
23446 (RUN_TEST_fl_f): Likewise.
23447 (RUN_TEST_fff_f): Likewise.
23448 (RUN_TEST_c_f): Likewise.
23449 (RUN_TEST_f_f1): Likewise.
23450 (RUN_TEST_fF_f1): Likewise.
23451 (RUN_TEST_fI_f1): Likewise.
23452 (RUN_TEST_ffI_f1): Likewise.
23453 (RUN_TEST_c_c): Likewise.
23454 (RUN_TEST_cc_c): Likewise.
23455 (RUN_TEST_f_i): Likewise.
23456 (RUN_TEST_f_i_tg): Likewise.
23457 (RUN_TEST_ff_i_tg): Likewise.
23458 (RUN_TEST_f_b): Likewise.
23459 (RUN_TEST_f_b_tg): Likewise.
23460 (RUN_TEST_f_l): Likewise.
23461 (RUN_TEST_f_L): Likewise.
23462 (RUN_TEST_sincos): Likewise.
23463 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23464 whether to show exceptions. Do not include ");\n" in return
23465 value.
23466 (special_functions): Output call to RUN_TEST_sincos instead of
23467 check_float calls. Update calls to new_test.
23468 (parse_args): Output call to single RUN_TEST_* macro instead of
23469 check_* calls and other assignments. Update calls to new_test.
23470
d8cd06db
JM
23471 [BZ #2546]
23472 [BZ #2560]
23473 [BZ #5159]
23474 [BZ #15426]
23475 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23476 input to result for tgamma overflow.
23477 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23478 (gamma_coeff): New variable.
23479 (NCOEFF): New macro.
23480 (gamma_positive): New function.
23481 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23482 underflow here. Use gamma_positive instead of exp (lgamma) for
23483 other arguments.
23484 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23485 (gamma_coeff): New variable.
23486 (NCOEFF): New macro.
23487 (gammaf_positive): New function.
23488 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23489 underflow here. Use gamma_positive instead of exp (lgamma) for
23490 other arguments.
23491 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23492 (gamma_coeff): New variable.
23493 (NCOEFF): New macro.
23494 (gammal_positive): New function.
23495 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23496 underflow here. Use gamma_positive instead of exp (lgamma) for
23497 other arguments.
23498 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23499 (gamma_coeff): New variable.
23500 (NCOEFF): New macro.
23501 (gammal_positive): New function.
23502 (__ieee754_gammal_r): Handle positive infinity, overflow and
23503 underflow here. Handle NaN the same as positive infinity. Remove
23504 check x < 0xffffffff for negative integers. Use gamma_positive
23505 instead of exp (lgamma) for other arguments.
23506 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23507 (gamma_coeff): New variable.
23508 (NCOEFF): New macro.
23509 (gammal_positive): New function.
23510 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23511 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23515 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23516 * sysdeps/generic/math_private.h (__gamma_productf): New
23517 prototype.
23518 (__gamma_product): Likewise.
23519 (__gamma_productl): Likewise.
23520 * math/Makefile (libm-calls): Add gamma_product.
23521 * math/libm-test.inc (tgamma_test): Add more tests.
23522 * sysdeps/i386/fpu/libm-test-ulps: Update.
23523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23524
bb7cf681
OB
235252013-05-08 Ondřej Bílka <neleai@seznam.cz>
23526
23527 * benchtests/bench-skeleton.c (main): Preheat CPU.
23528
ba853947
AJ
235292013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23530
23531 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23532
8347c74c
RM
235332013-05-07 Roland McGrath <roland@hack.frob.com>
23534
23535 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23536 and _dl_skip_args_internal.
23537
e8dd4791
CD
235382013-05-07 Carlos O'Donell <carlos@redhat.com>
23539
23540 * manual/message.texi (Message Translation): Talk about users.
23541 Message to key mapping impacts design.
23542
c7405830
RM
235432013-05-06 Roland McGrath <roland@hack.frob.com>
23544
a9173057
RM
23545 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23546
976e2f03
RM
23547 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23548
9723ffc5
RM
23549 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23550 * sysdeps/wordsize-64/glob64.c: ... here.
23551
962e6658
RM
23552 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23553 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23554 New macros.
23555
ee586a6d
RM
23556 * debug/getlogin_r_chk.c: Moved to ...
23557 * login/getlogin_r_chk.c: ... here.
23558 * debug/Makefile (routines): Move getlogin_r_chk to ...
23559 * login/Makefile (routines): ... here.
23560 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23561 * login/Versions (libc: GLIBC_2.4): ... here.
23562
355f9165
RM
23563 * io/poll.c (__poll): Renamed from poll.
23564 Add libc_hidden_def.
23565 (poll): Define as weak alias.
23566
bd9ffde6
RM
23567 * debug/ptsname_r_chk.c: Moved to ...
23568 * login/ptsname_r_chk.c: ... here.
23569 * debug/Makefile (routines): Move ptsname_r_chk to ...
23570 * login/Makefile (routines): ... here.
23571 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23572 * login/Versions (libc: GLIBC_2.4): ... here.
23573
8fb16a04
RM
23574 * posix/getlogin.c: Moved to ...
23575 * login/getlogin.c: ... here.
23576 * posix/getlogin_r.c: Moved to ...
23577 * login/getlogin_r.c: ... here.
23578 * posix/getlogin_r.c: Moved to ...
23579 * login/getlogin_r.c: ... here.
23580 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23581 * login/Makefile (routines): ... here.
23582 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23583 * login/Versions (libc: GLIBC_2.0): ... here.
23584
b99b892f
RM
23585 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23586 (setrlimit): Define as weak alias.
23587
c7405830
RM
23588 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23589 Call __ names for open, ftruncate, and close.
23590 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23591 (truncate): Define as weak alias.
23592
5bf96de5
JM
235932013-05-06 Joseph Myers <joseph@codesourcery.com>
23594
9ea3513c
JM
23595 * math/gen-libm-test.pl (parse_args): Initialize x before each
23596 test of frexp, modf and remquo.
23597
5bf96de5
JM
23598 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23599 test signgam value.
23600
16e616a7
AZ
236012013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23602
23603 [BZ #15418]
23604 [BZ #15419]
23605 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23606 internal tests.
23607 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23608
d5e82754
RM
236092013-05-06 Roland McGrath <roland@hack.frob.com>
23610
23611 * elf/dl-writev.h: New file.
23612 * elf/dl-misc.c: Include it.
23613 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23614 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23615
a7548d41
JM
236162013-05-04 Joseph Myers <joseph@codesourcery.com>
23617
b7dab1e4
JM
23618 * math/libm-test.inc (noXFails): Remove variable.
23619 (noXPasses): Likewise.
23620 (BUILD_COMPLEX_INT): Remove macro.
23621 (print_screen): Remove xfail argument.
23622 (print_screen_max_error): Likewise.
23623 (update_stats): Likewise.
23624 (print_max_error): Likewise. Update calls to other affected
23625 functions.
23626 (print_complex_max_error): Likewise.
23627 (test_single_exception): Update calls to print_screen.
23628 (test_single_errno): Likewise.
23629 (check_float_internal): Remove xfail argument. Update calls to
23630 other affected functions.
23631 (check_float): Likewise.
23632 (check_complex): Likewise.
23633 (check_int): Likewise.
23634 (check_long): Likewise.
23635 (check_bool): Likewise.
23636 (check_longlong): Likewise.
23637 (main): Don't print noXFails and noXPasses.
23638 * math/gen-libm-test.pl (top level): Don't mention expected
23639 failure handling in comment.
23640 (new_test): Don't handle expected failures.
23641 (parse_args): Don't mention expected failure handling in comment.
23642 (generate_testfile): Don't handle expected failures.
23643 (parse_ulps): Likewise.
23644 (print_ulps_file): Likewise.
23645 (get_failure): Remove function.
23646 (output_test): Don't handle expected failures.
23647 * make/README.libm-test: Don't mention expected failure handling.
23648
a7548d41
JM
23649 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23650 (minus_zero): Likewise.
23651 (plus_infty): Likewise.
23652 (minus_infty): Likewise.
23653 (qnan_value): Likewise.
23654 (max_value): Likewise.
23655 (min_value): Likewise.
23656 (min_subnorm_value): Likewise.
23657 (initialize): Do not initialize those variables dynamically.
23658
60bfd54c
RM
236592013-05-03 Roland McGrath <roland@hack.frob.com>
23660
cc0e6ed8
RM
23661 * io/open.c (__open_2): Moved to ...
23662 * io/open_2.c: ... this new file.
23663 * io/open64.c (__open64_2): Moved to ...
23664 * io/open64_2.c: ... this new file.
23665 * io/openat.c (__openat_2): Moved to ...
23666 * io/openat_2.c: ... this new file.
23667 * io/openat64.c (__openat64_2): Moved to ...
23668 * io/openat64_2.c: ... this new file.
23669 * io/Makefile (routines): Add them.
23670 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23671 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23672 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23673 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23674 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23675 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23676 (__openat64): Add hidden_ver.
23677 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23678 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23679
60bfd54c
RM
23680 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23681 Separately conditionalize setting of GLRO(dl_sysinfo) so
23682 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23683 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23684
83e7640f
AZ
236852013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23686
23687 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23688 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23689 definition.
23690 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23691 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23692 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23693 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23694 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23695
d5dc2af3
JM
236962013-05-03 Joseph Myers <joseph@codesourcery.com>
23697
c31a5b1e
JM
23698 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23699 test signgam value.
23700
d5dc2af3
JM
23701 * math/libm-test.inc (hypot_test): Do not use
23702 IGNORE_ZERO_INF_SIGN.
23703
164fd39d
AJ
237042013-05-03 Andreas Jaeger <aj@suse.de>
23705
23706 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23707 Linux 3.9.
23708 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23709 (PF_MAX): Adjust for VSOCK change.
23710
8237f48c
AZ
237112013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23712
23713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23714
9df02941
CD
237152013-05-02 Carlos O'Donell <carlos@redhat.com>
23716
23717 [BZ #15264]
23718 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23719 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23720 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23721
d422395e
DM
237222013-05-02 David S. Miller <davem@davemloft.net>
23723
23724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23725
a07c5731
OB
237262013-05-01 Ondřej Bílka <neleai@seznam.cz>
23727
23728 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23729
1324e37f
RM
237302013-05-01 Roland McGrath <roland@hack.frob.com>
23731
23732 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23733
0695940b
RS
237342013-05-01 Richard Smith <richard@metafoo.co.uk>
23735
bb5f27ad 23736 [BZ #14952]
0695940b
RS
23737 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23738 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23739 Use __attribute__ ((__gnu_inline__)).
23740 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23741 Don't use __attribute__ ((__gnu_inline__)).
23742
10de07f5
JM
237432013-05-01 Joseph Myers <joseph@codesourcery.com>
23744
23745 [BZ #15423]
23746 * math/s_catan.c (__catan): Handle small real or imaginary part of
23747 input specially to avoid spurious underflow.
23748 * math/s_catanf.c (__catanf): Likewise.
23749 * math/s_catanh.c (__catanh): Likewise.
23750 * math/s_catanhf.c (__catanhf): Likewise.
23751 * math/s_catanhl.c (__catanhl): Likewise.
23752 * math/s_catanl.c (__catanl): Likewise.
23753 * math/libm-test.inc (catan_test): Add more tests.
23754 (catanh_test): Likewise.
23755 * sysdeps/i386/fpu/libm-test-ulps: Update.
23756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23757
cb4d5414
AZ
237582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23759
23760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23761
caf84319
JM
237622013-04-30 Joseph Myers <joseph@codesourcery.com>
23763
23764 [BZ #15416]
23765 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23766 accurately for denominator in atan2.
23767 * math/s_catanf.c (__catanf): Likewise.
23768 * math/s_catanh.c (__catanh): Likewise.
23769 * math/s_catanhf.c (__catanhf): Likewise.
23770 * math/s_catanhl.c (__catanhl): Likewise.
23771 * math/s_catanl.c (__catanl): Likewise.
23772 * math/libm-test.inc (catan_test): Add more tests.
23773 (catanh_test): Likewise.
23774 * sysdeps/i386/fpu/libm-test-ulps: Update.
23775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23776
d569c6ee
SP
237772013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23778
6dbe713d
SP
23779 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23780
f0ee064b
SP
23781 * benchtests/Makefile (bench): Remove slow benchmarks.
23782 * benchtests/atan-inputs: Add slow benchmark inputs.
23783 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23784 (BENCH_FUNC): Accept variant offset.
23785 (VARIANT): Define.
23786 * benchtests/bench-skeleton.c (main): Run benchmark for each
23787 variant.
23788 * benchtests/cos-inputs: Add slow benchmark inputs.
23789 * benchtests/exp-inputs: Likewise.
23790 * benchtests/pow-inputs: Likewise.
23791 * benchtests/sin-inputs: Likewise.
23792 * benchtests/slowatan-inputs: Remove.
23793 * benchtests/slowatan.c: Remove.
23794 * benchtests/slowcos-inputs: Remove.
23795 * benchtests/slowcos.c: Remove.
23796 * benchtests/slowexp-inputs: Remove.
23797 * benchtests/slowexp.c: Remove.
23798 * benchtests/slowpow-inputs: Remove.
23799 * benchtests/slowpow.c: Remove.
23800 * benchtests/slowsin-inputs: Remove.
23801 * benchtests/slowsin.c: Remove.
23802 * benchtests/slowtan-inputs: Remove.
23803 * benchtests/slowtan.c: Remove.
23804 * benchtests/tan-inputs: Add slow benchmark inputs.
23805 * scripts/bench.pl: Parse comments and directives.
23806
d569c6ee
SP
23807 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23808 in CPPFLAGS.
23809 ($(objpfx)bench-%.c): Remove *-ITER.
23810 * benchtests/bench-modf.c: Remove definition of ITER.
23811 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23812 (main): Loop for DURATION seconds instead of fixed number of
23813 iterations.
23814 * scripts/bench.pl: Don't expect iterations in parameters.
23815
a6a242fe
RM
238162013-04-29 Roland McGrath <roland@hack.frob.com>
23817
23818 * io/fchdir.c (__fchdir): Renamed from fchdir.
23819 (fchdir): Define as weak alias.
23820
f2da7793
JM
238212013-04-29 Joseph Myers <joseph@codesourcery.com>
23822
23823 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23824 (ERRNO_EDOM): Likewise.
23825 (ERRNO_ERANGE): Likewise.
23826 (noErrnoTests): New variable.
23827 (init_max_error): Set errno to 0.
23828 (test_single_errno): New function.
23829 (test_errno): Likewise.
23830 (check_float_internal): Call test_errno. Set errno to 0.
23831 (check_complex): Refer to errno tests in comment.
23832 (check_int): Call test_errno. Set errno to 0.
23833 (check_long): Likewise.
23834 (check_bool): Likewise.
23835 (check_longlong): Likewise.
23836 (cos_test): Use ERRNO_* flags for errno tests instead of
23837 check_int.
23838 (expm1_test): Likewise.
23839 (fmod_test): Likewise.
23840 (ilogb_test): Likewise.
23841 (lgamma_test): Likewise.
23842 (pow_test): Likewise.
23843 (remainder_test): Likewise.
23844 (sin_test): Likewise.
23845 (tan_test): Likewise.
23846 (yn_test): Likewise.
23847 (initialize): Set errno to 0.
23848 (main): Print number of errno tests.
23849 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23850
b1a36ceb
AJ
238512013-04-29 Andreas Jaeger <aj@suse.de>
23852
c3ed8088
AJ
23853 [BZ #15084]
23854 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23855 and RES_USEVC.
23856
f1a24198
AJ
23857 [BZ #15085]
23858 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23859 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23860 unimplemented.
23861
9ce3b2cb
AJ
23862 [BZ #15380]
23863 * stdlib/random.c (__initstate): Return NULL if
23864 __initstate fails.
23865
f1a24198 23866 [BZ #15086]
b1a36ceb
AJ
23867 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23868 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23869 RES_SNGLKUPREOP.
23870
7e7b6f36
AZ
238712013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23872
23873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23874
4d14f449
JM
238752013-04-29 Joseph Myers <joseph@codesourcery.com>
23876
23877 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23878 of individual tests.
23879 (casin_test): Likewise.
23880 (casinh_test): Likewise.
23881
5b4217d7
JM
238822013-04-27 Joseph Myers <joseph@codesourcery.com>
23883
23884 [BZ #15409]
23885 * math/s_catan.c (__catan): Handle arguments with large real or
23886 imaginary part separately without squaring.
23887 * math/s_catanf.c (__catanf): Likewise.
23888 * math/s_catanh.c (__catanh): Likewise.
23889 * math/s_catanhf.c (__catanhf): Likewise.
23890 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23891 and redefine.
23892 (__catanhl): Handle arguments with large real or imaginary part
23893 separately without squaring.
23894 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23895 and redefine.
23896 (__catanl): Handle arguments with large real or imaginary part
23897 separately without squaring.
23898 * math/libm-test.inc (catan_test): Add more tests.
23899 (catanh_test): Likewise.
23900 * sysdeps/i386/fpu/libm-test-ulps: Update.
23901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23902
4220c3ef
AJ
239032013-04-27 Andreas Jaeger <aj@suse.de>
23904
23905 [BZ #15007]
23906 * stdlib/stdlib.h: Update guards for qecvt.
23907 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23908 <stdlib.h>.
23909
4721b2d1
AM
239102013-04-27 Allan McRae <allan@archlinux.org>
23911
23912 * sysdeps/i386/fpu/libm-test-ulps: Update.
23913
f0302940
JM
239142013-04-26 Joseph Myers <joseph@codesourcery.com>
23915
9457fd95
JM
23916 [BZ #15406]
23917 * math/s_catan.c: Include <float.h>.
23918 (__catan): Ensure underflow exception occurs for underflowed
23919 result.
23920 * math/s_catanf.c: Include <float.h>.
23921 (__catanf): Ensure underflow exception occurs for underflowed
23922 result.
23923 * math/s_catanh.c: Include <float.h>.
23924 (__catanh): Ensure underflow exception occurs for underflowed
23925 result.
23926 * math/s_catanhf.c: Include <float.h>.
23927 (__catanhf): Ensure underflow exception occurs for underflowed
23928 result.
23929 * math/s_catanhl.c: Include <float.h>.
23930 (__catanhl): Ensure underflow exception occurs for underflowed
23931 result.
23932 * math/s_catanl.c: Include <float.h>.
23933 (__catanl): Ensure underflow exception occurs for underflowed
23934 result.
23935 * math/libm-test.inc (catan_test): Add more tests.
23936 (catanh_test): Likewise.
23937
f0302940
JM
23938 [BZ #15405]
23939 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23940 underflowed result.
23941 * math/s_ccoshf.c (__ccoshf): Likewise.
23942 * math/s_ccoshl.c (__ccoshl): Likewise.
23943 * math/s_csin.c (__csin): Likewise.
23944 * math/s_csinf.c (__csinf): Likewise.
23945 * math/s_csinh.c (__csinh): Likewise.
23946 * math/s_csinhf.c (__csinhf): Likewise.
23947 * math/s_csinhl.c (__csinhl): Likewise.
23948 * math/s_csinl.c (__csinl): Likewise.
23949 * math/libm-test.inc (ccos_test): Add more tests.
23950 (ccosh_test): Likewise.
23951 (csin_test): Likewise.
23952 (csinh_test): Likewise.
23953
aa630f59
AZ
239542013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23955
23956 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23957 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23958 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23959 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23960 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23961 powerpc/power5+/fpu folders.
23962 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23963
23964
1b835983
MT
239652013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23966
23967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23968
73709b26
JM
239692013-04-25 Joseph Myers <joseph@codesourcery.com>
23970
23971 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23972 additions to variable.
23973 [$(config-machine) = x86_64] (modules-names): Likewise.
23974 ($(objpfx)tst-audit3): Remove dependency.
23975 ($(objpfx)tst-audit3.out): Likewise.
23976 ($(objpfx)tst-audit4): Likewise.
23977 ($(objpfx)tst-audit4.out): Likewise.
23978 ($(objpfx)tst-audit5): Likewise.
23979 ($(objpfx)tst-audit5.out): Likewise.
23980 ($(objpfx)tst-audit6): Likewise.
23981 ($(objpfx)tst-audit6.out): Likewise.
23982 ($(objpfx)tst-audit7): Likewise.
23983 ($(objpfx)tst-audit7.out): Likewise.
23984 (tst-audit3-ENV): Remove variable.
23985 (tst-audit4-ENV): Likewise.
23986 (tst-audit5-ENV): Likewise.
23987 (tst-audit6-ENV): Likewise.
23988 (tst-audit7-ENV): Likewise.
23989 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23990 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23991 addition to variable.
23992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23995 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23996 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23997 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23998 tst-audit3, tst-audit4 and tst-audit5.
23999 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24000 tst-audit6 and tst-audit7.
24001 [$(subdir) = elf] (modules-names): Add audit modules for those
24002 tests.
24003 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24004 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24005 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24006 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24007 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24008 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24009 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24010 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24011 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24012 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24013 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24014 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24015 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24016 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24017 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24018 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24019 Likewise.
24020 [$(subdir) = elf && $(config-cflags-avx) = yes]
24021 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24022 [$(subdir) = elf && $(config-cflags-avx) = yes]
24023 (CFLAGS-tst-auditmod4a.c): Likewise.
24024 [$(subdir) = elf && $(config-cflags-avx) = yes]
24025 (CFLAGS-tst-auditmod4b.c): Likewise.
24026 [$(subdir) = elf && $(config-cflags-avx) = yes]
24027 (CFLAGS-tst-auditmod6b.c): Likewise.
24028 [$(subdir) = elf && $(config-cflags-avx) = yes]
24029 (CFLAGS-tst-auditmod6c.c): Likewise.
24030 [$(subdir) = elf && $(config-cflags-avx) = yes]
24031 (CFLAGS-tst-auditmod7b.c): Likewise.
24032 * elf/tst-audit3.c: Move to ...
24033 * sysdeps/x86_64/tst-audit3.c: ... here.
24034 * elf/tst-audit4.c: Move to ...
24035 * sysdeps/x86_64/tst-audit4.c: ... here.
24036 * elf/tst-audit5.c: Move to ...
24037 * sysdeps/x86_64/tst-audit5.c: ... here.
24038 * elf/tst-audit6.c: Move to ...
24039 * sysdeps/x86_64/tst-audit6.c: ... here.
24040 * elf/tst-audit7.c: Move to ...
24041 * sysdeps/x86_64/tst-audit7.c: ... here.
24042 * elf/tst-auditmod3a.c: Move to ...
24043 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24044 * elf/tst-auditmod3b.c: Move to ...
24045 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24046 * elf/tst-auditmod4a.c: Move to ...
24047 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24048 * elf/tst-auditmod4b.c: Move to ...
24049 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24050 * elf/tst-auditmod5a.c: Move to ...
24051 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24052 * elf/tst-auditmod5b.c: Move to ...
24053 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24054 * elf/tst-auditmod6a.c: Move to ...
24055 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24056 * elf/tst-auditmod6b.c: Move to ...
24057 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24058 * elf/tst-auditmod6c.c: Move to ...
24059 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24060 * elf/tst-auditmod7a.c: Move to ...
24061 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24062 * elf/tst-auditmod7b.c: Move to ...
24063 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24064
1ef74943
PP
240652013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24066
24067 [BZ #15366]
24068 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24069 define unconditionally.
24070 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24071 define unconditionally.
24072 (INT8_C, INT16_C, etc.): Likewise.
24073
93fd48c5
MR
240742013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24075
ae9552cf
MR
24076 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24077 __ehdr_start with hidden visibility.
24078
93fd48c5
MR
24079 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24080
418601aa
CD
240812013-04-24 Carlos O'Donell <carlos@redhat.com>
24082
24083 * math/libm-test.inc (cos_test): Use accurate hex constants.
24084 (sincost_test): Likewise.
24085
2f38fbfe
JM
240862013-04-24 Joseph Myers <joseph@codesourcery.com>
24087
5e221800
JM
24088 * math/libm-test.inc (catan_test): Add more tests.
24089 (catanh_test): Likewise.
24090
77f143fd
JM
24091 * math/s_catanf.c (__catanf): Use suffixed floating-point
24092 constants.
24093 * math/s_catanhf.c (__catanhf): Likewise.
24094 * math/s_catanhl.c (__catanhl): Likewise.
24095 * math/s_catanl.c (__catanl): Likewise.
24096
2f38fbfe
JM
24097 [BZ #15394]
24098 * math/s_catan.c (__catan): Calculate imaginary part of result
24099 with log1p not log unless computing log of number close to 0.
24100 * math/s_catanf.c (__catanf): Likewise.
24101 * math/s_catanl.c (__catanl): Likewise.
24102 * math/s_catanh.c (__catanh): Calculate real part of result with
24103 log1p not log unless computing log of number close to 0.
24104 * math/s_catanhf.c (__catanhf): Likewise.
24105 * math/s_catanhl.c (__catanhl): Likewise.
24106 * math/libm-test.inc (catan_test): Add more tests.
24107 (catanh_test): Likewise.
24108 * sysdeps/i386/fpu/libm-test-ulps: Update.
24109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24110
45d69176
SP
241112013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24112
24113 * benchtests/Makefile: Mention files in which fast and slow
24114 paths of math functions are implemented.
24115
87f51853
RM
241162013-04-23 Roland McGrath <roland@hack.frob.com>
24117
24118 * sysdeps/posix/timespec_get.c: New file.
24119
3c026539
AZ
241202013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24121
24122 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24123 POWER.
24124 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24125 for POWER.
24126 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24127 powerpc/power5/fpu folders.
24128 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24129 * benchtests/Makefile: Add modf testcase.
24130 * benchtests/bench-modf.c: New file: Benchmark test for mo
24131
ff491d14
SP
241322013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24133
24134 [BZ #14888]
24135 * time/Makefile (tests): Add tst-strptime-whitespace.
24136 * time/strptime_l.c (get_number): Use ISSPACE.
24137 (__strptime_internal): Likewise.
24138 * time/tst-strptime-whitespace.c: New test case.
24139
7ed3f4e8
AS
241402013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24141
24142 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24143 member.
24144 (_nss_files_init): Set it here.
24145
5c95f7b6
HC
241462013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24147
24148 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24149 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24150 unsigned.
24151
d34c9158
JBG
241522013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24153
24154 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24155
2169712d
SP
241562013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24157
24158 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24159 size just once.
24160
29c5de99
DM
241612013-04-21 David S. Miller <davem@davemloft.net>
24162
24163 * po/ru.po: Update Russion translation from translation project.
24164
ccdad15d
AC
241652013-04-17 Adam Conrad <adconrad@0c3.net>
24166
24167 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24168 and setfsgid.
24169
0f122b8d
CD
241702013-04-17 Carlos O'Donell <carlos@redhat.com>
24171
5c5b07da 24172 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24173 * configure: Regenerate.
5c5b07da 24174 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24175 Add example to error message.
24176 * sysdeps/i386/configure: Regenerate.
24177
037714dd
SP
241782013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24179
24180 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24181 slowtan.
24182 * benchtests/cos-inputs: New file.
24183 * benchtests/slowcos-inputs: New file.
24184 * benchtests/slowcos.c: New file.
24185 * benchtests/slowtan-inputs: New file.
24186 * benchtests/slowtan.c: New file.
24187 * benchtests/tan-inputs: New file.
24188
e913141d
RM
241892013-04-16 Roland McGrath <roland@hack.frob.com>
24190
24191 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24192 considered kosher.
24193
a2964074
SP
241942013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24195
4856bcd2
SP
24196 * benchtests/Makefile: Include cppflags-iterator.mk to add
24197 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24198
a2964074
SP
24199 * Makefile.in (bench-clean): New target.
24200 * benchtests/Makefile (bench-clean): Likewise.
24201
9fbf9aca
DH
242022013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24203
24204 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24205
207d1e2a
TS
242062013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24207
24208 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24209
306dfba9
AS
242102013-04-15 Andreas Schwab <schwab@suse.de>
24211
24212 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24214 * nscd/pwdcache.c (cache_addpw): Likewise.
24215 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24216 more than recsize.
24217
206a6699
SP
242182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24219
24220 * benchtests/Makefile (bench): Write all output to
24221 bench-out.tmp together.
24222
0582f6b3
AS
242232013-04-15 Andreas Schwab <schwab@suse.de>
24224
24225 * nscd/nscd.c (main): Don't fork again after closing files.
24226
acb4325f
SP
242272013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24228
5cb26d0a
SP
24229 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24230
acb4325f
SP
24231 * benchtests/Rules (bench-deps): Collect dependencies into a
24232 single variable. Add Makefile to dependencies.
24233 ($(objpfx)bench-%.c): Depend on bench-deps.
24234
47792506
RM
242352013-04-12 Roland McGrath <roland@hack.frob.com>
24236 Xavier Roche <roche+kml2@exalead.com>
24237
24238 [BZ #15361]
24239 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24240 just that it's a file descriptor.
24241 * manual/llio.texi (Synchronizing AIO Operations): Update description
24242 for EBADF error from aio_fsync.
24243
8fc1bee5
SP
242442013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24245
24246 * Rules (bench): Move target definition...
24247 * benchtests/Makefile: ... here.
24248
aba5e333
CD
242492013-04-11 Carlos O'Donell <carlos@redhat.com>
24250
24251 * math/libm-test.inc (cos_test): Fix PI/2 test.
24252 (sincos_test): Likewise.
24253 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24254 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24255
273cdee8
AS
242562013-04-11 Andreas Schwab <schwab@suse.de>
24257
6ecec3b6
AS
24258 [BZ #13988]
24259 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24260 accept exponent character only when digits were seen.
24261 * stdio-common/Makefile (tests): Add bug26.
24262 * stdio-common/bug26.c: New file.
24263
273cdee8
AS
24264 [BZ #14293]
24265 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24266 non-freeable.
24267
8da491f5
SP
242682013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24269
01dc6df9
SP
24270 * Makeconfig (rtld-prefix): Define built linker prefix.
24271 * Rules (run-bench): Use it.
24272 * math/Makefile (run-regen-ulps): Likewise.
24273
8da491f5
SP
24274 * Rules (bench): Remove eval.
24275
abe7f530
SP
242762013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24277 Roland McGrath <roland@hack.frob.com>
24278 Ondrej Bilka <neleai@seznam.cz>
24279
24280 [BZ #15346]
24281 * time/getdate.c: Include ctype.h and alloca.h.
24282 (__getdate_r): Trim leading and trailing spaces of input.
24283 * time/tst-getdate.c (tests): Add tests with leading and
24284 trailing spaces.
24285
61c23e62
RM
242862013-04-08 Roland McGrath <roland@hack.frob.com>
24287
24288 [BZ #14280]
24289 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24290 when computing value.
24291
7208a313
CD
242922013-04-06 Carlos O'Donell <carlos@redhat.com>
24293
085b2d41
CD
24294 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24295 Use testrun.sh to run libm tests.
24296
7208a313
CD
24297 [BZ #15309]
24298 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24299
872c0acd
MM
243002013-04-06 Marko Myllynen <myllynen@redhat.com>
24301
24302 [BZ #15264]
24303 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24304
26510bdd
CD
243052013-04-06 Carlos O'Donell <carlos@redhat.com>
24306
24307 * Makefile.in (regen-ulps): New target.
24308 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24309 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24310 [ifneq (no,$(PERL)] (regen-ulps): New target.
24311 [ifeq (no,$(PERL)] (regen-ulps): New target.
24312 * math/libm-test.inc (ulps_file_name): Define.
24313 (output_dir): New variable.
24314 (options): Add "output-dir" option.
24315 (parse_opt): Handle 'o' case.
24316 (main): If output_dir is non-NULL use it as a prefix
24317 otherwise use "".
24318 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24319
a01f19c8
CD
243202013-04-06 Carlos O'Donell <carlos@redhat.com>
24321
24322 [BZ #10060, #10062]
24323 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24324 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24325 fail configure if __sync_val_compare_and_swap is not inlined.
24326 * sysdeps/i386/configure: Regenerate.
24327 * configure.in: Build for i686 when configured for i386.
24328 * configure: Regenerate.
24329 * README: Remove i386 reference.
24330
b7a329a5
CD
243312013-04-06 Carlos O'Donell <carlos@redhat.com>
24332
24333 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24334 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24335
bf0f50df
TS
243362013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24337
ee091edf
TS
24338 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24339 (lmsnanval): New variables.
24340 (F): Add conversion tests.
24341 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24342 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24343
a8b792d6
TS
24344 * stdio-common/tstdiomisc.c (F): Properly collect individual
24345 tests' results.
24346
a1cbf437
TS
24347 [BZ #14686, #15336]
24348 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24349 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24350 Instead, use input NaN values or generate a qNaN by arithmetic
24351 operation. Also fix bugs to comply with the standard.
24352 * math/libm-test.inc (remainder_test): Add more tests.
24353
8b43a0c9
TS
24354 [BZ #15335, #15342]
24355 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24356 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24357 input NaN values or generate a qNaN by arithmetic operation.
24358
d91da4ce
TS
24359 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24360 unreachable code.
24361
bf0f50df
TS
24362 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24363 definitions.
24364
05e166c8
JM
243652013-04-03 Joseph Myers <joseph@codesourcery.com>
24366
24367 [BZ #14478]
24368 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24369 underflowed result.
24370 * math/s_cexpf.c (__cexpf): Likewise.
24371 * math/s_cexpl.c (__cexpl): Likewise.
24372 * math/libm-test.inc (cexp_test): Add more tests.
24373
1cef1b19
AS
243742013-04-03 Andreas Schwab <schwab@suse.de>
24375
24376 [BZ #15330]
24377 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24378 order arrays from heap if bigger than alloca cutoff.
24379
74d87055
TS
243802013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24381
24382 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24383 (SNAN_TESTS_double): Refer to GCC PR56831.
24384 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24385 GCC PR56828.
24386
d755bba4
SP
243872013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24388
90d5d5bb
SP
24389 * Rules (bench): Move bench.out after the run is complete.
24390
73e0cd5d
SP
24391 * Rules (bench): Echo currently running benchmark.
24392
64aabd4b
SP
24393 * benchtests/Makefile (bench): Add atan and slowatan.
24394 * benchtests/atan-inputs: New file.
24395 * benchtests/slowatan-inputs: New file.
24396 * benchtests/slowatan.c: New file.
24397
c871eccd
SP
24398 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24399 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24400 its value.
24401
d755bba4
SP
24402 [BZ #15305]
24403 * sysdeps/unix/sysv/linux/kernel-features.h
24404 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24405 __ASSUME_XFS_RESTRICTED_CHOWN.
24406 * sysdeps/unix/sysv/linux/pathconf.c
24407 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24408 Save and restore errno.
24409
52ce4860
JM
244102013-04-02 Joseph Myers <joseph@codesourcery.com>
24411
24412 [BZ #15327]
24413 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24414 arguments using __kernel_casinh.
24415 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24416 arguments using __kernel_casinhf.
24417 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24418 arguments using __kernel_casinhl.
24419 * math/libm-test.inc (cacosh_test): Add more tests.
24420 * sysdeps/i386/fpu/libm-test-ulps: Update.
24421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24422
81f311c2
SP
244232013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24424
e7906a47
SP
24425 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24427
92e3664b
SP
24428 * bench/Makefile (bench): Add sin and slowsin.
24429 * benchtests/sin-inputs: New file.
24430 * benchtests/slowsin-inputs: New file.
24431 * benchtests/slowsin.c: New file.
24432
81f311c2
SP
24433 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24434 (bench): Add slowexp and slowpow.
24435 (exp-ITER): Increase iterations.
24436 (pow-ITER): Likewise.
24437 * benchtests/exp-inputs: Change input.
24438 * benchtests/pow-inputs: Likewise.
24439 * benchtests/slowexp-inputs: New file.
24440 * benchtests/slowexp.c: New file.
24441 * benchtests/slowpow-inputs: New file.
24442 * benchtests/slowpow.c: New file.
24443
ab0f1aa9
AZ
244442013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24445
24446 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24447 instructions.
24448 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24449 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24450 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24451 * benchtests/Makefile: Add rint benchtest.
24452 * benchtests/rint-inputs: Input for rint benchtest.
24453
57267616
TS
244542013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24455
24456 * Versions.def (libm): Add GLIBC_2.18.
24457 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24458 hidden libm prototypes.
24459 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24460 * math/Makefile (libm-calls): Add s_issignaling.
24461 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24462 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24463 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24464 declaration.
24465 * math/math.h [__USE_GNU] (issignaling): New macro.
24466 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24467 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24468 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24469 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24470 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24471 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24472 * manual/arith.texi (issignaling): New section.
24473 * manual/libm-err-tab.pl (@all_functions): Update comment.
24474 * math/gen-libm-test.pl (parse_args): Apply special handling for
24475 issignaling.
24476 * math/libm-test.inc (print_float, issignaling_test): New
24477 functions.
24478 (check_float_internal): Add issignaling checks.
24479 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24480 default definition.
24481 * sysdeps/powerpc/math-tests.h: New file.
24482 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24483 tests.
24484 * math/test-snan.c (TEST_FUNC): Likewise.
24485
6142896d
DM
244862013-03-30 David S. Miller <davem@davemloft.net>
24487
24488 * po/de.po: Update from translation team.
24489
ccc8cadf
JM
244902013-03-30 Joseph Myers <joseph@codesourcery.com>
24491
24492 [BZ #10357]
24493 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24494 imaginary part less than 1.0 and real part less than 0.5
24495 specially.
24496 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24497 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24498 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24499 (cacos_test): Add more tests.
24500 (casin_test): Likewise.
24501 (casinh_test): Likewise.
24502 * sysdeps/i386/fpu/libm-test-ulps: Update.
24503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24504
0f6a8d4b
SP
245052013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24506
0d1029de
SP
24507 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24508 ONE with its value.
24509
c2d94018
SP
24510 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24511 (__pow_mp): Replace ONE and MONE with their values.
24512 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24513 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24514 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24515 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24516 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24517 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24518
27ec37f1
SP
24519 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24520
a64d7e0e
SP
24521 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24522 (__pow_mp): Replace ZERO and MZERO with their values.
24523 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24524 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24525 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24527 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24528 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24529 (__sqr): Likewise.
24530
d26dd3eb
SP
24531 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24532
0f6a8d4b
SP
24533 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24534
e57b0c61
RM
245352013-03-28 Roland McGrath <roland@hack.frob.com>
24536
24537 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24538 Declare with __attribute__ ((weak)).
24539 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24540 Call __call_tls_dtors only if it's not NULL.
24541
356b3480
RM
245422013-03-28 Roland McGrath <roland@hack.frob.com>
24543
288f7d79
RM
24544 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24545 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24546 magic __ehdr_start linker symbol if it's defined.
24547 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24548 them up here if it was already done.
24549
dc0a0263
RM
24550 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24551 (_dl_aux_init): Use const in cast when setting it.
24552 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24553 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24554 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24555
3d3436ae
RM
24556 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24557 Declare them here.
24558 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24559 * csu/libc-tls.c: Nor here.
24560 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24561
356b3480
RM
24562 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24563 (__libc_message): Never call vsyslog.
24564
b0f1246a
AM
245652013-03-28 Alan Modra <amodra@gmail.com>
24566
24567 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24568 Define as empty.
24569 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24570 Likewise.
24571
fbbe2b9a
AZ
245722013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24573
24574 [BZ #15214]
24575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24576 underflow.
24577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24578
1728ab37
SP
245792013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24580
7a86be6e
SP
24581 [BZ #15304]
24582 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24583 Don't add gid passed as argument.
24584
1728ab37
SP
24585 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24586
3a7182a1
JM
245872013-03-27 Joseph Myers <joseph@codesourcery.com>
24588
24589 [BZ #15307]
24590 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24591 imaginary part between 1.0 and 1.5 and real part less than 0.5
24592 specially.
24593 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24594 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24595 * math/libm-test.inc (cacos_test): Add more tests.
24596 (casin_test): Likewise.
24597 (casinh_test): Likewise.
24598 * sysdeps/i386/fpu/libm-test-ulps: Update.
24599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24600
6f2e90e7
SP
246012013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24602
5739f705
SP
24603 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24604 constants.
24605 (norm): Likewise.
24606 (denorm): Likewise.
24607 (__dbl_mp): Likewise.
24608 (add_magnitudes): Likewise.
24609 (sub_magnitudes): Likewise.
24610 (__add): Likewise.
24611 (__sub): Likewise.
24612 (__mul): Likewise.
24613 (__sqr): Likewise.
24614 (__inv): Likewise.
24615 (__dvd): Likewise.
24616
e375e83d
SP
24617 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24618 commented code.
24619 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24620 (__dubcos): Likewise.
24621 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24622 (__ieee754_acos): Likewise.
24623 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24624 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24625 (__exp1): Likewise.
24626 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24628 (log1): Likewise.
24629 (my_log2): Likewise.
24630 (checkint): Likewise.
24631 * sysdeps/ieee754/dbl-64/e_remainder.c
24632 (__ieee754_remainder): Likewise.
24633 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24634 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24635 (bsloww): Likewise.
24636 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24637
6f2e90e7
SP
24638 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24639 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24640 MANTISSA_STORE_T to store computations on mantissa. Use
24641 macros for rounding and division.
24642 (denorm): Likewise.
24643 (__dbl_mp): Likewise.
24644 (add_magnitudes): Likewise.
24645 (sub_magnitudes): Likewise.
24646 (__mul): Likewise.
24647 (__sqr): Likewise.
24648 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24649 powers of two in terms of TWOPOW macro.
24650 (mp_no): Make type of mantissa as MANTISSA_T.
24651 [!RADIXI]: Define RADIXI.
24652 [!TWO52]: Define TWO52.
24653 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24654
fce14d4e
AZ
246552013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24656
24657 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24658 llroundl symbol when building for PPC32.
24659
9ad027fb
MW
246602013-03-24 Mark H Weaver <mhw@netris.org>
24661
24662 * manual/arith.texi (Normalization Functions): Fix prototypes for
24663 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24664
e42a38dd
AZ
246652013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24666
24667 [BZ #13889]
24668 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24669 high value to check if expl overflow.
24670 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24671 to check for underflow and overflow.
24672 * math/libm-test.inc: Add exp test.
24673
2e0fb521
DL
246742013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24675
24676 [BZ #11120]
24677 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24678 with NOT_IN_libc.
24679
b5784d95
AZ
246802013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24681
24682 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24683 symbol.
24684
5aa4a1a1
TS
246852013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24686
bdef0be7
TS
24687 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24688 wrap blocks consisting of several statements.
24689
5aa4a1a1
TS
24690 * sysdeps/generic/math-tests.h: New file.
24691 * sysdeps/i386/fpu/math-tests.h: Likewise.
24692 * math/test-snan.c: Include it.
24693 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24694
98c48fe5
JM
246952013-03-21 Joseph Myers <joseph@codesourcery.com>
24696
24697 [BZ #15285]
24698 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24699 (__ieee754_j0l): Do not improve calculations using cos of twice
24700 input for inputs above LDBL_MAX / 2.0L.
24701 (__ieee754_y0l): Likewise.
24702 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24703 (__ieee754_j1l): Do not improve calculations using cos of twice
24704 input for inputs above LDBL_MAX / 2.0L.
24705 (__ieee754_y1l): Likewise.
24706 * math/libm-test.inc (j0_test): Add another test.
24707 (j1_test): Likewise.
24708 (y0_test): Likewise.
24709 (y1_test): Likewise.
24710 * sysdeps/i386/fpu/libm-test-ulps: Update.
24711
3775a8bc
SP
247122013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24713
24714 * Rules ($(objpfx)bench-%.c): Include code from a C source
24715 file.
24716
0a1b2ae6
JM
247172013-03-21 Joseph Myers <joseph@codesourcery.com>
24718
24719 [BZ #15287]
24720 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24721 imaginary part 1.0 and real part less than 0.5 specially.
24722 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24723 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24724 * math/libm-test.inc (cacos_test): Add more tests.
24725 (casin_test): Likewise.
24726 (casinh_test): Likewise.
24727 * sysdeps/i386/fpu/libm-test-ulps: Update.
24728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24729
b33d4ce4
SP
247302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24731
24732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24733 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24734
bef0b507
JM
247352013-03-20 Joseph Myers <joseph@codesourcery.com>
24736
24737 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24738 * config.make.in (config-cflags-sse4): Remove variable.
24739 (config-cflags-avx): Likewise.
24740 (config-cflags-sse2avx): Likewise.
24741 (config-cflags-novzeroupper): Likewise.
24742 (config-asflags-i686): Likewise.
24743 (have-mfma4): Likewise.
24744 (have-as-vis3): Likewise.
24745 (MIG): Likewise.
24746 * configure.in (MIG): Do not AC_SUBST.
24747 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24748 (libc_cv_cc_sse4): Do not AC_SUBST.
24749 (libc_cv_cc_avx): Likewise.
24750 (libc_cv_cc_sse2avx): Likewise.
24751 (libc_cv_cc_novzeroupper): Likewise.
24752 (libc_cv_cc_fma4): Likewise.
24753 (libc_cv_as_i686): Likewise.
24754 (libc_cv_sparc_as_vis3): Likewise.
24755 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24756 LIBC_CONFIG_VAR.
24757 (config-asflags-i686): Likewise.
24758 (config-cflags-avx): Likewise.
24759 (config-cflags-sse2avx): Likewise.
24760 (have-mfma4): Likewise.
24761 (config-cflags-novzeroupper): Likewise.
24762 * sysdeps/mach/configure.in (MIG): Likewise.
24763 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24764 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24765 LIBC_CONFIG_VAR.
24766 (config-cflags-avx): Likewise.
24767 (config-cflags-sse2avx): Likewise.
24768 (have-mfma4): Likewise.
24769 (config-cflags-novzeroupper): Likewise.
24770 * configure: Regenerated.
24771 * sysdeps/i386/configure: Likewise.
24772 * sysdeps/mach/configure: Likewise.
24773 * sysdeps/sparc/configure: Likewise.
24774 * sysdeps/x86_64/configure: Likewise.
24775
912cc4b3
RM
247762013-03-20 Roland McGrath <roland@hack.frob.com>
24777
24778 [BZ #14812]
24779 * locale/programs/localedef.c (options): Put N_ translation marker
24780 on argument names, not just descriptions.
24781
04eed2b0
MS
247822013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24783
24784 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24785
a065ceff
OB
247862013-03-20 Ondřej Bílka <neleai@seznam.cz>
24787
9bb2a810 24788 [BZ #14176]
a065ceff
OB
24789 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24790
a600e5ce
RM
247912013-03-19 Roland McGrath <roland@hack.frob.com>
24792
24793 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24794 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24795 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24796 [!BEFORE_ABORT] (before_abort): New function.
24797 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24798 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24799 (writev_for_fatal): New function.
24800 (WRITEV_FOR_FATAL): New macro; call that.
24801 (backtrace_and_maps): New function.
24802 (BEFORE_ABORT): New macro; call that.
24803 (struct str_list): Type removed.
24804 (__libc_message, __libc_fatal): Functions removed.
24805 Include <sysdeps/posix/libc_fatal.c> instead.
24806
6b18bea6
JM
248072013-03-19 Joseph Myers <joseph@codesourcery.com>
24808
24809 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24810 constants.
24811 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24812 double constants.
24813
aaa8cb4b
AS
248142013-03-19 Andreas Schwab <schwab@suse.de>
24815
44673770
AS
24816 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24817 * sysdeps/gnu/configure: Regenerate.
24818
aaa8cb4b
AS
24819 * configure.in: Substitute libc_cv_rtlddir.
24820 * configure: Regenerate.
24821 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24822 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24823 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24824 * elf/Makefile (install-others, CFLAGS-interp.c)
24825 (ldso_install, common-ldd-rewrite): Likewise.
24826 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24827 $(inst_slibdir)/$(rtld-installed-name).
24828 * scripts/rellns-sh: Add -p option.
24829 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24830 for source.
24831
d3cfc668
SP
248322013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24833
24834 * manual/nptl.texi: Renamed to ...
24835 * manual/threads.texi: ... this.
24836 * manual/Makefile (chapters): Update.
24837
0e2b9cdd
RM
248382013-03-18 Roland McGrath <roland@hack.frob.com>
24839
24840 [BZ #14812]
24841 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24842 on argument names, not just descriptions.
0e2b9cdd
RM
24843 * malloc/memusagestat.c (options): Likewise.
24844 * nss/getent.c (options): Likewise.
63270c24
RM
24845
248462013-03-18 Benno Schulenberg <bensberg@justemail.net>
24847
24848 [BZ #14812]
24849 * iconv/iconv_prog.c (options): Put N_ translation marker
24850 on argument names, not just descriptions.
24851 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24852
b2e1393c
OB
248532013-03-18 Ondrej Bilka <neleai@seznam.cz>
24854
24855 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24856 implementation which is faster on all x86_64 architectures.
24857 Tested on AMD, Intel Nehalem, SNB, IVB.
24858 * sysdeps/x86_64/strnlen.S: Likewise.
24859
24860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24861 Remove all multiarch strlen and strnlen versions.
24862 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24863 Remove strlen and strnlen related parts.
24864
24865 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24866 Inline strlen part.
24867 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24868
24869 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24870 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24871 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24872 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24873 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24874 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24875
ec4ff04d
CD
248762013-03-17 Carlos O'Donell <carlos@redhat.com>
24877
24878 * manual/memory.texi (Malloc Tunable Parameters):
24879 Sort parameters alphabetically. Add comments for missing entries.
24880
cd18e90a
DM
248812013-03-17 David S. Miller <davem@davemloft.net>
24882
24883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24884
2a185d32
JM
248852013-03-16 Joseph Myers <joseph@codesourcery.com>
24886
d2f9799e
JM
24887 [BZ #15283]
24888 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24889 for arguments at most half maximum finite value.
24890 * math/libm-test.inc (j0_test): Add more tests.
24891 (j1_test): Likewise.
24892 (y0_test): Likewise.
24893 (y1_test): Likewise.
24894 * sysdeps/i386/fpu/libm-test-ulps: Update.
24895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24896
2a185d32
JM
24897 [BZ #14155]
24898 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24899 1 / x and functions P and Q for arguments above 0x1p256L.
24900 (__ieee754_y0l): Likewise.
24901 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24902 (__ieee754_y1l): Likewise.
24903 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24904 (j1_test): Likewise.
24905 (y0_test): Likewise.
24906 (y1_test): Likewise.
24907
6cbec759
TS
249082013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24909
24910 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24911 variable.
24912
bc16e260
RM
249132013-03-15 Roland McGrath <roland@hack.frob.com>
24914
aefc9b8c
RM
24915 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24916 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24917 zero since it's initialized to EXEC_PAGESIZE.
24918
bc16e260
RM
24919 * sysdeps/unix/sysv/linux/ldsodefs.h
24920 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24921 * sysdeps/generic/ldsodefs.h: ... here.
24922
a57da955
TS
249232013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24924
af00a34d
TS
24925 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24926
495ded2c
TS
24927 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24928 math/test-snan.c.
24929 * math/test-snan.c: Renamed from
24930 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24931 * math/Makefile (tests): Add test-snan.
24932 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24933 test-powerpc-snan.
24934
777b0332
TS
24935 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24936 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24937 functions.
24938 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24939 __builtin_nan family of functions.
24940 * math/libm-test.inc (initialize): Initialize qnan_value with
24941 __builtin_nan family of functions.
24942 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24943 Remove variables.
24944 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24945 Remove functions.
24946 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24947 storage class. Initialize qNaN_var and sNaN_var with
24948 __builtin_nan and __builtin_nans families of functions,
24949 respectively.
24950
64d063b8
TS
24951 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24952 (sqrt_test): Remove duplicate test with qNaN input.
24953 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24954 (round_test, signbit_test, significand_test): Note missing +/-Inf
24955 as well as qNaN tests.
24956
67e971f1
TS
24957 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24958 qNaN_var. Fix a few strings, too.
24959 * math/libm-test.inc (nan_value): Rename to qnan_value.
24960 * math/gen-libm-test.pl (%beautify): Adjust to that.
24961 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24962 * math/test-misc.c (main): Likewise.
24963 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24964 to __qnan_bytes, and __qnan_union, respectively.
24965 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24966 Likewise.
24967 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24968 and lqnanval, respectively.
24969 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24970 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24971 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24972 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24973
64487e12
TS
24974 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24975 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24976 doubles.
24977
e015e27b
TS
24978 * math/test-misc.c (main): Fix copy'n'pastos.
24979 * misc/tst-efgcvt.c (special): Likewise.
24980
a57da955
TS
24981 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24982 Remove declarations.
24983
1e380345
SP
249842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24985
24986 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24987 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24988 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24989 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24990
ef26eece
AZ
249912013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24992
24993 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24994 macro to return vdso values correctly in IFUNC implementations.
24995 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24996 Optimization by using IFUNC.
24997
8cfdb7e0
SP
249982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24999 Richard Henderson <rth@redhat.com>
25000 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25001
25002 * Makefile.in (bench): New target.
25003 * NEWS: Mention the benchmark framework.
25004 * Rules (bench): Likewise.
25005 (binaries-bench): Generate binaries for functions to
25006 benchmark.
25007 * benchtests/Makefile: New makefile for benchmark tests.
25008 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25009 programs.
25010 * benchtests/exp-inputs: New input file for EXP function.
25011 * benchtests/pow-inputs: New input file for POW function.
25012 * scripts/bench.pl: New script to generate source files for
25013 benchmark programs.
25014
bcda9880
SP
250152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25016
d22ca8cd
SP
25017 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25018 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25019 computations on mantissa. Use macros for rounding and
25020 division.
25021 (denorm): Likewise.
25022 (__dbl_mp): Likewise.
25023 (add_magnitudes): Likewise.
25024 (sub_magnitudes): Likewise.
25025 (__mul): Likewise.
25026 (__sqr): Likewise.
25027 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25028 powers of two in terms of TWOPOW macro.
25029 (mp_no): Make type of mantissa as MANTISSA_T.
25030 [!RADIXI]: Define RADIXI.
25031 [!TWO52]: Define TWO52.
25032 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25033
bcda9880
SP
25034 * manual/nptl.texi (cindex): Modify threads to pthreads.
25035
06d5adfb
JM
250362013-03-15 Joseph Myers <joseph@codesourcery.com>
25037
25038 * sysdeps/x86_64/preconfigure: Regenerated.
25039
41c7328e
JM
250402013-03-14 Joseph Myers <joseph@codesourcery.com>
25041
25042 [BZ #14155]
25043 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25044 0x1p28 and above.
25045 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25046 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25047 0x1p28 and above.
25048 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25049 * math/libm-test.inc (j0_test): Do not allow one spurious
25050 underflow exception.
25051 (y1_test): Likewise.
25052
e25cfa60
SP
250532013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25054
0409959c
SP
25055 * manual/Makefile (chapters): Add nptl.
25056 * manual/debug.texi (Debugging Support): Add link to Threads
25057 chapter.
25058 * manual/nptl.texi: New file.
25059
e25cfa60
SP
25060 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25061
58a1335e
PB
250622013-03-14 Petr Baudis <pasky@ucw.cz>
25063
25064 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25065 for non-NULL pointer before the memory validity test. Pointed
25066 out by Holger Brunck <holger.brunck@keymile.com>.
25067
9dc7c64f
AS
250682013-03-13 Andreas Schwab <schwab@suse.de>
25069
25070 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25071 instead of .os.
25072
54206aa6
JM
250732013-03-13 Joseph Myers <joseph@codesourcery.com>
25074
25075 * timezone/zic.c: Update from tzcode 2013b.
25076
e98cdb38
CD
250772013-03-12 Carlos O'Donell <carlos@redhat.com>
25078
25079 * manual/install.texi (Configuring and compiling):
25080 Mention i686 and i586.
25081 * INSTALL: Regenerate.
25082
9967e003
RM
250832013-03-12 Roland McGrath <roland@hack.frob.com>
25084
25085 * sysdeps/init_array/elf-init.c: New file.
25086 * csu/elf-init.c
25087 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25088 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25089
25090 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25091 __gmon_start__ as global, but as static with a .preinit_array pointer.
25092 * sysdeps/init_array/gmon-start.c: New file. Use that.
25093 * sysdeps/init_array/crti.S: New file, empty except for comments.
25094 * sysdeps/init_array/crtn.S: Likewise.
25095
e6b5a293 250962013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25097
25098 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25099 definining bcopy.
80f844c9
OB
25100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25101 Remove Prefer_SSE_for_memop.
25102 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25103 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25104 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25106 memset-x86-64.
80f844c9 25107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25108 Remove bzero, memset ifunc support.
80f844c9
OB
25109 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25110 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25111 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25112 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25113
fb6b0fcb
AS
251142013-03-11 Andreas Schwab <schwab@suse.de>
25115
25116 [BZ #15234]
25117 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25118 by SHLIB_COMPAT.
25119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25120 (GLIBC_2.16): Remove pthread_atfork.
25121
3e6bd4b1
PP
251222013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25123
25124 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25125 (ptestcases.h): Likewise.
25126
222d7f00
RM
251272013-03-08 Roland McGrath <roland@hack.frob.com>
25128
25129 * Makeconfig ($(common-objpfx)config.status): Depend on
25130 sysdeps/*/preconfigure{,.in} too.
25131
1ba4f030
JM
251322013-03-08 Joseph Myers <joseph@codesourcery.com>
25133
a222d91a
JM
25134 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25135 (__free_hook): Use void * instead of __malloc_ptr_t.
25136 (__malloc_hook): Likewise.
25137 (__realloc_hook): Likewise.
25138 (__memalign_hook): Likewise.
25139 (__after_morecore_hook): Likewise.
25140 * malloc/arena.c (save_malloc_hook): Likewise.
25141 (save_free_hook): Likewise.
25142 * malloc/hooks.c (malloc_hook_ini): Likewise.
25143 (realloc_hook_ini): Likewise.
25144 (memalign_hook_ini): Likewise.
25145 * malloc/malloc.c (malloc_hook_ini): Likewise.
25146 (realloc_hook_ini): Likewise.
25147 (memalign_hook_ini): Likewise.
25148 (__free_hook): Likewise.
25149 (__malloc_hook): Likewise.
25150 (__realloc_hook): Likewise.
25151 (__memalign_hook): Likewise.
25152 (__libc_malloc): Likewise.
25153 (__libc_free): Likewise.
25154 (__libc_realloc): Likewise.
25155 (__libc_memalign): Likewise.
25156 (__libc_valloc): Likewise.
25157 (__libc_pvalloc): Likewise.
25158 (__libc_calloc): Likewise.
25159 (__posix_memalign): Likewise.
25160 * malloc/morecore.c (__sbrk): Likewise.
25161 (__default_morecore): Likewise.
25162
5cc45e10
JM
25163 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25164
dd54b864
JM
25165 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25166 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25167 __malloc_ptrdiff_t.
25168
1ba4f030
JM
25169 * malloc/malloc.h (__malloc_size_t): Remove macro.
25170 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25171 __malloc_size_t.
25172 (old_memalign_hook): Likewise.
25173 (old_realloc_hook): Likewise.
25174 (struct hdr): Likewise.
25175 (flood): Likewise.
25176 (mallochook): Likewise.
25177 (memalignhook): Likewise.
25178 (reallochook): Likewise.
25179 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25180 (tr_old_realloc_hook): Likewise.
25181 (tr_old_memalign_hook): Likewise.
25182 (tr_mallochook): Likewise.
25183 (tr_reallochook): Likewise.
25184 (tr_memalignhook): Likewise.
25185
edf66e57
AZ
251862013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25187
25188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25189 default_ldbl_pack and using as default implementation.
25190 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25191 implementation.
25192 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25193 redundant definition.
25194 (ldbl_insert_mantissa): Likewise.
25195 (ldbl_canonicalize): Likewise.
25196 (ldbl_nearbyint): Likewise.
25197 (ldbl_pack): Rename to ldbl_pack_ppc.
25198 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25199 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25200 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25201
6d9145d8
SP
252022013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25203
25204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25205 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25206 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25207 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25209 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25210 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25211 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25212
4dd4e157
AJ
252132013-03-07 Andreas Jaeger <aj@suse.de>
25214
25215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25216 bits/mman-linux.h.
25217
adbb8027
SP
252182013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25219
ce544b5b
SP
25220 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25221 Include mpa.h and declare __MPEXP.
25222 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25223 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25224 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25225 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25226 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25227 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25228 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25229
4cc149fd
SP
25230 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25231 (__slowpow): Use long double EXPL and LOGL functions to
25232 compute POW.
25233 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25234 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25235 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25236 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25237 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25238 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25239
e6ebd4a7
SP
25240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25241 intermediate variable to calculate exponent.
25242 (__sqr): Likewise.
25243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25244 Likewise.
25245 (__sqr): Likewise.
25246
82a9811d
SP
25247 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25248 [!NO__SQR]: Define __sqr.
25249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25250 and NO__SQR. Remove all code except __mul and __sqr. Include
25251 sysdeps/ieee754/dbl-64/mpa.c.
25252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25253
adbb8027
SP
25254 [BZ #12723]
25255 * posix/Makefile (tests): Add tst-pathconf.
25256 * posix/tst-pathconf.c: New test case.
25257 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25258 _PC_PIPE_BUF.
25259 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25260
39120df9
PF
252612013-03-06 Patsy Franklin <pfrankli@redhat.com>
25262
25263 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25264
67525cb8
AJ
252652013-03-06 Andreas Jaeger <aj@suse.de>
25266
664a9ce4
AJ
25267 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25268 definition via __MAP_ANONYMOUS.
25269
8e39047d
AJ
25270 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25271 it's not part of Linux headers.
25272
67525cb8
AJ
25273 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25274 (MAP_HUGE_MASK): Define.
25275
25276 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25277 Define.
25278 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25280 Define.
25281 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25282 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25283 Define.
25284 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25285 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25286 Define.
25287 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25288
25289 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25290 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25291 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25292 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25293 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25294 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25295
25296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25297 Handle f2fs.
25298
25299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25300 Handle f2fs and efivarfs.
25301
25302 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25303 f2fs.
25304
25305 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25306 (EFIVARFS_MAGIC): Add.
25307 (F2FS_LINK_MAX): Add.
25308
e1b42695
PP
253092013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25310
25311 * stdio-common/vfprintf.c: Replace __builtin_expect with
25312 __glibc_unlikely.
25313
2d67d91a
JM
253142013-03-06 Joseph Myers <joseph@codesourcery.com>
25315
25316 [BZ #13550]
25317 * sysdeps/generic/bp-sym.h: Remove file.
25318 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25319 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25320 <bp-sym.h> and <bp-asm.h>.
25321 (__longjmp): Don't use BP_SYM.
25322 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25323 and <bp-asm.h>.
25324 (memcpy): Don't use BP_SYM.
25325 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25326 <bp-sym.h> and <bp-asm.h>.
25327 (memcpy): Don't use BP_SYM.
25328 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25329 <bp-asm.h>.
25330 (memcpy): Don't use BP_SYM.
25331 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25332 <bp-asm.h>.
25333 (memset): Don't use BP_SYM.
25334 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25335 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25336 (__bzero): Don't use BP_SYM.
25337 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25338 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25339 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25340 <bp-sym.h> and <bp-asm.h>.
25341 (memcmp): Don't use BP_SYM. Remove comment about bounded
25342 pointers.
25343 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25344 <bp-sym.h> and <bp-asm.h>.
25345 (memcpy): Don't use BP_SYM.
25346 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25347 <bp-sym.h> and <bp-asm.h>.
25348 (memset): Don't use BP_SYM.
25349 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25350 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25351 (__bzero): Don't use BP_SYM.
25352 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25353 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25355 <bp-sym.h> and <bp-asm.h>.
25356 (strncmp): Don't use BP_SYM. Remove comment about bounded
25357 pointers.
25358 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25359 <bp-sym.h> and <bp-asm.h>.
25360 (memcpy): Don't use BP_SYM.
25361 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25362 <bp-sym.h> and <bp-asm.h>.
25363 (memset): Don't use BP_SYM.
25364 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25365 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25366 (__bzero): Don't use BP_SYM.
25367 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25368 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25370 <bp-sym.h> and <bp-asm.h>.
25371 (__memchr): Don't use BP_SYM.
25372 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25373 <bp-sym.h> and <bp-asm.h>.
25374 (memcmp): Don't use BP_SYM. Remove comment about bounded
25375 pointers.
25376 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25377 <bp-sym.h> and <bp-asm.h>.
25378 (memcpy): Don't use BP_SYM.
25379 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25380 <bp-sym.h> and <bp-asm.h>.
25381 (__mempcpy): Don't use BP_SYM.
25382 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25383 <bp-sym.h> and <bp-asm.h>.
25384 (__memrchr): Don't use BP_SYM.
25385 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25386 <bp-sym.h> and <bp-asm.h>.
25387 (memset): Don't use BP_SYM.
25388 (__bzero): Likewise.
25389 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25390 <bp-sym.h> and <bp-asm.h>.
25391 (__rawmemchr): Don't use BP_SYM.
25392 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25393 <bp-sym.h> and <bp-asm.h>.
25394 (__STRCMP): Don't use BP_SYM.
25395 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25396 <bp-sym.h> and <bp-asm.h>.
25397 (strchr): Don't use BP_SYM.
25398 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25399 <bp-sym.h> and <bp-asm.h>.
25400 (__strchrnul): Don't use BP_SYM.
25401 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25402 <bp-sym.h> and <bp-asm.h>.
25403 (strlen): Don't use BP_SYM.
25404 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25405 <bp-sym.h> and <bp-asm.h>.
25406 (strncmp): Don't use BP_SYM. Remove comment about bounded
25407 pointers.
25408 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25409 <bp-sym.h> and <bp-asm.h>.
25410 (__strnlen): Don't use BP_SYM.
25411 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25412 <bp-sym.h> and <bp-asm.h>.
25413 (__GI__setjmp): Don't use BP_SYM.
25414 (_setjmp): Likewise.
25415 (__sigsetjmp): Likewise.
25416 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25417 (L(start_addresses)): Don't use BP_SYM.
25418 (_start): Likewise.
25419 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25420 <bp-asm.h>.
25421 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25422 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25423 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25424 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25425 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25426 <bp-asm.h>.
25427 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25428 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25429 about bounded pointers.
25430 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25431 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25432 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25433 <bp-asm.h>.
25434 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25435 about bounded pointers. Remove GKM FIXME comments.
25436 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25437 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25438 <bp-asm.h>.
25439 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25440 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25441 Remove GKM FIXME comments.
25442 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25443 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25444 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25445 <bp-asm.h>.
25446 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25447 about bounded pointers. Remove GKM FIXME comment.
25448 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25449 and <bp-asm.h>.
25450 (strncmp): Don't use BP_SYM. Remove comment about bounded
25451 pointers.
25452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25453 <bp-sym.h> and <bp-asm.h>.
25454 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25456 <bp-sym.h> and <bp-asm.h>.
25457 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25458 comment.
25459
cdcf361f
PP
254602013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25461
25462 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25463 call free(NULL).
25464
3c4a2b15
DM
254652013-03-05 David S. Miller <davem@davemloft.net>
25466
25467 * po/es.po: Update from translation team.
25468
cdcf361f 254692013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25470
25471 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25472 <bits/mman-linux.h>.
25473 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25474 is fine.
25475 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25476 <bits/mman-linux.h> to end of file.
25477 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25478 is fine.
25479 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25480 <bits/mman-linux.h> to end of file.
25481 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25482 is fine.
25483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25484 <bits/mman-linux.h> to end of file.
25485
25486 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25487 (MCL_CURRENT, MCL_FUTURE): Define here.
25488
5f67c04f
AK
254892013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25490
8a4473cc 25491 [BZ #15232]
5f67c04f
AK
25492 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25493 attribute_hidden.
25494 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25495
c3e94a95
AK
254962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25497
25498 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25499 fourth parameter needed for rt_sigprocmask syscall.
25500 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25501 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25502 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25503 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25504 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25505 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25506
cfb6382a
JM
255072013-03-04 Joseph Myers <joseph@codesourcery.com>
25508
25509 [BZ #13550]
25510 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25511 comment about bounded pointers.
25512 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25513 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25514
539d8e01
AJ
255152013-03-04 Andreas Jaeger <aj@suse.de>
25516
25517 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25518 common definitions.
25519
25520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25521 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25522 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25523 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25524 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25525 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25526
2e167a70 255272013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25528
25529 [BZ #15055]
25530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25531 __ieee754_sqrl instead of __sqrl.
25532
68508633
JM
255332013-03-01 Joseph Myers <joseph@codesourcery.com>
25534
25535 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25536 * sysdeps/powerpc/fpu_control.h: ... here.
25537 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25538 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25539 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25540 * sysdeps/powerpc/bits/mathinline.h: ... here.
25541
7775448e
RM
255422013-03-01 Roland McGrath <roland@hack.frob.com>
25543
25544 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25545 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25546 to just [NEED_DL_SYSINFO_DSO].
25547 * elf/dl-support.c: Likewise.
25548 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25549 * elf/rtld.c (dl_main): Likewise.
25550 * elf/setup-vdso.h (setup_vdso): Likewise.
25551 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25552 * sysdeps/unix/sysv/linux/dl-sysdep.c
25553 (_dl_discover_osversion): Likewise.
25554
4e9b5995
CD
255552013-03-01 Carlos O'Donell <carlos@redhat.com>
25556
25557 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25558 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25559
e23872c8
SP
255602013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25561
e5c74c63
SP
25562 * NEWS: Mention libm performance improvements and non-x86 PI
25563 futex support.
25564
e23872c8
SP
25565 * csu/libc-start.c (__pthread_initialize_minimal): Change
25566 function arguments.
25567 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25568
b5510883
JM
255692013-02-28 Joseph Myers <joseph@codesourcery.com>
25570
25571 [BZ #13550]
25572 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25573 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25574 <bp-sym.h> and <bp-asm.h>.
25575 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25576 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25577 and <bp-asm.h>.
25578 (memcpy): Don't use BP_SYM.
25579 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25580 <bp-asm.h>.
25581 (__mpn_add_n): Don't use BP_SYM.
25582 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25583 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25584 and <bp-asm.h>.
25585 (__mpn_addmul_1): Don't use BP_SYM.
25586 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25588 <bp-sym.h>.
25589 (_setjmp): Don't use BP_SYM.
25590 (__novmx_setjmp): Likewise.
25591 (__GI__setjmp): Likewise.
25592 (__vmx_setjmp): Likewise.
25593 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25594 <bp-sym.h>.
25595 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25596 (__bzero): Don't use BP_SYM.
25597 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25598 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25599 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25600 <bp-sym.h> and <bp-asm.h>.
25601 (memcpy): Don't use BP_SYM.
25602 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25603 <bp-sym.h> and <bp-asm.h>.
25604 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25605 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25606 <bp-sym.h> and <bp-asm.h>.
25607 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25608 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25609 <bp-asm.h>.
25610 (__mpn_lshift): Don't use BP_SYM.
25611 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25612 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25613 <bp-asm.h>.
25614 (memset): Don't use BP_SYM.
25615 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25616 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25617 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25618 <bp-asm.h>.
25619 (__mpn_mul_1): Don't use BP_SYM.
25620 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25622 <bp-sym.h> and <bp-asm.h>.
25623 (memcmp): Don't use BP_SYM.
25624 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25625 <bp-sym.h> and <bp-asm.h>.
25626 (memcpy): Don't use BP_SYM.
25627 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25628 <bp-sym.h> and <bp-asm.h>.
25629 (memset): Don't use BP_SYM.
25630 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25631 <bp-sym.h> and <bp-asm.h>.
25632 (strncmp): Don't use BP_SYM.
25633 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25634 <bp-sym.h> and <bp-asm.h>.
25635 (memcpy): Don't use BP_SYM.
25636 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25637 <bp-sym.h> and <bp-asm.h>.
25638 (memset): Don't use BP_SYM.
25639 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25640 <bp-sym.h> and <bp-asm.h>.
25641 (__memchr): Don't use BP_SYM.
25642 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25643 <bp-sym.h> and <bp-asm.h>.
25644 (memcmp): Don't use BP_SYM.
25645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25646 <bp-sym.h> and <bp-asm.h>.
25647 (memcpy): Don't use BP_SYM.
25648 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25649 <bp-sym.h> and <bp-asm.h>.
25650 (__mempcpy): Don't use BP_SYM.
25651 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25652 <bp-sym.h> and <bp-asm.h>.
25653 (__memrchr): Don't use BP_SYM.
25654 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25655 <bp-sym.h> and <bp-asm.h>.
25656 (memset): Don't use BP_SYM.
25657 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25658 <bp-sym.h> and <bp-asm.h>.
25659 (__rawmemchr): Don't use BP_SYM.
25660 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25661 <bp-sym.h> and <bp-asm.h>.
25662 (__STRCMP): Don't use BP_SYM.
25663 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25664 <bp-sym.h> and <bp-asm.h>.
25665 (strchr): Don't use BP_SYM.
25666 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25667 <bp-sym.h> and <bp-asm.h>.
25668 (__strchrnul): Don't use BP_SYM.
25669 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25670 <bp-sym.h> and <bp-asm.h>.
25671 (strlen): Don't use BP_SYM.
25672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25673 <bp-sym.h> and <bp-asm.h>.
25674 (strncmp): Don't use BP_SYM.
25675 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25676 <bp-sym.h> and <bp-asm.h>.
25677 (__strnlen): Don't use BP_SYM.
25678 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25679 <bp-asm.h>.
25680 (__mpn_rshift): Don't use BP_SYM.
25681 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25682 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25683 <bp-sym.h> and <bp-asm.h>.
25684 (__sigsetjmp): Don't use BP_SYM.
25685 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25686 (L(start_addresses)): Don't use BP_SYM.
25687 (_start): Likewise.
25688 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25689 <bp-asm.h>.
25690 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25691 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25692 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25693 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25694 <bp-asm.h>.
25695 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25696 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25697 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25698 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25699 <bp-asm.h>.
25700 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25701 comments.
25702 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25703 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25704 <bp-asm.h>.
25705 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25706 FIXME comments.
25707 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25708 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25709 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25710 <bp-asm.h>.
25711 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25712 comment.
25713 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25714 and <bp-asm.h>.
25715 (strncmp): Don't use BP_SYM,
25716 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25717 <bp-asm.h>.
25718 (__mpn_sub_n): Don't use BP_SYM.
25719 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25720 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25721 and <bp-asm.h>.
25722 (__mpn_submul_1): Don't use BP_SYM.
25723 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25725 <bp-sym.h> and <bp-asm.h>.
25726 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25728 <bp-sym.h> and <bp-asm.h>.
25729 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25730 comment.
25731
8d19fe64
SP
257322013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25733
25734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25735 Use ZK to minimize writes to Z.
25736 (sub_magnitudes): Simplify code a bit.
25737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25738 Use ZK to minimize writes to Z.
25739 (sub_magnitudes): Simplify code a bit.
25740
85bd816a
RM
257412013-02-27 Roland McGrath <roland@hack.frob.com>
25742
25743 * csu/gmon-start.c: Add special exception to license text.
25744
b5977bf2
RH
257452013-02-27 Richard Henderson <rth@redhat.com>
25746
25747 * scripts/config.guess: Update from config.git.
25748 * scripts/config.sub: Likewise.
25749
11d6e2f2
SP
257502013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25751
09c14ed2
SP
25752 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25753
a688864e
SP
25754 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25755
6295157a
SP
25756 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25757
b8de2202
SP
25758 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25759
11d6e2f2
SP
25760 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25761
7e80ddb8
RM
257622013-02-26 Roland McGrath <roland@hack.frob.com>
25763
25764 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25765 [$(build-shared = yes].
7e80ddb8 25766
7da6d9ed
SP
257672013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25768
45f05884
SP
25769 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25770 (__mul): Reduce iterations for calculating mantissa.
25771
2236d359
SP
25772 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25773 MPTWO.
25774 (__mpranred): Likewise.
25775
7da6d9ed
SP
25776 [BZ #15160]
25777 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25778 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25779
b7688c42
PE
257802013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25781
25782 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25783 Define __attribute__.
25784
53a5c423
SP
257852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25786
25787 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25788 unused.
25789 * posix/regex_internal.h (__attribute): Remove.
25790 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25791 (re_string_context_at): Likewise.
25792 (bitset_not): Use __attribute__ and mark function as possibly
25793 unused.
25794 (bitset_merge): Likewise.
25795 (bitset_mask): Likewise.
25796 (re_string_char_size_at): Likewise.
25797 (re_string_wchar_at): Likewise.
25798 (re_string_elem_size_at): Likewise.
25799
60f5a8b5
SP
258002013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25801
2a983a2e
SP
25802 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25803 code.
25804 (cc32): Likewise.
25805
e69804d1
SP
25806 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25807 (__acr): Likewise.
25808 (__cpy): Likewise.
25809 (norm): Likewise.
25810 (denorm): Likewise.
25811 (__dbl_mp): Likewise.
25812 (add_magnitudes): Likewise.
25813 (sub_magnitudes): Likewise.
25814 (__mul): Likewise.
25815 (__inv): Likewise.
25816
2f22a1e8
SP
25817 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25818 style.
25819
8930ddc7
SP
25820 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25821 style.
25822
dc60cb11
SP
25823 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25824 code.
25825
60f5a8b5
SP
25826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25827 up changes with default code.
25828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25829 Likewise.
25830
b4d1fd33
AM
258312013-02-24 Allan McRae <allan@archlinux.org>
25832
faf6f8bc
AM
25833 * manual/socket.texi (The Internet Namespace): Order menu items
25834 to match that in the file.
25835
b4d1fd33
AM
25836 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25837 node listing of the info page menu.
25838
2366713d
JM
258392013-02-21 Joseph Myers <joseph@codesourcery.com>
25840
25841 [BZ #13550]
25842 * sysdeps/i386/bp-asm.h: Remove file.
25843 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25844 (PARMS): Do not use macros from bp-asm.h.
25845 (S1): Likewise.
25846 (S2): Likewise.
25847 (SIZE): Likewise.
25848 (__mpn_add_n): Do not use BP_SYM
25849 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25850 "bp-asm.h".
25851 (PARMS): Do not use macros from bp-asm.h.
25852 (S1): Likewise.
25853 (SIZE): Likewise.
25854 (__mpn_addmul_1): Do not use BP_SYM
25855 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25856 "bp-asm.h".
25857 (PARMS): Do not use macros from bp-asm.h.
25858 (SIGMSK): Likewise.
25859 (_setjmp): Likewise. Do not use BP_SYM.
25860 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25861 "bp-asm.h".
25862 (PARMS): Do not use macros from bp-asm.h.
25863 (SIGMSK): Likewise.
25864 (setjmp): Likewise. Do not use BP_SYM.
25865 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25866 "bp-asm.h".
25867 (PARMS): Do not use macros from bp-asm.h.
25868 (__frexp): Do not use BP_SYM.
25869 (frexp): Likewise.
25870 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25871 "bp-asm.h".
25872 (PARMS): Do not use macros from bp-asm.h.
25873 (__frexpf): Do not use BP_SYM.
25874 (frexpf): Likewise.
25875 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25876 "bp-asm.h".
25877 (PARMS): Do not use macros from bp-asm.h.
25878 (__frexpl): Do not use BP_SYM.
25879 (frexpl): Likewise.
25880 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25881 "bp-asm.h".
25882 (PARMS): Do not use macros from bp-asm.h.
25883 (__remquo): Do not use BP_SYM.
25884 (remquo): Likewise.
25885 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25886 "bp-asm.h".
25887 (PARMS): Do not use macros from bp-asm.h.
25888 (__remquof): Do not use BP_SYM.
25889 (remquof): Likewise.
25890 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25891 "bp-asm.h".
25892 (PARMS): Do not use macros from bp-asm.h.
25893 (__remquol): Do not use BP_SYM.
25894 (remquol): Likewise.
25895 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25896 "bp-asm.h".
25897 (PARMS): Do not use macros from bp-asm.h.
25898 (DEST): Likewise.
25899 (SRC): Likewise.
25900 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25901 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25902 "bp-asm.h".
25903 (PARMS): Do not use macros from bp-asm.h.
25904 (strlen): Do not use BP_SYM.
25905 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25906 "bp-asm.h".
25907 (PARMS): Do not use macros from bp-asm.h.
25908 (S1): Likewise.
25909 (S2): Likewise.
25910 (SIZE): Likewise.
25911 (__mpn_add_n): Do not use BP_SYM.
25912 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25913 "bp-asm.h".
25914 (PARMS): Do not use macros from bp-asm.h.
25915 (S1): Likewise.
25916 (SIZE): Likewise.
25917 (__mpn_addmul_1): Do not use BP_SYM.
25918 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25919 weak_alias.
25920 (bzero): Likewise.
25921 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25922 "bp-asm.h".
25923 (PARMS): Do not use macros from bp-asm.h.
25924 (S): Likewise.
25925 (SIZE): Likewise.
25926 (__mpn_lshift): Do not use BP_SYM.
25927 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25928 "bp-asm.h".
25929 (PARMS): Do not use macros from bp-asm.h.
25930 (DEST): Likewise.
25931 (SRC): Likewise.
25932 (LEN): Likewise.
25933 (memcpy): Likewise. Do not use BP_SYM.
25934 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25935 libc_hidden_def and weak_alias.
25936 (mempcpy): Do not use BP_SYM in weak_alias.
25937 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25938 "bp-asm.h".
25939 (PARMS): Do not use macros from bp-asm.h.
25940 (DEST): Likewise.
25941 (LEN): Likewise.
25942 [!BZERO_P] (CHR): Likewise.
25943 (memset): Likewise. Do not use BP_SYM.
25944 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25945 "bp-asm.h".
25946 (PARMS): Do not use macros from bp-asm.h.
25947 (S1): Likewise.
25948 (SIZE): Likewise.
25949 (__mpn_mul_1): Do not use BP_SYM.
25950 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25951 "bp-asm.h".
25952 (PARMS): Do not use macros from bp-asm.h.
25953 (S): Likewise.
25954 (SIZE): Likewise.
25955 (__mpn_rshift): Do not use BP_SYM.
25956 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25957 "bp-asm.h".
25958 (PARMS): Do not use macros from bp-asm.h.
25959 (STR): Likewise.
25960 (CHR): Likewise.
25961 (strchr): Likewise. Do not use BP_SYM.
25962 (index): Do not use BP_SYM in weak_alias.
25963 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25964 "bp-asm.h".
25965 (PARMS): Do not use macros from bp-asm.h.
25966 (DEST): Likewise.
25967 (SRC): Likewise.
25968 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25969 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25970 "bp-asm.h".
25971 (PARMS): Do not use macros from bp-asm.h.
25972 (strlen): Do not use BP_SYM.
25973 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25974 "bp-asm.h".
25975 (PARMS): Do not use macros from bp-asm.h.
25976 (S1): Likewise.
25977 (S2): Likewise.
25978 (SIZE): Likewise.
25979 (__mpn_sub_n): Do not use BP_SYM.
25980 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25981 "bp-asm.h".
25982 (PARMS): Do not use macros from bp-asm.h.
25983 (S1): Likewise.
25984 (SIZE): Likewise.
25985 (__mpn_submul_1): Do not use BP_SYM.
25986 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25987 "bp-asm.h".
25988 (PARMS): Do not use macros from bp-asm.h.
25989 (S1): Likewise.
25990 (S2): Likewise.
25991 (SIZE): Likewise.
25992 (__mpn_add_n): Do not use BP_SYM.
25993 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25994 weak_alias.
25995 (bzero): Likewise.
25996 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25997 "bp-asm.h".
25998 (PARMS): Do not use macros from bp-asm.h.
25999 (BLK2): Likewise.
26000 (LEN): Likewise.
26001 (memcmp): Do not use BP_SYM.
26002 (bcmp): Do not use BP_SYM in weak_alias.
26003 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26004 "bp-asm.h".
26005 (PARMS): Do not use macros from bp-asm.h.
26006 (DEST): Likewise.
26007 (SRC): Likewise.
26008 (LEN): Likewise.
26009 (memcpy): Likewise. Do not use BP_SYM.
26010 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26011 "bp-asm.h".
26012 (PARMS): Do not use macros from bp-asm.h.
26013 (DEST): Likewise.
26014 (SRC): Likewise.
26015 (LEN): Likewise.
26016 (memmove): Likewise. Do not use BP_SYM.
26017 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26018 "bp-asm.h".
26019 (PARMS): Do not use macros from bp-asm.h.
26020 (DEST): Likewise.
26021 (SRC): Likewise.
26022 (LEN): Likewise.
26023 (__mempcpy): Likewise. Do not use BP_SYM.
26024 (mempcpy): Do not use BP_SYM in weak_alias.
26025 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26026 "bp-asm.h".
26027 (PARMS): Do not use macros from bp-asm.h.
26028 (DEST): Likewise.
26029 (LEN): Likewise.
26030 [!BZERO_P] (CHR): Likewise.
26031 (memset): Likewise. Do not use BP_SYM.
26032 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26033 "bp-asm.h".
26034 (PARMS): Do not use macros from bp-asm.h.
26035 (STR2): Likewise.
26036 (strcmp): Do not use BP_SYM.
26037 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26038 "bp-asm.h".
26039 (PARMS): Do not use macros from bp-asm.h.
26040 (STR): Likewise.
26041 (DELIM): Likewise.
26042 [USE_AS_STRTOK_R] (SAVE): Likewise.
26043 (FUNCTION): Likewise. Do not use BP_SYM.
26044 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26045 aliases.
26046 (strtok_r): Likewise.
26047 (__GI___strtok_r): Likewise.
26048 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26049 (PARMS): Do not use macros from bp-asm.h.
26050 (S): Likewise.
26051 (SIZE): Likewise.
26052 (__mpn_lshift): Do not use BP_SYM.
26053 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26054 (PARMS): Do not use macros from bp-asm.h.
26055 (STR): Likewise.
26056 (CHR): Likewise.
26057 (__memchr): Do not use BP_SYM.
26058 (memchr): Do not use BP_SYM in weak_alias.
26059 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26060 (PARMS): Do not use macros from bp-asm.h.
26061 (BLK2): Likewise.
26062 (LEN): Likewise.
26063 (memcmp): Do not use BP_SYM.
26064 (bcmp): Do not use BP_SYM in weak_alias.
26065 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26066 (PARMS): Do not use macros from bp-asm.h.
26067 (S1): Likewise.
26068 (SIZE): Likewise.
26069 (__mpn_mul_1): Do not use BP_SYM.
26070 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26071 "bp-asm.h".
26072 (PARMS): Do not use macros from bp-asm.h.
26073 (STR): Likewise.
26074 (CHR): Likewise.
26075 (__rawmemchr): Do not use BP_SYM.
26076 (rawmemchr): Do not use BP_SYM in weak_alias.
26077 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26078 (PARMS): Do not use macros from bp-asm.h.
26079 (S): Likewise.
26080 (SIZE): Likewise.
26081 (__mpn_rshift): Do not use BP_SYM.
26082 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26083 (PARMS): Do not use macros from bp-asm.h.
26084 (SIGMSK): Likewise.
26085 (__sigsetjmp): Likewise. Do not use BP_SYM.
26086 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26087 (_start): Do not use BP_SYM.
26088 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26089 (PARMS): Do not use macros from bp-asm.h.
26090 (DEST): Likewise.
26091 (SRC): Likewise.
26092 (__stpcpy): Likewise. Do not use BP_SYM.
26093 (stpcpy): Do not use BP_SYM in weak_alias.
26094 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26095 "bp-asm.h".
26096 (PARMS): Do not use macros from bp-asm.h.
26097 (DEST): Likewise.
26098 (SRC): Likewise.
26099 (LEN): Likewise.
26100 (__stpncpy): Likewise. Do not use BP_SYM.
26101 (stpncpy): Do not use BP_SYM in weak_alias.
26102 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26103 (PARMS): Do not use macros from bp-asm.h.
26104 (STR): Likewise.
26105 (CHR): Likewise.
26106 (strchr): Likewise. Do not use BP_SYM.
26107 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26108 "bp-asm.h".
26109 (PARMS): Do not use macros from bp-asm.h.
26110 (STR): Likewise.
26111 (CHR): Likewise.
26112 (__strchrnul): Likewise. Do not use BP_SYM.
26113 (strchrnul): Do not use BP_SYM in weak_alias.
26114 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26115 "bp-asm.h".
26116 (PARMS): Do not use macros from bp-asm.h.
26117 (STOP): Likewise.
26118 (strcspn): Do not use BP_SYM.
26119 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26120 "bp-asm.h".
26121 (PARMS): Do not use macros from bp-asm.h.
26122 (STR): Likewise.
26123 (STOP): Likewise.
26124 (strpbrk): Likewise. Do not use BP_SYM.
26125 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26126 "bp-asm.h".
26127 (PARMS): Do not use macros from bp-asm.h.
26128 (STR): Likewise.
26129 (CHR): Likewise.
26130 (strrchr): Likewise. Do not use BP_SYM.
26131 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26132 (PARMS): Do not use macros from bp-asm.h.
26133 (SKIP): Likewise.
26134 (strspn): Do not use BP_SYM.
26135 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26136 (PARMS): Do not use macros from bp-asm.h.
26137 (STR): Likewise.
26138 (DELIM): Likewise.
26139 (SAVE): Likewise.
26140 (FUNCTION): Likewise. Do not use BP_SYM.
26141 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26142 aliases.
26143 (strtok_r): Likewise.
26144 (__GI___strtok_r): Likewise.
26145 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26146 (PARMS): Do not use macros from bp-asm.h.
26147 (S1): Likewise.
26148 (S2): Likewise.
26149 (SIZE): Likewise.
26150 (__mpn_sub_n): Do not use BP_SYM.
26151 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26152 "bp-asm.h".
26153 (PARMS): Do not use macros from bp-asm.h.
26154 (S1): Likewise.
26155 (SIZE): Likewise.
26156 (__mpn_submul_1): Do not use BP_SYM.
26157 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26158 <bp-sym.h>.
26159 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26160 and <bp-asm.h>.
26161 (PARMS): Do not use macros from bp-asm.h.
26162 (FLAGS): Likewise.
26163 (PTID): Likewise.
26164 (TLS): Likewise.
26165 (CTID): Likewise.
26166 (__clone): Do not use BP_SYM.
26167 (clone): Do not use BP_SYM in weak_alias.
26168 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26169 and <bp-asm.h>.
26170 (PARMS): Do not use macros from bp-asm.h.
26171 (LEN): Likewise.
26172 (__mmap64): Do not use BP_SYM.
26173 (mmap64): Do not use BP_SYM in weak_alias.
26174 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26175 <bp-sym.h> and <bp-asm.h>.
26176 (PARMS): Do not use macros from bp-asm.h.
26177 (__posix_fadvise64_l64): Do not use BP_SYM.
26178 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26179 (PARMS): Do not use macros from bp-asm.h.
26180 (NSOPS): Likewise.
26181 (semtimedop): Do not use BP_SYM.
26182 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26183 and <bp-asm.h>.
26184
582a3cff
AM
261852013-02-21 Allan McRae <allan@archlinux.org>
26186
26187 * manual/message.texi (Charset conversion in gettext):
26188 Move @end statement to beginning of line.
26189
bab8a695
SP
261902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26191
80945231
SP
26192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26193 static.
26194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26195 Likewise.
26196
bab8a695
SP
26197 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26198 (denorm): Likewise.
26199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26201
e21d7aa7
AK
262022013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26203
26204 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26205 tail-call to the resolved function if pltexit isn't needed.
26206
4c7a4263
SP
262072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26208
26209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26210 or Y being zero as being unlikely.
26211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26212 Likewise.
26213
41f49342
CD
262142013-02-20 Carlos O'Donell <carlos@redhat.com>
26215
26216 * manual/nss.texi (System Databases and Name Service Switch):
26217 Remove frobnicate @pxref.
26218
50022a93
TS
262192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26220
26221 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26222 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26223
08cbd996
PM
262242013-02-20 Petr Machata <pmachata@redhat.com>
26225
26226 * elf/elf.h (R_ARM_TARGET1): New macro.
26227 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26228 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26229 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26230 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26231 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26232 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26233 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26234 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26235 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26236 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26237 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26238 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26239 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26240 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26241 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26242 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26243 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26244 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26245 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26246 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26247 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26248 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26249 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26250 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26251 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26252 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26253 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26254 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26255 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26256 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26257 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26258 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26259 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26260 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26261 (R_ARM_THM_GOT_BREL12): Likewise.
26262 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26263 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26264 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26265 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26266 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26267 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26268 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26269 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26270 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26271
c7b275d6
TS
262722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26273
26274 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26275 __attribute_used__ to __attribute__ ((unused)).
26276
20cd7fb3
SP
262772013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26278
26279 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26280 powerpc mpa.c.
26281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26282 comment formatting.
26283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26284
92945b52
JM
262852013-02-19 Joseph Myers <joseph@codesourcery.com>
26286
26287 [BZ #13550]
26288 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26289 Remove macro.
26290 (ENTER): Remove both macro definitions.
26291 (LEAVE): Likewise.
26292 (CHECK_BOUNDS_LOW): Likewise.
26293 (CHECK_BOUNDS_HIGH): Likewise.
26294 (CHECK_BOUNDS_BOTH): Likewise.
26295 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26296 (RETURN_BOUNDED_POINTER): Likewise.
26297 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26298 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26299 (POP_ERRNO_LOCATION_RETURN): Likewise.
26300 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26301 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26302 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26303 macros.
26304 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26305 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26306 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26307 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26308 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26309 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26310 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26311 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26312 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26313 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26314 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26315 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26316 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26317 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26318 removed macros.
26319 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26320 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26321 macros.
26322 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26323 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26324 * sysdeps/i386/i586/memset.S (memset): Likewise.
26325 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26326 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26327 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26328 macros.
26329 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26330 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26331 Change uses of L(2) to L(out).
26332 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26333 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26334 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26335 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26336 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26337 removed macros.
26338 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26339 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26340 macros.
26341 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26342 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26343 (RETURN): Do not use macro LEAVE.
26344 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26345 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26346 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26347 * sysdeps/i386/i686/memset.S (memset): Likewise.
26348 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26349 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26350 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26351 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26352 Likewise.
26353 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26354 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26355 L(1_2) and L(1_3) into L(1).
26356 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26357 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26358 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26359 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26360 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26361 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26362 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26363 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26364 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26365 macros.
26366 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26367 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26368 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26369 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26370 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26371 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26372 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26373 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26374 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26375 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26376 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26377 * sysdeps/i386/strspn.S (strspn): Likewise.
26378 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26379 conditional code.
26380 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26381 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26382 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26383 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26384 L(1_3) into L(1_1).
26385 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26386 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26387 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26388 macros.
26389 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26390
2389741a
JJ
263912013-02-19 Jakub Jelinek <jakub@redhat.com>
26392
26393 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26394 macro.
26395
2016b3cd
SP
263962013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26397
e4f22324
SP
26398 * math/atest-exp.c (exp_mpn): Remove ROUND.
26399 * math/atest-exp2.c (exp_mpn): Likewise.
26400 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26401
2016b3cd
SP
26402 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26403 * stdlib/tst-tls-atexit-lib.c: Likewise.
26404 * stdlib/tst-tls-atexit.c: Likewise.
26405
4be9b544
MF
264062013-02-18 Mike Frysinger <vapier@gentoo.org>
26407
26408 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26409 and __attribute_alloc_size__.
26410
2f62b9ee
MF
264112013-02-18 Mike Frysinger <vapier@gentoo.org>
26412
26413 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26414 __attribute_alloc_size__.
26415 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26416 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26417
6ff444c4
MF
264182013-02-18 Mike Frysinger <vapier@gentoo.org>
26419
26420 * include/programs/xmalloc.h: New file.
26421 * catgets/gencat.c: Include it.
26422 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26423 * elf/pldd.c: Likewise.
26424 * iconv/iconv_charmap.c: Likewise.
26425 * iconv/iconvconfig.c: Likewise.
26426 * iconv/strtab.c: Likewise.
26427 * locale/programs/locale.c: Likewise.
26428 * locale/programs/localedef.h: Likewise.
26429 * locale/programs/simple-hash.c: Likewise.
26430 * nscd/nscd.h: Likewise.
26431 * nss/makedb.c: Likewise.
26432 * sysdeps/generic/ldconfig.h: Likewise.
26433
be179c8a
SP
264342013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26435
ba384f6e
SP
26436 * Versions.def: Add GLIBC_2.18.
26437 * include/link.h (struct link_map): New member l_tls_dtor_count.
26438 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26439 (__call_tls_dtors): Likewise.
26440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26441 __cxa_thread_atexit_impl.
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26443 Likewise.
26444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26445 Likewise.
26446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26447 Likewise.
26448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26449 Likewise.
26450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26452 Likewise.
26453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26454 Likewise.
26455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26457 Likewise.
26458 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26459 (tests): Add test case tst-tls-atexit.
26460 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26461 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26462 (GLIBC_PRIVATE): Add __call_tls_dtors.
26463 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26464 for libstdc++.
26465 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26466 * stdlib/tst-tls-atexit.c: New test case.
26467 * stdlib/tst-tls-atexit-lib.c: New test case.
26468
ffaa74cf 26469 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26470
be179c8a
SP
26471 * elf/Versions (ld): Add _dl_find_dso_for_object.
26472 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26473 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26474 (dl_open_worker): Use _dl_find_dso_for_object.
26475 * elf/dl-sym.c (do_sym): Likewise.
26476 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26477
f78b5caa
AK
264782013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26479
26480 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26481 Syntactic changes only.
26482 (_dl_runtime_profile): Do a tail-call to the resolved function.
26483
29691210
JM
264842013-02-17 Joseph Myers <joseph@codesourcery.com>
26485
26486 [BZ #13550]
26487 * sysdeps/x86_64/bp-asm.h: Remove file.
26488 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26489 <bp-sym.h> and <bp-asm.h>.
26490 (__clone): Do not use BP_SYM.
26491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26492 <bp-sym.h> and <bp-asm.h>.
26493 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26494 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26495 "bp-asm.h".
26496 (_setjmp): Do not use BP_SYM.
26497 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26498 "bp-asm.h".
26499 (setjmp): Do not use BP_SYM.
26500 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26501 libc_hidden_def.
26502 (mempcpy): Do not use BP_SYM in weak_alias.
26503 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26504 "bp-asm.h".
26505 (strchr): Do not use BP_SYM.
26506 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26507 "bp-asm.h".
26508 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26509 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26510 (_start): Do not use BP_SYM.
26511 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26512 "bp-asm.h".
26513 (strcat): Do not use BP_SYM.
26514 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26515 "bp-asm.h".
26516 (STRCMP): Do not use BP_SYM.
26517 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26518 "bp-asm.h".
26519 (STRCPY): Do not use BP_SYM.
26520 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26521 "bp-asm.h".
26522 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26523 "bp-asm.h".
26524 (FUNCTION): Do not use BP_SYM.
26525 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26526 weak_alias.
26527 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26528
f238fd19
AJ
265292013-02-17 Andreas Jaeger <aj@suse.de>
26530
26531 * time/Versions: Sort entries.
26532 * string/Versions: Likewise.
26533 * resolv/Versions: Likewise.
26534 * posix/Versions: Likewise.
26535 * iconv/Versions: Likewise.
26536 * elf/Versions: Likewise.
26537 * wcsmbs/Versions: Likewise.
26538
bd07f23c 265392013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26540
22af19f9
SP
26541 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26542 loop termination condition.
26543
4709fe76
SP
26544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26545 variable to calculate EZ.
26546 (__sqr): Likewise.
2d0e0f29
SP
26547
26548 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26549 the lower precision input.
26550
daaa7713
JM
265512013-02-15 Joseph Myers <joseph@codesourcery.com>
26552
26553 [BZ #13550]
26554 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26555 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26556 (run-via-rtld-prefix): Do not handle %-bp tests.
26557 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26558 (all-object-suffixes): Remove .ob.
26559 (bppfx): Remove variable.
26560 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26561 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26562 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26563 [$(build-bounded) = yes] (libtype.ob): Likewise.
26564 * Makerules (elide-routines.ob): Remove variable.
26565 (do-tests-clean): Do not handle *-bp.out.
26566 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26567 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26568 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26569 (tests): Do not include $(tests-bp.out).
26570 (xtests): Do not include $(xtests-bp.out).
26571 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26572 [$(build-bounded) = yes] ($(addprefix
26573 $(objpfx),$(binaries-bounded))): Remove rule.
26574 ($(objpfx)%-bp.out): Remove rule.
26575 * config.make.in (build-bounded): Remove variable.
26576 * crypt/Makefile [$(build-bounded) = yes]
26577 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26578 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26579 append to variable.
26580 [$(build-bounded) = yes] (install-lib): Likewise.
26581 [$(build-bounded) = yes] (generated): Likewise.
26582 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26583 Remove rule.
26584 * intl/Makefile [$(build-bounded) = yes]
26585 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26586 * math/Makefile [$(build-bounded) = yes]
26587 ($(tests:%=$(objpfx)%-bp): Likewise.
26588 * misc/Makefile [$(build-bounded) = yes]
26589 ($(objpfx)tst-tsearch-bp): Likewise.
26590 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26591 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26592 Remove dependency.
26593 * string/Makefile (o-objects.ob): Remove variable.
26594 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26595 (CFLAGS-.ob): Remove variable.
26596 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26597 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26598 both definitions of variable.
26599 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26600 (ASFLAGS-.ob): Remove variable.
26601
e97ed6dd
JM
266022013-02-14 Joseph Myers <joseph@codesourcery.com>
26603
2bdd4ca6
JM
26604 [BZ #13550]
26605 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26606 Remove __BOUNDED_POINTERS__ from condition.
26607 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26608 * string/bits/string2.h [!__NO_STRING_INLINES &&
26609 !__BOUNDED_POINTERS__]: Likewise.
26610 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26611 Likewise.
26612 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26613 Remove conditional code.
26614 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26615 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26616 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26617 condition.
26618
e97ed6dd
JM
26619 [BZ #13550]
26620 * csu/libc-start.c: Do not include <bp-sym.h>.
26621 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26622 * elf/dl-open.c: Do not include <bp-sym.h>.
26623 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26624 * math/fegetenv.c: Do not include <bp-sym.h>.
26625 (fegetenv): Do not use BP_SYM in versioned symbols.
26626 * nptl/sysdeps/pthread/bits/libc-lockP.h
26627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26628 <bp-sym.h>.
26629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26630 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26632 (__pthread_mutex_destroy): Likewise.
26633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26634 (__pthread_mutex_lock): Likewise.
26635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26636 (__pthread_mutex_trylock): Likewise.
26637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26638 (__pthread_mutex_unlock): Likewise.
26639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26640 (__pthread_mutexattr_init): Likewise.
26641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26642 (__pthread_mutexattr_destroy): Likewise.
26643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26644 (__pthread_mutexattr_settype): Likewise.
26645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26646 (__pthread_rwlock_init): Likewise.
26647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26648 (__pthread_rwlock_destroy): Likewise.
26649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26650 (__pthread_rwlock_rdlock): Likewise.
26651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26652 (__pthread_rwlock_tryrdlock): Likewise.
26653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26654 (__pthread_rwlock_wrlock): Likewise.
26655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26656 (__pthread_rwlock_trywrlock): Likewise.
26657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26658 (__pthread_rwlock_unlock): Likewise.
26659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26660 (__pthread_key_create): Likewise.
26661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26662 (__pthread_setspecific): Likewise.
26663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26664 (__pthread_getspecific): Likewise.
26665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26666 Likewise.
26667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26668 (_pthread_cleanup_push_defer): Likewise.
26669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26670 (_pthread_cleanup_pop_restore): Likewise.
26671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26672 (pthread_setcancelstate): Likewise.
26673 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26674 <bp-sym.h>.
26675 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26676 (memchr): Do not use BP_SYM in weak_alias.
26677 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26678 (fegetenv): Do not use BP_SYM in versioned symbols.
26679 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26680 (fesetenv): Do not use BP_SYM in versioned symbols.
26681 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26682 (feupdateenv): Do not use BP_SYM in versioned symbols.
26683 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26684 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26685 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26686 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26687 (open64): Do not use BP_SYM in weak_alias.
26688 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26689 (fegetenv): Do not use BP_SYM in versioned symbols.
26690 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26691 (fesetenv): Do not use BP_SYM in versioned symbols.
26692 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26693 (feupdateenv): Do not use BP_SYM in versioned symbols.
26694 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26695 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26696 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26697 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26698 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26699 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26700 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26701 <bp-sym.h>.
26702 (__libc_start_main): Do not use BP_SYM.
26703
d6752ccd
SP
267042013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26705
cb57ce60
SP
26706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26707 redundant return line.
26708 (norm): Likewise.
26709 (denorm): Likewise.
26710 (dbl_mp): Likewise.
26711 (sub_magnitudes): Likewise.
26712 (__add): Likewise.
26713 (__sub): Likewise.
26714 (__mul): Likewise.
26715 (__inv): Likewise.
26716 (__dvd): Likewise.
26717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26718 (norm): Likewise.
26719 (denorm): Likewise.
26720 (dbl_mp): Likewise.
26721 (sub_magnitudes): Likewise.
26722 (__add): Likewise.
26723 (__sub): Likewise.
26724 (__mul): Likewise.
26725 (__inv): Likewise.
26726 (__dvd): Likewise.
26727
f414520d
SP
26728 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26729 instead of __mul.
26730 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26731 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26732 (cc32): Likewise.
26733
d6752ccd
SP
26734 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26735 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26737 of __mul for squares.
26738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26739 function
26740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26741 Likewise.
26742 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26743 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26744
70d9946a
JM
267452013-02-13 Joseph Myers <joseph@codesourcery.com>
26746
26747 [BZ #13550]
26748 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26749 code.
26750 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26751 prototype or function definition. Rename ubp_* variables and
26752 parameters. Remove argv definitions conditional on
26753 [__BOUNDED_POINTERS__].
26754 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26755 * elf/dl-runtime.c (_dl_fixup): Likewise.
26756 * include/set-hooks.h (RUN_HOOK): Likewise.
26757 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26758 definition.
26759 * string/strcpy.c (strcpy): Do not use __unbounded.
26760 * sysdeps/generic/frame.h (struct layout): Likewise.
26761 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26762 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26763 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26764 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26765 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26766 (__backtrace): Likewise.
26767 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26768 use __ptrvalue.
26769 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26770 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26771 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26772 Likewise.
26773 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26774 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26775 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26776 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26777 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26778 Do not use __unbounded.
26779 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26780 Rename __unboundedrlimits parameter to rlimits in prototype.
26781 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26782 Do not use __unbounded.
26783 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26784 not use __ptrvalue.
26785 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26786 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26787 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26788 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26789 __ptrvalue or __unbounded.
26790 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26791 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26792 use __unbounded.
26793 (__new_msgctl): Do not use __ptrvalue.
26794 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26795 __unbounded.
26796 (__libc_msgrcv): Do not use __ptrvalue.
26797 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26798 startup_info): Do not use __unbounded.
26799 (__libc_start_main): Likewise. Rename ubp_* variables and
26800 parameters. Remove argv definitions conditional on
26801 [__BOUNDED_POINTERS__].
26802 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26803 __ptrvalue.
26804 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26805 use __unbounded.
26806 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26807 or __ptrvalue.
26808 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26809 use __unbounded.
26810 (__new_shmctl): Do not use __ptrvalue.
26811 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26812 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26813 Likewise.
26814 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26815 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26816 (__libc_sigaction): Likewise.
26817 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26818 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26819 Likewise.
26820 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26821
cc7834d6
OB
268222013-02-13 Ondřej Bílka <neleai@seznam.cz>
26823
ffb1ec7b 26824 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
26825
26826 * string/mempcpy.c: Implement by calling memcpy.
26827
bdf02814
SP
268282013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26829
c2af38aa
SP
26830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26831
4e92d59e
SP
26832 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26833 evaluation.
26834
909279a5
SP
26835 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26836 values in the mantissa.
26837
bdf02814
SP
26838 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26839 minimize writes to Z.
26840 (sub_magnitudes): Simplify code a bit.
26841
cd525923
RM
268422013-02-12 Roland McGrath <roland@hack.frob.com>
26843
26844 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26845 from the message. The linker prefixes all warnings with that already.
26846
7e2f0d2d
AS
268472013-02-12 Andreas Schwab <schwab@suse.de>
26848
a445af0b
AS
26849 [BZ #15078]
26850 * posix/regexec.c (extend_buffers): Add parameter min_len.
26851 (check_matching): Pass minimum needed length.
26852 (clean_state_log_if_needed): Likewise.
26853 (get_subexp): Likewise.
26854 * posix/Makefile (tests): Add bug-regex34.
26855 (bug-regex34-ENV): Define.
26856 * posix/bug-regex34.c: New file.
26857
7e2f0d2d
AS
26858 [BZ #11561]
26859 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26860 elements compare against the byte sequence of it, not its name.
26861 * posix/Makefile (tests): Add bug-regex35.
26862 (bug-regex35-ENV): Define.
26863 * posix/bug-regex35.c: New file.
26864
a175b684
TV
268652013-02-11 Tom de Vries <tom@codesourcery.com>
26866
26867 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26868 comment.
26869 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26870 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26871 (CHECK_EOL): Add undef.
26872
310998fe 268732013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26874
26875 * bits/stdlib-bsearch.h: New file.
26876 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26877 * stdlib/stdlib.h: Likewise.
41eda41d 26878
8ded91fb
RM
268792013-02-11 Roland McGrath <roland@hack.frob.com>
26880
26881 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26882 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26883 declaration.
26884 * manual/search.texi (Array Search Function): Add missing const in
26885 lfind prototype.
26886 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26887 declaration to use rlim_t.
26888 (Basic Scheduling Functions): Remove erroneous const from
26889 sched_getparam prototype. Remove erroneous * from
26890 sched_get_priority_max and sched_get_priority_min prototypes.
26891 (Resource Usage): Fix summary @comment on vtimes to refer to
26892 sys/vtimes.h rather than vtimes.h.
26893 Add missing *s in vtimes prototype.
26894 (Limits on Resources): Fix ulimit prototype to return long int.
26895 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26896 prototypes to use long int rather than double.
26897 (BSD Random): Fix initstate and setstate to use char *, not void *.
26898 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26899 prototype to make second argument 'struct aiocb64 *const[]'.
26900 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26901 (Status of AIO Operations): Remove erroneous const in aio_return and
26902 aio_return64 prototypes.
26903 (Synchronizing I/O): Fix sync prototype to return void.
26904 * manual/startup.texi (Suboptions): Remove an erroneous const in
26905 getsubopt prototype.
26906 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26907 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26908 use size_t rather than int.
26909 (Scanning All Users): Likewise for getpwent_r.
26910 (Setting Groups): Add missing const to setgroups prototype.
26911 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26912 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26913 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26914 'const void *' rather than 'const char *'.
26915 (Host Address Functions): Likewise for inet_ntop.
26916 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26917 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26918 ssize_t for return value.
26919 (Sending Data): Likewise for send, sendto, sendmsg.
26920 (Socket Option Functions): Add a missing const in setsockopt prototype.
26921 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26922 use wchar_t for the argument.
26923 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26924 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26925 take no arguments.
26926 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26927 double/float/long double for second argument.
26928 Fix return types of significand, significandf, significandl.
26929 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26930 argument in fchmod prototype.
26931 (File Owner): Use uid_t and gid_t in fchown prototype.
26932 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26933 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26934 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26935 use 'const struct dirent **' as argument types to CMP function pointer
26936 argument.
26937 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26938 (File Times): Fix summary magic @comment for struct utimbuf and utime
26939 to refer to utime.h, not time.h.
26940 * manual/string.texi (Argz Functions): Add missing const in
26941 argz_extract and argz_next prototypes.
26942 (Finding Tokens in a String): Likewise for basename.
26943 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26944 (Copying and Concatenation): Fix typo in wmemmove prototype.
26945 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26946 (Signal Stack): Remove erroneous const in sigstack prototype.
26947 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26948 prototype.
26949 (Simple Calendar Time): Likewise for stime.
26950 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26951 prototype.
26952 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26953 say sys/sysctl.h instead.
26954 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26955 and vsyslog prototypes.
26956
fe77fe6d
TV
269572013-02-11 Tom de Vries <tom@codesourcery.com>
26958
26959 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26960 Remove.
26961
3a09b620
RM
269622013-02-11 Roland McGrath <roland@hack.frob.com>
26963
26964 * misc/sys/mman.h: Fix typo in mremap comment.
26965
550a0b89
RM
269662013-02-08 Roland McGrath <roland@hack.frob.com>
26967
26968 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26969 the '\0' terminator.
26970
a2da1673
JM
269712013-02-08 Joseph Myers <joseph@codesourcery.com>
26972
26973 [BZ #13550]
26974 * debug/segfault.c: Don't include <bp-checks.h>.
26975 * sysdeps/generic/bp-checks.h: Remove file.
26976 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26977 (__GETDENTS): Don't use CHECK_N.
26978 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26979 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26980 (__getgroups): Don't use CHECK_N.
26981 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26982 (setgroups): Don't use CHECK_N.
26983 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26984 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26985 (__libc_msgrcv): Don't use CHECK_N.
26986 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26987 (__libc_msgsnd): Don't use CHECK_N.
26988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26989 <bp-checks.h>.
26990 (__libc_pread): Don't use CHECK_N.
26991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26992 include <bp-checks.h>.
26993 (__libc_pread64): Don't use CHECK_N.
26994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26995 include <bp-checks.h>.
26996 (__libc_pwrite): Don't use CHECK_N.
26997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26998 include <bp-checks.h>.
26999 (__libc_pwrite64): Don't use CHECK_N.
27000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27001 <bp-checks.h>.
27002 (__libc_pread): Don't use CHECK_N.
27003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27004 include <bp-checks.h>.
27005 (__libc_pread64): Don't use CHECK_N.
27006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27007 include <bp-checks.h>.
27008 (__libc_pwrite): Don't use CHECK_N.
27009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27010 include <bp-checks.h>.
27011 (__libc_pwrite64): Don't use CHECK_N.
27012 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27013 (do_pread): Don't use CHECK_N.
27014 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27015 (do_pread64): Don't use CHECK_N.
27016 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27017 (do_pwrite): Don't use CHECK_N.
27018 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27019 (do_pwrite64): Don't use CHECK_N.
27020 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27021 (__libc_readv): Don't use CHECK_N.
27022 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27023 (semop): Don't use CHECK_N.
27024 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27025 <bp-checks.h>.
27026 (semtimedop): Don't use CHECK_N.
27027 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27028 (__libc_pread): Don't use CHECK_N.
27029 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27030 <bp-checks.h>.
27031 (__libc_pread64): Don't use CHECK_N.
27032 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27033 <bp-checks.h>.
27034 (__libc_pwrite): Don't use CHECK_N.
27035 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27036 <bp-checks.h>.
27037 (__libc_pwrite64): Don't use CHECK_N.
27038 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27039 <bp-checks.h>.
27040 (__libc_msgrcv): Don't use CHECK_N.
27041 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27042 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27043 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27044 (__libc_writev): Don't use CHECK_N.
27045
b84660a8
RM
270462013-02-08 Roland McGrath <roland@hack.frob.com>
27047
7f3e75f8
RM
27048 * string/strcpy.c: Removed unused variable.
27049
b84660a8
RM
27050 * Makeconfig (+sysdep-includes): Define with := rather than =.
27051 Use an existing include/ subdir of each sysdeps dir before it.
27052
471514d3
CD
270532013-02-08 Carlos O'Donell <carlos@redhat.com>
27054
27055 * nscd/connection.c (register_traced_file): Comment function.
27056 [HAVE_INOTIFY] (union __inev): Define.
27057 [HAVE_INOTIFY] (inotify_check_files): New function.
27058 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27059 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27060 clear_db_cache.
27061 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27062
b2d3c3be
CD
270632013-02-08 Carlos O'Donell <carlos@redhat.com>
27064
27065 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27066 loaded if not already and that a failure is permanent.
27067
b39949d2
CD
270682013-02-08 Carlos O'Donell <carlos@redhat.com>
27069
ddacd1db 27070 [BZ #15006]
b39949d2
CD
27071 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27072 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27073
b2c9eff4
JM
270742013-02-08 Joseph Myers <joseph@codesourcery.com>
27075
f3aae3f3
JM
27076 [BZ #13550]
27077 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27078 (CHECK_1_NULL_OK): Likewise.
27079 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27080 (__fxstat): Do not use CHECK_1.
27081 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27082 <bp-checks.h>.
27083 (___fxstat64): Do not use CHECK_1.
27084 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27085 <bp-checks.h>.
27086 (__fxstatat): Do not use CHECK_1.
27087 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27088 <bp-checks.h>.
27089 (__fxstatat64): Do not use CHECK_1.
27090 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27091 <bp-checks.h>.
27092 (__fxstat): Do not use CHECK_1.
27093 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27094 <bp-checks.h>.
27095 (__fxstatat): Do not use CHECK_1.
27096 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27097 <bp-checks.h>.
27098 (__getresgid): Do not use CHECK_1.
27099 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27100 <bp-checks.h>.
27101 (__getresuid): Do not use CHECK_1.
27102 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27103 <bp-checks.h>.
27104 (__lxstat): Do not use CHECK_1.
27105 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27106 <bp-checks.h>.
27107 (__old_msgctl): Do not use CHECK_1.
27108 (__new_msgctl): Likewise.
27109 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27110 <bp-checks.h>.
27111 (__new_setrlimit): Do not use CHECK_1.
27112 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27113 <bp-checks.h>.
27114 (__old_shmctl): Do not use CHECK_1.
27115 (__new_shmctl): Likewise.
27116 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27117 <bp-checks.h>.
27118 (__xstat): Do not use CHECK_1.
27119 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27120 (__lxstat): Do not use CHECK_1.
27121 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27122 <bp-checks.h>.
27123 (___lxstat64): Do not use CHECK_1.
27124 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27125 (__old_msgctl): Do not use CHECK_1.
27126 (__new_msgctl): Likewise.
27127 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27128 <bp-checks.h>.
27129 (__gettimeofday): Do not use CHECK_1.
27130 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27131 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27132 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27133 <bp-checks.h>.
27134 (__gettimeofday): Do not use CHECK_1.
27135 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27136 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27137 (__new_shmctl): Do not use CHECK_1.
27138 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27139 <bp-checks.h>.
27140 (do_sigtimedwait): Do not use CHECK_1.
27141 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27142 <bp-checks.h>.
27143 (do_sigwaitinfo): Do not use CHECK_1.
27144 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27145 <bp-checks.h>.
27146 (msgctl): Do not use CHECK_1.
27147 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27148 <bp-checks.h>.
27149 (shmctl): Do not use CHECK_1.
27150 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27151 (ustat): Do not use CHECK_1.
27152 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27153 <bp-checks.h>.
27154 (__fxstat): Do not use CHECK_1.
27155 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27156 <bp-checks.h>.
27157 (__fxstatat): Do not use CHECK_1.
27158 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27159 <bp-checks.h>.
27160 (__lxstat): Do not use CHECK_1.
27161 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27162 <bp-checks.h>.
27163 (__xstat): Do not use CHECK_1.
27164 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27165 (__xstat): Do not use CHECK_1.
27166 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27167 (___xstat64): Do not use CHECK_1.
27168
b2c9eff4
JM
27169 [BZ #13550]
27170 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27171 definitions.
27172 (CHECK_BOUNDS_HIGH): Likewise.
27173 * string/strcpy.c: Do not include <bp-checks.h>.
27174 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27175
f1d70dad
RM
271762013-02-07 Roland McGrath <roland@hack.frob.com>
27177
27178 * nscd/nscd-client.h (__nscd_drop_map_ref):
27179 Add __attribute__ ((unused)).
27180 * nis/nss-nisplus.h (niserr2nss): Likewise.
27181
27182 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27183 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27184
27185 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27186 Remove inline keyword.
27187 * include/rounding-mode.h (round_away): Likewise.
27188 * libio/wfileops.c (adjust_wide_data): Likewise.
27189 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27190 (__m128i_strloadu_tolower): Likewise.
27191 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27192 (__m128i_strloadu_tolower): Likewise.
27193 * time/mktime.c (ydhms_diff): Likewise.
27194 * locale/elem-hash.h (elem_hash): Likewise.
27195 * locale/setlocale.c (setdata): Likewise.
27196 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27197 (re_string_wchar_at): Likewise.
27198 (bitset_not, bitset_merge, bitset_mask): Likewise.
27199 [!(__GNUC__ > 3)] (inline): Remove macro.
27200 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27201 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27202 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27203 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27204 * string/memcmp.c (memcmp_bytes): Likewise.
27205 * locale/programs/locarchive.c (compute_hashval): Likewise.
27206 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27207 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27208 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27209 * nss/getent.c (print_rpc, print_protocols): Likewise.
27210 (print_passwd, print_group, print_aliases): Likewise.
27211 * nis/nss-nisplus.h (niserr2nss): Likewise.
27212 * nscd/connections.c (restart_p): Likewise.
27213 Change return type to bool.
27214
eab55bfb
RM
272152013-02-05 Roland McGrath <roland@hack.frob.com>
27216
7bd642f5
RM
27217 * Makeconfig (all-Depend-files): Add existing
27218 $(sorted-subdirs:=/Depend) files.
27219 (all-subdirs): Remove nss.
27220 * sysdeps/unix/inet/Subdirs: Add it here instead.
27221 * hesiod/Depend: New file.
27222
573c29b2
RM
27223 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27224 instead of calling alloca.
27225
b2e25af0
RM
27226 * io/lseek.c (__lseek): Rename to __libc_lseek.
27227 Define __lseek as an alias.
27228
eab55bfb
RM
27229 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27230
9a0d1941
CD
272312013-02-04 Carlos O'Donell <carlos@redhat.com>
27232
27233 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27234 else clause and remove check for non-standard endianness.
27235
b83bbec4
DM
272362013-02-04 David S. Miller <davem@davemloft.net>
27237
27238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27239
6277fdab
JM
272402013-02-04 Joseph Myers <joseph@codesourcery.com>
27241
27242 [BZ #13550]
27243 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27244 (__ubp_memchr): Remove prototype.
27245 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27246 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27247 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27248 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27249 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27250 Remove alias.
27251 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27252 (__ubp_memchr): Likewise.
27253 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27254 (__ubp_memchr): Likewise.
27255 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27256 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27257 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27258 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27259 CHECK_STRING.
27260 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27261 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27262 (__getcwd): Do not use CHECK_STRING.
27263 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27264 <bp-checks.h>.
27265 (__real_chown): Do not use CHECK_STRING.
27266 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27267 <bp-checks.h>.
27268 (fchownat): Do not use CHECK_STRING.
27269 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27270 CHECK_STRING.
27271 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27272 <bp-checks.h>.
27273 (__lchown): Do not use CHECK_STRING.
27274 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27275 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27276 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27277 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27279 include <bp-checks.h>.
27280 (truncate64): Do not use CHECK_STRING.
27281 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27282 <bp-checks.h>.
27283 (__real_chown): Do not use CHECK_STRING.
27284 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27285 <bp-checks.h>.
27286 (__lchown): Do not use CHECK_STRING.
27287 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27288 <bp-checks.h>.
27289 (__chown): Do not use CHECK_STRING.
27290 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27291 <bp-checks.h>.
27292 (truncate64): Do not use CHECK_STRING.
27293 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27294 Likewise.
27295 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27296 (__xmknod): Do not use CHECK_STRING.
27297 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27298 <bp-checks.h>.
27299 (__xmknodat): Do not use CHECK_STRING.
27300 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27301 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27302
903ae060
AS
273032013-02-04 Andreas Schwab <schwab@suse.de>
27304
27305 [BZ #14142]
27306 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27307 * include/netdb.h: Likewise for h_errno.
27308 * elf/tst-stackguard1.c: Include <tls.h>.
27309
542f9466
JK
273102013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27311
27312 * elf/link.h (struct link_map): Extend the l_addr comment.
27313 * include/link.h (struct link_map): Likewise.
27314
e782a927
JM
273152013-02-01 Joseph Myers <joseph@codesourcery.com>
27316
27317 [BZ #13550]
27318 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27319 (BOUNDED_1): Remove macro.
27320 * debug/backtrace.c: Don't include <bp-checks.h>.
27321 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27322 (__backtrace): Likewise.
27323 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27324 <bp-checks.h>.
27325 (__backtrace): Don't use BOUNDED_1.
27326 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27327 <bp-checks.h>.
27328 (__backtrace): Don't use BOUNDED_1.
27329 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27330 (__backtrace): Don't use BOUNDED_1.
27331 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27332 (shmat): Don't use BOUNDED_N.
27333
8cf28c5e
JM
273342013-01-31 Joseph Myers <joseph@codesourcery.com>
27335
3a7ac8a0
JM
27336 [BZ #13550]
27337 * sysdeps/generic/bp-start.h: Remove file.
27338 * csu/libc-start.c: Don't include <bp-start.h>.
27339 (LIBC_START_MAIN): Set up __environ directly instead of using
27340 INIT_ARGV_and_ENVIRON.
27341 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27342 <bp-start.h>.
27343
f3499f95
JM
27344 [BZ #13550]
27345 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27346 definitions.
27347 (CHECK_FCNTL): Likewise.
27348 (CHECK_N_PAGES): Likewise.
27349
32a45bea
JM
27350 [BZ #13550]
27351 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27352 definitions.
27353 (CHECK_SIGSET_NULL_OK): Likewise.
27354 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27355 <bp-checks.h>.
27356 (sigpending): Don't use CHECK_SIGSET.
27357 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27358 <bp-checks.h>.
27359 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27360 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27361 <bp-checks.h>.
27362 (do_sigsuspend): Don't use CHECK_SIGSET.
27363 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27364 use CHECK_SIGSET.
27365 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27366 (do_sigwait): Don't use CHECK_SIGSET.
27367 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27368 use CHECK_SIGSET.
27369 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27370 include <bp-checks.h>.
27371 (sigpending): Don't use CHECK_SIGSET.
27372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27373 include <bp-checks.h>.
27374 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27375 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27376 <bp-checks.h>.
27377 (sigpending): Don't use CHECK_SIGSET.
27378 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27379 <bp-checks.h>.
27380 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27381
2e8a5c8c
JM
27382 [BZ #13550]
27383 * sysdeps/generic/bp-semctl.h: Remove file.
27384 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27385 <bp-checks.h> and <bp-semctl.h>.
27386 (__old_semctl): Don't use CHECK_SEMCTL.
27387 (__new_semctl): Likewise.
27388 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27389 and <bp-semctl.h>.
27390 (__old_semctl): Don't use CHECK_SEMCTL.
27391 (__new_semctl): Likewise.
27392 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27393 <bp-checks.h> and <bp-semctl.h>.
27394 (__old_semctl): Don't use CHECK_SEMCTL.
27395 (__new_semctl): Likewise.
27396 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27397 <bp-checks.h> and <bp-semctl.h>.
27398 (semctl): Don't use CHECK_SEMCTL.
27399
c2d54929
JM
27400 [BZ #13550]
27401 * Makerules (elide-bp-thunks): Remove variable.
27402 (elide-routines.oS): Don't use $(elide-bp-thunks).
27403 (elide-routines.os): Likewise.
27404 (elide-routines.o): Likewise.
27405 (elide-routines.op): Likewise.
27406 (elide-routines.og): Likewise.
27407 (objects): Don't use $(bp-thunks).
27408 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27409 include.
27410 (common-generated): Do not add s-proto-bp.d.
27411 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27412 (int): Likewise.
27413 (typ): Likewise.
27414 Do not generate makefile rules for bounded-pointer thunks.
27415 * sysdeps/generic/bp-thunks.h: Remove file.
27416 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27417 * sysdeps/unix/s-proto-bp.S: Likewise.
27418
8cf28c5e
JM
27419 [BZ #15062]
27420 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27421 parts of result separately when argument is not close to line from
27422 -i to i and one part of argument is small.
27423 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27424 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27425 * math/libm-test.inc (cacos_test): Add more tests.
27426 (casin_test): Likewise.
27427 (casinh_test): Likewise.
27428 * sysdeps/i386/fpu/libm-test-ulps: Update.
27429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27430
c4e33b8d
DM
274312013-01-31 David S. Miller <davem@davemloft.net>
27432
27433 * po/de.po: Update from translation team.
27434
3b60b421
MK
274352013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27436
27437 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27438
bb931195
TS
274392013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27440
b5a5da23
TS
27441 * configure.in (_AC_PROG_CC_C89): New definition.
27442 * configure: Regenerate.
27443
bb931195
TS
27444 * configure.in (AC_PROG_CPP): New definition.
27445 * configure: Regenerate.
27446
8c53a12c
JM
274472013-01-23 Joseph Myers <joseph@codesourcery.com>
27448
27449 * debug/tst-backtrace.h: New file.
27450 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27451 (ret): Remove variable.
27452 (x): Likewise.
27453 (FAIL): Remove macro.
27454 (NO_INLINE): Likewise.
27455 (fn1): Use match function instead of strstr.
27456 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27457 (ret): Remove variable.
27458 (x): Likewise.
27459 (FAIL): Remove macro.
27460 (NO_INLINE): Likewise.
27461 (fn): Use match function instead of strstr.
27462 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27463 (ret): Remove variable.
27464 (x): Likewise.
27465 (FAIL): Remove macro.
27466 (NO_INLINE): Likewise.
27467 (handle_signal): Use match function instead of strstr.
27468 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27469 (ret): Remove variable.
27470 (x): Likewise.
27471 (FAIL): Remove macro.
27472 (NO_INLINE): Likewise.
27473 (handle_signal): Use match function instead of strstr.
27474
4858fa2a
RM
274752013-01-23 Roland McGrath <roland@hack.frob.com>
27476
27477 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27478
bae8e7f5
DM
274792013-01-23 David S. Miller <davem@davemloft.net>
27480
27481 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27482 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27483 argument of CAS if possible.
27484 * sysdeps/sparc/sparc64/bits/atomic.h
27485 (__arch_compare_and_exchange_val_32_acq): Likewise.
27486 (__arch_compare_and_exchange_val_64_acq): Likewise.
27487
9cbbc4ae
PT
274882013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27489
27490 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27491 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27492 Include <limits.h>.
67b3f58c 27493 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27494
5655a0b5
AC
274952013-01-23 Adam Conrad <adconrad@0c3.net>
27496
27497 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27498 (LDFLAGS-tst-array5): Likewise.
27499
052aff95
JM
275002013-01-23 Joseph Myers <joseph@codesourcery.com>
27501
27502 [BZ #15036]
27503 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27504 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27505 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27506 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27507
7c1e01aa
DM
275082013-01-21 David S. Miller <davem@davemloft.net>
27509
27510 * sysdeps/sparc/backtrace.c: New file.
27511 * sysdeps/sparc/sparc32/backtrace.h: New file.
27512 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27513 * sysdeps/sparc/sparc64/backtrace.h: New file.
27514 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27515 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27516 -funwind-tables.
27517
ab087e0a
AS
275182013-01-21 Andreas Schwab <schwab@suse.de>
27519
27520 [BZ #15020]
27521 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27522 closed its stdout.
27523
ed689c2f
AS
275242013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27525
27526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27527 "mpa2.h".
27528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27529
31d470ac
JM
275302013-01-18 Joseph Myers <joseph@codesourcery.com>
27531 Mark Mitchell <mark@codesourcery.com>
27532 Tom de Vries <tom@codesourcery.com>
27533 Paul Pluzhnikov <ppluzhnikov@google.com>
27534
27535 * debug/tst-backtrace2.c: New file.
27536 * debug/tst-backtrace3.c: Likewise.
27537 * debug/tst-backtrace4.c: Likewise.
27538 * debug/tst-backtrace5.c: Likewise.
27539 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27540 (CFLAGS-tst-backtrace3.c): Likewise.
27541 (CFLAGS-tst-backtrace4.c): Likewise.
27542 (CFLAGS-tst-backtrace5.c): Likewise.
27543 (LDFLAGS-tst-backtrace2): Likewise.
27544 (LDFLAGS-tst-backtrace3): Likewise.
27545 (LDFLAGS-tst-backtrace4): Likewise.
27546 (LDFLAGS-tst-backtrace5): Likewise.
27547 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27548 tst-backtrace4 and tst-backtrace5.
27549
90567f30 275502013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27551 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27552
27553 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27554 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27555 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27556 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27558 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27559 "+r" and remove output regs list as redundant. Add explicit inline
27560 asm to specify register of return val to work around compiler codegen
27561 bug. Remove (int) cast on return value. Add return type parameter to
27562 use in macro so that this macro does not truncate return value for
27563 64-bit values.
27564 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27565 pass to INTERNAL_VSYSCALL_NCS.
27566 (INLINE_VSYSCALL): Add 'long int' as return type to
27567 INTERNAL_VSYSCALL_NCS macro invocation.
27568 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27569 INTERNAL_VSYSCALL_NCS macro invocation.
27570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27571
d3b9ea61
SP
275722013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27573
0b57daeb
SP
27574 [BZ #14496]
27575 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27576 Fix application of SIMD FP exception mask.
27577
caa99d06
SP
27578 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27579 mp_no from a power of two.
27580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27581 __mpexp_twomm1. Use __pow_mp.
27582
d3b9ea61
SP
27583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27584 multiplication.
27585
1dbaee3c
DM
275862013-01-17 David S. Miller <davem@davemloft.net>
27587
27588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27589
728d7b43
JM
275902013-01-17 Joseph Myers <joseph@codesourcery.com>
27591
27592 [BZ #15023]
27593 * include/complex.h: Condition contents on [!_COMPLEX_H].
27594 (__kernel_casinhf): New prototype.
27595 (__kernel_casinh): Likewise.
27596 (__kernel_casinhl): Likewise.
27597 * math/Makefile (libm_calls): Add k_casinh.
27598 * math/k_casinh.c: New file.
27599 * math/k_casinhf.c: Likewise.
27600 * math/k_casinhl.c: Likewise.
27601 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27602 finite nonzero arguments.
27603 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27604 finite nonzero arguments.
27605 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27606 finite nonzero arguments.
27607 * math/s_casinh.c: Do not include <float.h>.
27608 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27609 * math/s_casinhf.c: Do not include <float.h>.
27610 (__casinhf): Move code for finite nonzero arguments to
27611 k_casinhf.c.
27612 * math/s_casinhl.c: Do not include <float.h>.
27613 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27614 redefine.
27615 (__casinhl): Move code for finite nonzero arguments to
27616 k_casinhl.c.
27617 * math/libm-test.inc (cacos_test): Add more tests.
27618 * sysdeps/i386/fpu/libm-test-ulps: Update.
27619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27620
2a26ef3a
PT
276212013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27622
27623 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27624 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27625 [!HAVE_MREMAP]: Remove [defined linux] case.
27626 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27627
a897655d
SP
276282013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27629
27630 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27631
881ebe89 276322013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27633
27634 * elf/elf.h (R_386_SIZE32): New relocation.
27635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27636 R_386_SIZE32.
27637 (elf_machine_rela): Likewise.
27638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27639 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27640
59981e9b
JM
276412013-01-17 Joseph Myers <joseph@codesourcery.com>
27642
27643 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27644 (FP_FAST_FMA): Do not define.
27645 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27646 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27647 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27648 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27649 !_SOFT_FLOAT]: Likewise.
27650 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27651 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27652 value.
27653 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27654 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27655 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27656 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27657 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27658 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27659 file.
27660
cfa8054f
AS
276612013-01-16 Andreas Schwab <schwab@suse.de>
27662
27663 [BZ #14327]
27664 * include/stdlib.h (__mktemp): Add declaration.
27665 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27666 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27667
dd930cc5
SP
276682013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27669
881ebe89
SP
27670 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27671 definitions.
27672 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27673 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27674 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27675 definitions here.
27676 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27677 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27678 definitions.
27679 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27680 and ONE.
27681 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27682 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27683 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27684 definitions.
27685 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27686 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27687 definitions.
27688 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27689
dd930cc5
SP
27690 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27691
c19a9f89
DM
276922013-01-15 David S. Miller <davem@davemloft.net>
27693
1aa61767
DM
27694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27695 trunc{,f} to libm-sysdep_routes.
27696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27698 file.
27699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27701 file.
27702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27703 file.
27704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27706 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27707 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27708 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27709 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27710 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27711 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27712
c42d5e98
DM
27713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27714 nearbyint{,f} to libm-sysdep_routes.
27715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27717 New file.
27718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27719 file.
27720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27721 New file.
27722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27723 file.
27724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27726 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27727 file.
27728 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27730 file.
27731 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27732 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27733 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27734
c19a9f89
DM
27735 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27736 libc_feholdexcept and libc_fesetenv.
27737
357679d2
MF
277382013-01-15 Mike Frysinger <vapier@gentoo.org>
27739
27740 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27741
65a82e3d
DM
277422013-01-14 David S. Miller <davem@davemloft.net>
27743
8b954ab9
DM
27744 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27745 (SPARC_ASM_VIS2_IFUNC): Likewise.
27746 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27748 use of 'siam' instruction.
27749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27750 Likewise.
27751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27752 Likewise.
27753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27754 Likewise.
27755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27760 file.
27761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27762 file.
27763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27764 file.
27765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27766 file.
27767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27772 new VIS2 routines.
27773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27776 Likewise.
27777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27782 routines to libm-sysdep_routines.
27783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27784
65a82e3d
DM
27785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27786 fdim/fdimf to libm-sysdep_routines.
27787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27788 file.
27789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27791 file.
27792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27795 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27796 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27797 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27798 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27799
e34ab705
SP
278002013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27801
2a91b573
SP
27802 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27803 to optimize copies.
27804
1066a534
SP
27805 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27808
e34ab705
SP
27809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27810 local variable MPTWO.
27811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27812 Likewise.
27813
aba5e596
MF
278142013-01-13 Mike Frysinger <vapier@gentoo.org>
27815
27816 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27817 GLOB_NOESCAPE.
27818
e557e9e5
MF
278192013-01-13 Mike Frysinger <vapier@gentoo.org>
27820
27821 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27822
0428cec9
MF
278232013-01-13 Mike Frysinger <vapier@gentoo.org>
27824
27825 * manual/pattern.texi (glob_t): Document gl_flags.
27826 (glob64_t): Likewise.
27827
8794a964
DM
278282013-01-11 David S. Miller <davem@davemloft.net>
27829
66438c3f
RM
27830 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27831 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27832 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
27833 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27834 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27835 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27836 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27837 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27838 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27839 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27840 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27841 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27842 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27843
4ae4244d
DM
27844 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27845 sparc V9 rather than using V8 code.
27846 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27847 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27848
8794a964
DM
27849 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27850 Move to...
27851 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27852 Here.
27853
6270516e
RM
278542013-01-11 Roland McGrath <roland@hack.frob.com>
27855
27856 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27857 not in the main loop.
27858 * configure: Regenerated.
27859
6a57d931
JM
278602013-01-11 Joseph Myers <joseph@codesourcery.com>
27861
27862 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27863 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27864 to just #else.
27865 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27866 [!__GLIBC_HAVE_LONG_LONG] case.
27867 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27868 condition to just #else.
27869 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27870 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27871 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27872 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27873 unconditional.
27874 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27875 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27876 #elif condition to just #else.
27877 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27878 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27879 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27880 #elif condition to just #else.
27881
0e8529e9
SE
278822013-01-11 Steve Ellcey <sellcey@mips.com>
27883
27884 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27885 (EF_MIPS_ARCH_64): Fix value.
27886 (EF_MIPS_ARCH_32R2): New.
27887 (EF_MIPS_ARCH_64R2): New.
27888
740b3dbe
L
278892013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27890
27891 * Makeconfig (+link-pie-before-libc): New.
27892 (+link-pie-after-libc): Likewise.
27893 (+link-pie-tests): Likewise.
27894 (+link-pie): Rewritten.
27895 (link-before-libc): Remove $(config-LDFLAGS).
27896 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27897 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27898 (config-LDFLAGS): Renamed to ...
27899 (rtld-LDFLAGS): This.
27900 (rtld-tests-LDFLAGS): New macro.
27901 (link-libc-rpath-link): Likewise.
27902 (link-libc-tests-rpath-link): Likewise.
27903 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27904 (link-libc): Prepand $(link-libc-rpath-link).
27905 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27906 (test-program-prefix): New macro.
27907 (test-via-rtld-prefix): Likewise.
27908 (test-program-cmd): Likewise.
27909 (host-test-program-cmd): Likewise.
27910 * Makefile ($(common-objpfx)testrun.sh): Replace
27911 $(run-program-prefix) with $(test-program-prefix).
27912 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27913 $(rtld-LDFLAGS).
27914 ($(common-objpfx)shlib.lds): Likewise.
27915 (build-module-helper): Likewise.
27916 ($(common-objpfx)format.lds): Likewise.
27917 * Rules (binaries-pie-tests): New.
27918 (binaries-pie-notests): Likewise.
27919 (binaries-pie): Rewritten.
27920 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27921 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27922 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27923 (make-test-out): Replace $(host-built-program-cmd) with
27924 $(host-test-program-cmd).
27925 * config.make.in (build-hardcoded-path-in-tests): New variable.
27926 * configure.in (--enable-hardcoded-path-in-tests): New configure
27927 option.
27928 (hardcoded_path_in_tests): New AC_SUBST.
27929 * configure: Regenerated.
27930 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27931 $(built-program-cmd) with $(test-program-cmd).
27932 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27933 (test_program_cmd): This.
27934 * elf/Makefile ($(objpfx)order.out): Run test with
27935 $(test-program-prefix).
27936 ($(objpfx)order2.out): Likewise.
27937 ($(objpfx)tst-initorder.out): Likewise.
27938 ($(objpfx)tst-initorder2.out): Likewise.
27939 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27940 $(test-program-cmd).
27941 ($(objpfx)tst-array1-static.out): Likewise.
27942 ($(objpfx)tst-array2.out): Likewise.
27943 ($(objpfx)tst-array3.out): Likewise.
27944 ($(objpfx)tst-array4.out): Likewise.
27945 ($(objpfx)tst-array5.out): Likewise.
27946 ($(objpfx)tst-array5-static.out): Likewise.
27947 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27948 $(test-program-cmd).
27949 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27950 $(run-program-prefix) with $(test-program-prefix).
27951 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27952 (test_program_prefix): This.
27953 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27954 $(run-program-prefix) with $(test-program-prefix).
27955 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27956 (test_program_prefix): This.
27957 * iconvdata/tst-tables.sh: Likewise.
27958 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27959 $(run-program-prefix) with $(test-program-prefix).
27960 ($(objpfx)tst-translit.out): Likewise.
27961 ($(objpfx)tst-gettext2.out): Likewise.
27962 ($(objpfx)tst-gettext4.out): Likewise.
27963 ($(objpfx)tst-gettext6.out): Likewise.
27964 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27965 (test_program_prefix): This.
27966 * intl/tst-gettext2.sh: Likewise.
27967 * intl/tst-gettext4.sh Likewise.
27968 * intl/tst-gettext6.sh: Likewise.
27969 * intl/tst-translit.sh: Likewise.
27970 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27971 with $(test-program-cmd).
27972 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27973 $(run-program-prefix) with $(test-program-prefix).
27974 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27975 (test_program_prefix): This.
27976 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27977 $(run-program-prefix) with $(test-program-prefix).
27978 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27979 (test_program_prefix): This.
27980 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27981 * posix/Makefile ($(objpfx)globtest.out): Replace
27982 $(run-via-rtld-prefix) and $(test-wrapper) with
27983 $(test-program-prefix) and $(test-via-rtld-prefix).
27984 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27985 $(test-program-prefix).
27986 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27987 $(host-test-program-cmd).
27988 (tst-spawn-ARGS): Likewise.
27989 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27990 $(test-program-prefix).
27991 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27992 (test_via_rtld_prefix): This.
27993 (test_wrapper): Renamed to ...
27994 (test_program_prefix): This.
27995 (run_program_prefix): Replaced by test_program_prefix.
27996 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27997 (test_program_prefix): This.
27998 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27999 with $(host-test-program-cmd).
28000 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28001 $(run-program-prefix) with $(test-program-prefix).
28002 ($(objpfx)tst-printf.out): Likewise.
28003 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28004 $(test-program-cmd).
28005 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28006 (test_program_prefix): This.
28007 * stdio-common/tst-unbputc.sh: Likewise.
28008 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28009 $(run-program-prefix) with $(test-program-prefix).
28010 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28011 (test_program_prefix): This.
28012 * string/Makefile ($(objpfx)tst-svc.out): Replace
28013 $(built-program-cmd) with $(test-program-cmd).
28014
c6fe55cf
AJ
280152013-01-11 Andreas Jaeger <aj@suse.de>
28016
28017 [BZ #15003]
28018 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28019 value. Sync with Linux 3.7.
28020
9e6919c8
DM
280212013-01-10 David S. Miller <davem@davemloft.net>
28022
28023 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28024 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28025 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28026
1c9f1a02
RM
280272013-01-10 Roland McGrath <roland@hack.frob.com>
28028
28029 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28030 never set.
28031 * configure: Regenerated.
28032
b9de2dde
DM
280332013-01-10 David S. Miller <davem@davemloft.net>
28034
28035 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28036 sparc V9 rather than using V8 code.
28037 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28038 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28039
e7f68ef4
RM
280402013-01-10 Roland McGrath <roland@hack.frob.com>
28041
28042 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28043 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28044 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28045 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28046 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28047 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28048 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28049 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28050 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28051 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28052 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28053 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28054 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28055 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28056 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28057 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28058 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28059 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28060 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28061 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28062 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28063 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28064 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28065 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28066 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28067 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28068 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28069
5a47cc9c
DM
280702013-01-10 David S. Miller <davem@davemloft.net>
28071
28072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28073
4cf8f209
L
280742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28075
28076 * posix/Makefile (tests-static): New variable.
28077 (tests): Add $(tests-static).
28078 (tst-exec-static-ARGS): New variable.
28079 (tst-spawn-static-ARGS): Likewise.
28080 * posix/tst-exec-static.c: New file.
28081 * posix/tst-spawn-static.c: Likewise.
28082 * posix/tst-exec.c: Support run directly.
28083 * posix/tst-spawn.c: Likewise.
28084
fed0faa1
JM
280852013-01-10 Joseph Myers <joseph@codesourcery.com>
28086
828beb13
JM
28087 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28088 long.
28089 * math/bits/mathcalls.h (llrint): Likewise.
28090 (llround): Likewise.
28091 * stdlib/stdlib.h (struct drand48_data): Likewise.
28092 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28093 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28094 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28095 Likewise.
28096 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28097 Likewise.
28098 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28099 (elf_greg_t): Likewise.
28100 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28101 (__jmp_buf): Likewise.
28102 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28103 definitions.
28104 (llrint): Likewise, for all definitions.
28105 (llrintl): Likewise.
28106
fed0faa1
JM
28107 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28108 Remove [__GNUC__] condition.
28109 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28110 condition to just [__USE_ISOC99].
28111 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28112
1a20cb20
L
281132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28114
28115 [BZ #14200]
28116 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28117 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28118 defined.
28119 (_POSIX_V6_ILP32_OFF32): Likewise.
28120 (_XBS5_ILP32_OFF32): Likewise.
28121 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28122 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28123
751b85f7
SP
281242013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28125
7490eb81
SP
28126 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28127
751b85f7
SP
28128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28129 doubles __mpexp_twomm1. Adjust usage.
28130 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28131 Remove.
28132
988197f0
AS
281332013-01-10 Andreas Schwab <schwab@suse.de>
28134
28135 [BZ #14964]
28136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28137 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28138
e83d7298
DM
281392013-01-09 David S. Miller <davem@davemloft.net>
28140
034ed64b 28141 [BZ #15003]
57f41c40
AS
28142 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28143 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28144 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28145 (TCP_FASTOPEN): Define.
e83d7298
DM
28146 (tcp_repair_opt): New structure.
28147 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28148 enum values.
57f41c40
AS
28149 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28150 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28151 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28152 (tcp_cookie_transactions): New structure.
28153
d5e0b9bd
AB
281542013-01-09 Anton Blanchard <anton@samba.org>
28155
28156 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28157 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28158 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28159 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28160
0c07e3ea
JM
281612013-01-09 Joseph Myers <joseph@codesourcery.com>
28162
28163 * include/features.h (__USE_ANSI): Remove.
28164
232f7002
RM
281652013-01-09 Roland McGrath <roland@hack.frob.com>
28166
ad98e30c
RM
28167 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28168
232f7002
RM
28169 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28170
950c99ca
SP
281712013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28172
b5792741
SP
28173 * sysdeps/s390/fpu/libm-test-ulps: Update.
28174
47cf2278
SP
28175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28176
950c99ca
SP
28177 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28178 (__acr): Likewise.
28179 (__cpy): Likewise.
28180 (norm): Likewise.
28181 (denorm): Likewise.
28182 (__mp_dbl): Likewise.
28183 (__dbl_mp): Likewise.
28184 (add_magnitudes): Likewise.
28185 (sub_magnitudes): Likewise.
28186 (__add): Likewise.
28187 (__sub): Likewise.
28188 (__mul): Likewise.
28189 (__inv): Likewise.
28190 (__dvd): Likewise.
28191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28192 (__acr): Likewise.
28193 (__cpy): Likewise.
28194 (norm): Likewise.
28195 (denorm): Likewise.
28196 (__mp_dbl): Likewise.
28197 (__dbl_mp): Likewise.
28198 (add_magnitudes): Likewise.
28199 (sub_magnitudes): Likewise.
28200 (__add): Likewise.
28201 (__sub): Likewise.
28202 (__mul): Likewise.
28203 (__inv): Likewise.
28204 (__dvd): Likewise.
28205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28206 (__acr): Likewise.
28207 (__cpy): Likewise.
28208 (norm): Likewise.
28209 (denorm): Likewise.
28210 (__mp_dbl): Likewise.
28211 (__dbl_mp): Likewise.
28212 (add_magnitudes): Likewise.
28213 (sub_magnitudes): Likewise.
28214 (__add): Likewise.
28215 (__sub): Likewise.
28216 (__mul): Likewise.
28217 (__inv): Likewise.
28218 (__dvd): Likewise.
28219
eede9df9
JM
282202013-01-08 Joseph Myers <joseph@codesourcery.com>
28221
28222 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28223 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28224 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28225 2 && __USE_EXTERN_INLINES]: Likewise.
28226
c40ea3d9
AJ
282272013-01-08 Andreas Jaeger <aj@suse.de>
28228
28229 [BZ# 14985]
28230 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28231 Remove.
28232 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28233 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28234
2ccdea26
AB
282352013-01-07 Anton Blanchard <anton@samba.org>
28236
28237 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28238 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28239 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28240 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28241 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28242 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28243 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28244 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28246 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28247 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28248 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28249 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28250 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28251 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28252 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28253 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28254 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28255 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28256 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28257 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28258 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28259 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28260 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28261 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28262 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28263 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28264 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28265 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28266 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28267 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28269 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28270 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28271 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28272 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28273 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28274 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28275 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28276 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28277 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28278 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28279 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28280
a9708fed
JM
282812013-01-07 Joseph Myers <joseph@codesourcery.com>
28282
375607b9
JM
28283 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28284 (__MALLOC_PMT): Likewise.
28285 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28286 [__GNUC__], only on [_LIBC].
28287 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28288 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28289 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28290 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28291 forward declaration.
28292 (realloc_hook_ini): Likewise.
28293 (memalign_hook_ini): Likewise.
28294 (__libc_memalign): Do not use __MALLOC_PMT in variable
28295 declaration.
28296 (__libc_valloc): Likewise.
28297 (__libc_pvalloc): Likewise.
28298 (__libc_calloc): Likewise.
28299 (__posix_memalign): Likewise.
28300
a9708fed
JM
28301 [BZ #14996]
28302 * math/s_casinh.c: Include <float.h>.
28303 (__casinh): Do not do computation with squaring and square root
28304 for large arguments.
28305 * math/s_casinhf.c: Include <float.h>.
28306 (__casinhf): Do not do computation with squaring and square root
28307 for large arguments.
28308 * math/s_casinhl.c: Include <float.h>.
28309 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28310 (__casinhl): Do not do computation with squaring and square root
28311 for large arguments.
28312 * math/libm-test.inc (casin_test): Add more tests.
28313 (casinh_test): Likewise.
28314 * sysdeps/i386/fpu/libm-test-ulps: Update.
28315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28316
afec409a
L
283172013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28318
28319 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28320 (__x86_64_raw_data_cache_size): Likewise.
28321 (__x86_64_data_cache_size_half): Likewise.
28322 (__x86_64_raw_data_cache_size_half): Likewise.
28323 (__x86_64_shared_cache_size): Likewise.
28324 (__x86_64_raw_shared_cache_size): Likewise.
28325 (__x86_64_shared_cache_size_half): Likewise.
28326 (__x86_64_raw_shared_cache_size_half): Likewise.
28327 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28328 to ...
28329 (__x86_data_cache_size): This.
28330 (__x86_64_raw_data_cache_size): Renamed to ...
28331 (__x86_raw_data_cache_size): This.
28332 (__x86_64_data_cache_size_half): Renamed to ...
28333 (__x86_data_cache_size_half): This.
28334 (__x86_64_raw_data_cache_size_half): Renamed to ...
28335 (__x86_raw_data_cache_size_half): This.
28336 (__x86_64_shared_cache_size): Renamed to ...
28337 (__x86_shared_cache_size): This.
28338 (__x86_64_raw_shared_cache_size): Renamed to ...
28339 (__x86_raw_shared_cache_size): This.
28340 (__x86_64_shared_cache_size_half): Renamed to ...
28341 (__x86_shared_cache_size_half): This.
28342 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28343 (__x86_raw_shared_cache_size_half): This.
28344 * sysdeps/x86_64/memcpy.S: Updated.
28345 * sysdeps/x86_64/memset.S: Likewise.
28346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28347 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28348 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28349
0b3986d0
DM
283502013-01-04 David S. Miller <davem@davemloft.net>
28351
28352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28353
e47686e9
AS
283542013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28355
d643bac1
AS
28356 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28357 1 to avoid redefinition warning.
28358 (__USE_GNU): Don't define.
28359 (init_signaling_nan): Protoize.
28360
e47686e9
AS
28361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28362
b18decba
SP
283632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28364
fffb407f
SP
28365 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28367 (__cpymn): Likewise.
28368 (norm): Remove commented code.
28369 (denorm): Likewise.
28370 (__mp_dbl): Likewise.
28371 (__inv): Likewise.
28372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28373 (__cpymn): Likewise.
28374 (norm): Remove commented code.
28375 (denorm): Likewise.
28376 (__mp_dbl): Likewise.
28377 (__inv): Likewise.
28378
b18decba
SP
28379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28380 mp_no value for 1.0 and 2.0.
28381 (norm): Use RADIXI instead of radixi.d.
28382 (denorm): Likewise.
28383 (__mul): Use 0.0 instead of zero.d.
28384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28385 mp_no value for 1.0 and 2.0.
28386 (norm): Use RADIXI instead of radixi.d.
28387 (denorm): Likewise.
28388 (__mul): Use 0.0 instead of zero.d.
28389
cdc1c96f
JM
283902013-01-04 Joseph Myers <joseph@codesourcery.com>
28391
28392 [BZ #14994]
28393 * math/s_casinh.c (__casinh): Reduce finite argument to first
28394 quadrant then set signs of results at the end.
28395 * math/s_casinhf.c (__casinhf): Likewise.
28396 * math/s_casinhl.c (__casinhl): Likewise.
28397 * math/libm-test.inc (casin_test): Add more tests.
28398 (casinh_test): Likewise.
28399 * sysdeps/i386/fpu/libm-test-ulps: Update.
28400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28401
302913e1
SP
284022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28403
6420d207
SP
28404 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28405
a9e48ab4
SP
28406 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28407
b7837264
SP
28408 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28409 declarations.
28410 (denorm): Likewise.
28411 (__mp_dbl): Likewise.
28412 (__inv): Likewise.
28413
f8af25d2
SP
28414 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28415 and adjust the header comment.
28416
302913e1
SP
28417 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28418 variable name from declaration.
28419
5d7dd1ca
L
284202013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28421
28422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28423 Initialize COMMON_CPUID_INDEX_7 element.
28424 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28425 (CPUID_RTM): Likewise.
28426 (HAS_RTM): Likewise.
28427 (COMMON_CPUID_INDEX_7): New enum.
28428
2f5f40f4
AS
284292013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28430
28431 [BZ #14981]
28432 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28433 size is zero, record memory as freed.
28434
4056f4a0
AJ
284352013-01-03 Andreas Jaeger <aj@suse.de>
28436
28437 * po/ia.po: Add new Interlingua translation.
28438
ab15736f 284392012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28440
28441 * locale/programs/localedef.c: Fix description of '--posix' flag.
28442
568035b7
JM
284432013-01-02 Joseph Myers <joseph@codesourcery.com>
28444
e6898b8d
JM
28445 * NEWS: Update dates in second copyright notice.
28446 * README: Update copyright dates in example.
28447 * manual/libc.texinfo: Update copyright dates.
28448 * scripts/test-installation.pl: Update copyright date in --version
28449 output.
28450
0e2f9562
JM
28451 * hurd/ctty-input.c: Fix copyright notice formatting.
28452 * hurd/ctty-output.c: Likewise.
28453 * hurd/dtable.c: Likewise.
28454 * hurd/hurd-raise.c: Likewise.
28455 * hurd/hurdprio.c: Likewise.
28456 * hurd/msgportdemux.c: Likewise.
28457 * misc/sys/file.h: Likewise.
28458 * misc/sys/ioctl.h: Likewise.
28459 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28460 * sysdeps/mach/hurd/chdir.c: Likewise.
28461 * sysdeps/mach/hurd/fchdir.c: Likewise.
28462 * sysdeps/mach/hurd/rename.c: Likewise.
28463 * sysdeps/mach/hurd/rmdir.c: Likewise.
28464 * sysdeps/mach/hurd/seekdir.c: Likewise.
28465 * sysdeps/mach/hurd/setsid.c: Likewise.
28466 * sysdeps/posix/wait3.c: Likewise.
28467
568035b7
JM
28468 * All files with FSF copyright notices: Update copyright dates
28469 using scripts/update-copyrights.
28470 * intl/plural.c: Regenerated.
28471 * locale/programs/charmap-kw.h: Likewise.
28472 * locale/programs/locfile-kw.h: Likewise.
28473
da08f647
SP
284742013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28475
0f5477af
SP
28476 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28477 four values.
28478
44e0d4c2
SP
28479 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28480 calculation loop and add branch prediction.
28481
4d55b4e5
SP
28482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28483 check access beyond bounds of m1np.
28484
da08f647
SP
28485 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28486 MPTWO.
28487 (__inv): Remove local variable MPTWO to use the global
28488 constant.
28489 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28490 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28491 variable MPTWO.
28492 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28493 MP3HALFS static const.
28494
8e051029
DM
284952013-01-01 David S. Miller <davem@davemloft.net>
28496
28497 * po/ca.po: Update from translation team.
28498
f4cf5f2d
JM
284992013-01-01 Joseph Myers <joseph@codesourcery.com>
28500
28501 * scripts/update-copyrights: New file.
28502 * Makeconfig: Reformat copyright notice.
28503 * ctype/ctype.h: Likewise.
28504 * debug/swprintf_chk.c: Likewise.
28505 * elf/dl-cache.c: Likewise.
28506 * elf/dl-debug.c: Likewise.
28507 * elf/dl-object.c: Likewise.
28508 * grp/initgroups.c: Likewise.
28509 * hurd/Makefile: Likewise.
28510 * hurd/hurd/signal.h: Likewise.
28511 * hurd/hurdfault.c: Likewise.
28512 * hurd/hurdioctl.c: Likewise.
28513 * hurd/hurdlookup.c: Likewise.
28514 * hurd/intr-msg.c: Likewise.
28515 * iconv/gconv_open.c: Likewise.
28516 * libio/swprintf.c: Likewise.
28517 * locale/lc-ctype.c: Likewise.
28518 * locale/nl_langinfo.c: Likewise.
28519 * mach/Machrules: Likewise.
28520 * mach/Makefile: Likewise.
28521 * malloc/obstack.h: Likewise.
28522 * manual/Makefile: Likewise.
28523 * manual/tsort.awk: Likewise.
28524 * misc/bits/stab.def: Likewise.
28525 * nis/nis_print_group_entry.c: Likewise.
28526 * nis/nis_table.c: Likewise.
28527 * nis/nss_compat/compat-pwd.c: Likewise.
28528 * nis/nss_compat/compat-spwd.c: Likewise.
28529 * po/Makefile: Likewise.
28530 * posix/fnmatch.c: Likewise.
28531 * posix/regex.h: Likewise.
28532 * resolv/Makefile: Likewise.
28533 * resolv/nss_dns/dns-network.c: Likewise.
28534 * resolv/res_hconf.c: Likewise.
28535 * scripts/gen-sorted.awk: Likewise.
28536 * soft-fp/soft-fp.h: Likewise.
28537 * stdio-common/printf.h: Likewise.
28538 * stdlib/monetary.h: Likewise.
28539 * stdlib/random.c: Likewise.
28540 * stdlib/random_r.c: Likewise.
28541 * sysdeps/generic/Makefile: Likewise.
28542 * sysdeps/gnu/Makefile: Likewise.
28543 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28566 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28568 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28569 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28570 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28571 * sysdeps/mach/hurd/errnos.awk: Likewise.
28572 * sysdeps/mach/hurd/fork.c: Likewise.
28573 * sysdeps/mach/hurd/getcwd.c: Likewise.
28574 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28575 * sysdeps/mach/hurd/mmap.c: Likewise.
28576 * sysdeps/mach/hurd/utimes.c: Likewise.
28577 * sysdeps/mach/hurd/xmknod.c: Likewise.
28578 * sysdeps/posix/profil.c: Likewise.
28579 * sysdeps/posix/readdir_r.c: Likewise.
28580 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28581 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28582 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28583 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28585 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28586 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28587 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28589 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28590 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28591 * sysdeps/pthread/lio_listio.c: Likewise.
28592 * sysdeps/sparc/dl-procinfo.h: Likewise.
28593 * sysdeps/unix/i386/sysdep.S: Likewise.
28594 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28595 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28596 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28597 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28599 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28600 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28601 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28602 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28603 * sysdeps/wordsize-32/divdi3.c: Likewise.
28604 * time/sys/time.h: Likewise.
28605 * wcsmbs/Makefile: Likewise.
28606
0549fbba
DM
286072013-01-01 David S. Miller <davem@davemloft.net>
28608
a141f1a7
DM
28609 * po/fr.po: Update from translation team.
28610
0549fbba
DM
28611 * catgets/gencat.c: Update copyright year.
28612 * csu/version.c: Likewise.
28613 * debug/catchsegv.sh: Likewise.
28614 * debug/pcprofiledump.c: Likewise.
28615 * debug/xtrace.sh: Likewise.
28616 * elf/ldconfig.c: Likewise.
28617 * elf/ldd.bash.in: Likewise.
28618 * elf/pldd.c: Likewise.
28619 * elf/sotruss.ksh: Likewise.
28620 * elf/sprof.c: Likewise.
28621 * iconv/iconv_prog.c: Likewise.
28622 * iconv/iconvconfig.c: Likewise.
28623 * locale/programs/locale.c: Likewise.
28624 * locale/programs/localedef.c: Likewise.
28625 * login/programs/pt_chown.c: Likewise.
28626 * malloc/memusage.sh: Likewise.
28627 * malloc/memusagestat.c: Likewise.
28628 * malloc/mtrace.pl: Likewise.
28629 * nscd/nscd.c: Likewise.
28630 * nss/getent.c: Likewise.
28631 * nss/makedb.c: Likewise.
28632 * posix/getconf.c: Likewise.
28633
18ea052c
SP
286342012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28635
28636 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28637 numbers.
28638
9c89fca6
MF
286392012-12-30 Mike Frysinger <vapier@gentoo.org>
28640
28641 * math/bits/mathcalls.h (modf): Use __nonnull.
28642
085ec079
SP
286432012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28644
28645 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28646 (split): Use macro CN instead of the bare value.
28647 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28648 could be used.
28649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28650 instead of the bare value.
28651 (power1): Likewise.
28652
6d9f97e1
SP
286532012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28654
d63f73be
SP
28655 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28656 __ATAN_TWOM.
28657 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28658
6d9f97e1
SP
28659 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28660 their values.
28661 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28662 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28663 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28664 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28665
4c4febf5
AJ
286662012-12-28 Andreas Jaeger <aj@suse.de>
28667
af5843ef
AJ
28668 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28669 values are from Linux 3.7.
28670
4c4febf5
AJ
28671 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28672 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28673
99136f82
SP
286742012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28675
2f216c3c 28676 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28677 TRUE case.
28678
99136f82
SP
28679 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28680 (norm): Likewise.
28681 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28682 variables with preprocessor constants.
28683 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28684 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28685 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28686
7fffbdff
BH
286872012-12-27 Bruno Haible <bruno@clisp.org>
28688
28689 [BZ #14317]
28690 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28691 only if needed.
28692
b76eb5f0
SP
286932012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28694
31a7fe5c
SP
28695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28696 and use variable directly.
28697 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28698
b76eb5f0
SP
28699 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28700 MPONE.
28701 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28702 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28703 variable MPONE.
28704 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28705 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28706 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28707 include directive. Remove local variable MPONE.
28708 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28709 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28710 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28711
2c8bfe7d
DM
287122012-12-25 David S. Miller <davem@davemloft.net>
28713
28714 * version.h (RELEASE): Set to "development".
28715 (VERSION): Set to "2.17.90".
28716 * NEWS: Add 2.18 section.
28717
147d03b0
DM
287182012-12-21 David S. Miller <davem@davemloft.net>
28719
28720 * po/hr.po: Update from translation team.
28721
a8ebb2b9
AK
287222012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28723
28724 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28725
95b4f1b6
SE
287262012-12-19 Steve Ellcey <sellcey@mips.com>
28727
b2d94007 28728 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28729
cedb2a90
MS
287302012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28731
28732 * manual/contrib.texi (Contributors): Spelling correction.
28733
bbf527d6
DM
287342012-12-15 David S. Miller <davem@davemloft.net>
28735
28736 * po/ru.po: Update from translation team.
28737
bc38c906
DM
287382012-12-13 David S. Miller <davem@davemloft.net>
28739
85429b1a
DM
28740 * NEWS: Mention IFUNC testsuite enhancements.
28741
d283e353
DM
28742 * po/pl.po: Update from translation team.
28743 * po/bg.po: Likewise.
28744
bc38c906
DM
28745 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28746 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28747
a181b0d7
DM
287482012-12-11 David S. Miller <davem@davemloft.net>
28749
4641d57e
DM
28750 * po/sv.po: Update from translation team.
28751
f7bc6495
DM
28752 * po/vi.po: Update from translation team.
28753
6fc9048f
DM
28754 * po/cs.po: Update from translation team.
28755
a181b0d7
DM
28756 * po/de.po: Update from translation team.
28757 * po/eo.po: Likewise.
28758 * po/nl.po: Likewise.
28759
f70bfe80
SP
287602012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28761
3c8b4190
SP
28762 [BZ #14246]
28763 * manual/argp.texi (Argp Helper Functions): Move node to follow
28764 Argp Parsing State.
28765
f70bfe80
SP
28766 [BZ #14872]
28767 * manual/conf.texi (Limits on File System Capacity): Mention if
28768 terminating null is included in the max size.
28769
188f0adf
AJ
287702012-12-10 Andreas Jaeger <aj@suse.de>
28771
28772 * po/cs.po: Update from translation team.
28773
56e7d3ad
SP
287742012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28775
28776 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28777 void pointer and cast to uintptr_t.
28778 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28779 path.
28780 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28781 * sysdeps/s390/s390-64/memset.S: Likewise.
28782
76f2d2ea 287832012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28784
28785 [BZ #14833]
28786 * menual/message.texi (Message Translation): Fix typos.
28787 (Helper programs for gettext): Likewise.
28788
67cbf9a2
AS
287892012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28790
28791 [BZ #14898]
28792 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28793 Change to -1.
28794
682d0e9a
DM
287952012-12-07 David S. Miller <davem@davemloft.net>
28796
28797 * po/libc.pot: Update.
28798
573cd484
RH
287992012-12-07 Richard Henderson <rth@redhat.com>
28800
7e9da188 28801 [BZ #10114]
573cd484
RH
28802 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28803 normal/normal case to before the switch.
28804 (_FP_DIV): Likewise.
28805
e933a943
MF
288062012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28807 Mike Frysinger <vapier@gentoo.org>
28808
28809 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28810 check for __NR_fadvise64_64.
28811
82123268
CM
288122012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28813
28814 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28815 0, not just to plain "0" as a statement.
28816 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28817 with cw.
28818
d9814526
JM
288192012-12-06 Joseph Myers <joseph@codesourcery.com>
28820
28821 * NEWS: Use sourceware.org in Bugzilla URL.
28822
7728c574
SP
288232012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28824
f16946dd
SP
28825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28826 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28827
5704bbcb
SP
28828 * stdio-common/tst-put-error.c (do_test): Add newline to the
28829 padded test to ensure flush.
28830
17aa0516
JL
288312012-12-05 Jeff Law <law@redhat.com>
28832
28833 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28834
363313b5
JM
288352012-12-05 Joseph Myers <joseph@codesourcery.com>
28836
effbd42a
JM
28837 * README: Don't refer to ports add-on as distributed separately.
28838 Mention AArch64 in list of systems supported in the ports add-on.
28839
87600365
JM
28840 * LICENSES: Add more non-FSF copyright and license notices.
28841
a0d7066a
JM
28842 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28843 ((unused)).
28844
66ca5a5b
JM
28845 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28846
363313b5
JM
28847 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28848 10000 as width of padded output.
28849
b37984ad
JM
288502012-12-04 Joseph Myers <joseph@codesourcery.com>
28851
9003570a
JM
28852 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28853
b37984ad
JM
28854 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28855 variable LX with __attribute__ ((unused)).
28856 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28857 Likewise.
28858 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28859 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28861 with __attribute__ ((unused)).
28862
c8df52ec
DM
288632012-12-04 David S. Miller <davem@abraco.davemloft.net>
28864
28865 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28866
b3b099af
JM
288672012-12-04 Joseph Myers <joseph@codesourcery.com>
28868
c33aa6e3
JM
28869 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28870 (CFLAGS-nldbl-acos.c): New variable.
28871 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28872 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28873 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28874 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28875 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28876 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28877 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28878 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28879 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28880 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28881 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28882 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28883 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28884 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28885 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28886 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28887 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28888 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28889 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28890 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28891 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28892 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28893 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28894 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28895 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28896 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28897 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28898 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28899 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28900 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28901 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28902 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28903 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28904 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28905 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28906 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28907 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28908 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28909 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28910 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28911 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28912 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28913 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28914 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28915 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28916 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28917 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28918 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28919 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28920 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28921 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28922 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28923 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28924 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28925 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28926 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28927 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28928 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28929 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28930 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28931 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28932 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28933 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28934 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28935 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28936 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28937 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28938 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28939 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28940 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28941 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28942 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28943 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28944 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28945 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28946 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28947 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28948 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28949 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28950 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28951 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28952 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28953 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28954 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28955 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28956 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28957 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28958 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28959 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28960 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28961 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28962 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28963 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28964 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28965 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28966 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28967 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28968
20f0018d
JM
28969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28970 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28971
b3b099af
JM
28972 [BZ #14914]
28973 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28974 whole low double instead of just low 47 bits when splitting values
28975 into two parts.
28976
029264d1
AM
289772012-12-03 Allan McRae <allan@archlinux.org>
28978
28979 * manual/stdio.texi (Predefined Printf Handlers): Remove
28980 @hsep and @vsep usage.
28981
c9d6789e
MF
289822012-12-03 Mike Frysinger <vapier@gentoo.org>
28983
28984 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28985 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28986
4b7634a5
JL
289872012-12-03 Jeff Law <law@redhat.com>
28988
28989 * time/sys/time.h (settimeofday): Do not mark TV argument
28990 as __nonnull.
28991
eb6cbd24
MF
289922012-12-01 Mike Frysinger <vapier@gentoo.org>
28993
28994 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28995 when currently writing and seek to current position when not.
28996 * libio/Makefile (tests): Remove bug-fclose1.
28997 * libio/bug-fclose1.c: Delete.
28998
f638872a
JM
289992012-12-01 Joseph Myers <joseph@codesourcery.com>
29000
29001 * manual/arith.texi (feenableexcept): Fix typo.
29002 (fedisableexcept): Likewise.
29003
48085d14
RM
290042012-11-30 Roland McGrath <roland@hack.frob.com>
29005
29006 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29007 second, differently-typed declaration, rather than a cast.
29008
1a538b9f
SP
290092012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29010
29011 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29012 * include/rpc/svc.h: ... here.
29013
d07f2ff1 290142012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29015
29016 [BZ #13013]
29017 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29018 depending n and resplen2 to catch cases where answer
29019 equals answerp2.
29020
c93ec1f0
CD
290212012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29022
29023 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29024 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29025
37db69de
MF
290262012-11-29 Mike Frysinger <vapier@gentoo.org>
29027
29028 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29029
e10c4e4f
RM
290302012-11-29 Roland McGrath <roland@hack.frob.com>
29031
29032 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29033
2af1b328
JL
290342012-11-28 Jeff Law <law@redhat.com>
29035
29036 [BZ #13761]
29037 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29038 dataset_temporary. Track alloca usage into alloca_used.
29039 If dataset is large allocate and release it via malloc/free.
29040
111db5b1
FW
290412012-06-04 Florian Weimer <fweimer@redhat.com>
29042
f06cc227 29043 [BZ #14197]
111db5b1
FW
29044 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29045
dd694abd
DM
290462012-11-28 David S. Miller <davem@davemloft.net>
29047
29048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29049
9984dd01
JM
290502012-11-28 Joseph Myers <joseph@codesourcery.com>
29051
29052 [BZ #14803]
29053 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29054 of pi/2 rounded to nearest to 64 bits.
29055 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29056 nearest to 64 bits.
29057 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29058 bits.
29059
14bc93a9
JL
290602012-11-28 Jeff Law <law@redhat.com>
29061 Martin Osvald <mosvald@redhat.com>
29062
29063 [BZ #14889]
29064 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29065 * sunrpc/svc.c: Include time.h.
29066 (__svc_accept_failed): New function.
29067 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29068 any reason other than EINTR, call __svc_accept_failed.
29069 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29070 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29071
e3c6aa3a
AS
290722012-11-28 Andreas Schwab <schwab@suse.de>
29073
29074 * scripts/abilist.awk: Also handle indirect functions in .opd
29075 section.
29076
1bead169
JM
290772012-11-28 Joseph Myers <joseph@codesourcery.com>
29078
29079 [BZ #13881]
29080 * sysdeps/x86/fpu/powl_helper.c: New file.
29081 * sysdeps/x86/fpu/Makefile: Likewise.
29082 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29083 (p3): New object.
29084 (__ieee754_powl): Use __powl_helper for finite arguments except
29085 integer exponents below 8.
29086 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29087 (p3): New object.
29088 (__ieee754_powl): Use __powl_helper for finite arguments except
29089 integer exponents below 8.
29090 * math/libm-test.inc (pow_test): Add more tests and enable some
29091 previously disabled tests.
29092 * sysdeps/i386/fpu/libm-test-ulps: Update.
29093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29094
0817d63d
SP
290952012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29096 Carlos O'Donell <carlos_odonell@mentor.com>
29097
29098 * nss/makedb.c (is_prime): Assert that input is odd and greater
29099 than 4. Note that fact in a comment too.
29100 (next_prime): Add 4 to input.
29101
de2fd463
SP
291022012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29103
29104 [BZ #11741]
29105 * libio/Makefile (tests): Add test case tst-fwrite-error.
29106 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29107 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29108 * libio/tst-fwrite-error.c: New test case.
29109
c515fb51
L
291102012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29111
29112 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29113 before casting to void *.
29114 * include/libc-internal.h (__pointer_type): New macro.
29115 (__integer_if_pointer_type_sub): Likewise.
29116 (__integer_if_pointer_type): Likewise.
29117 (cast_to_integer): Likewise.
29118 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29119 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29120 before casting to atomic64_t.
29121 (atomic_exchange_acq): Likewise.
29122 (__arch_exchange_and_add_body): Likewise.
29123 (__arch_add_body): Likewise.
29124 (atomic_add_negative): Likewise.
29125 (atomic_add_zero): Likewise.
29126
4cf77aa9
JM
291272012-11-26 Joseph Myers <joseph@codesourcery.com>
29128
29129 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29130 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29131 (add_fdes): Likewise.
29132 (linear_search_fdes): Likewise.
29133 (binary_search_unencoded_fdes): Likewise.
29134
d260b3b4
AS
291352012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29136
29137 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29138
67060746
AC
291392012-11-24 Adam Conrad <adconrad@0c3.net>
29140
29141 * configure.in: Autodetect C++ header directories.
29142 * configure: Regenerated.
29143
800938a1
MF
291442012-11-23 Mike Frysinger <vapier@gentoo.org>
29145
29146 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29147
4e6e34e6
AS
291482012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29149
29150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29151
7c7feb47
JM
291522012-11-22 Joseph Myers <joseph@codesourcery.com>
29153
7184dcdf
JM
29154 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29155 LDBL_MANT_DIG == 106]: Disable some tests.
29156 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29157 Likewise.
29158 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29159 Likewise.
29160
0a42601f
JM
29161 [BZ #14871]
29162 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29163 input for small inputs. Return +/- pi/2 for large inputs.
29164 * math/libm-test.inc (atan_test): Add more tests.
29165
79c9b9fe
JM
29166 * sysdeps/generic/unwind-dw2-fde-glibc.c
29167 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29168 __attribute__ ((unused)).
29169
c60d3bf2
JM
29170 [BZ #14645]
29171 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29172 x * y if x and y are nonzero and z is zero.
29173
ef1e0867
JM
29174 [BZ #14811]
29175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29176 nonzero exponents with absolute value below 0x1p-117 to +/-
29177 0x1p-117.
29178
1468ded3
JM
29179 [BZ #14869]
29180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29181 up arguments below 2**-450, not just those below 2**-500.
29182 * math/libm-test.inc (hypot_test): Add another test.
29183
8e27e3cc
JM
29184 [BZ #14868]
29185 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29186 Return a+b for ratio over 2**120, not 2**60.
29187 * math/libm-test.inc (hypot_test): Add another test.
29188
c9c0279b
JM
29189 * math/libm-test.inc (clog_test): Use
29190 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29191 (clog10_test): Likewise.
29192
7c7feb47
JM
29193 [BZ #6778]
29194 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29195
fff1530e
AS
291962012-11-22 Andreas Schwab <schwab@suse.de>
29197
29198 * sysdeps/i386/fpu/libm-test-ulps: Update.
29199
94558d30
PT
292002012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29201
29202 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29203 printf output with newline.
29204
7e1be741
L
292052012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29206
6bfea974
L
29207 [BZ #14865]
29208 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29209 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29210 -z nodlopen, -z initfirst and -z execstack support.
29211 * configure: Regenerated.
29212
7e1be741
L
29213 * elf/elf.h (DF_1_NODIRECT): New macro.
29214 (DF_1_IGNMULDEF): Likewise.
29215 (DF_1_NOKSYMS): Likewise.
29216 (DF_1_NOHDR): Likewise.
29217 (DF_1_EDITED): Likewise.
29218 (DF_1_NORELOC): Likewise.
29219 (DF_1_SYMINTPOSE): Likewise.
29220 (DF_1_GLOBAUDIT): Likewise.
29221 (DF_1_SINGLETON): Likewise.
29222 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29223 DT_1_SUPPORTED_MASK bits.
29224 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29225
105ce2ce
CD
292262012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29227
29228 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29229
123be9de
TS
292302012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29231
d072f3f7
TS
29232 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29233 macro.
29234
123be9de
TS
29235 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29236 (sendmmsg): Move declarations...
29237 * socket/sys/socket.h: ... here.
29238 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29239 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29240 include it from...
29241 * socket/recvmmsg.c: ... this new file.
29242 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29243 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29244 definition of __sendmmsg hidden.
29245 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29246 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29247 Move ENOSYS stub into and include it from...
29248 * socket/sendmmsg.c: ... this new file.
29249 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29250 (sysdep_routines): Move recvmmsg and sendmmsg...
29251 * socket/Makefile (routines): ... here.
29252 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29253 (GLIBC_PRIVATE): Add __sendmmsg.
29254 * include/sys/socket.h (__sendmmsg): Add declarations.
29255 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29256 sendmmsg.
29257
cf9a5d18
JM
292582012-11-20 Joseph Myers <joseph@codesourcery.com>
29259
29260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29261 variable I1 with __attribute__ ((unused)).
29262 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29263
ecd4caf9
JM
292642012-11-19 Joseph Myers <joseph@codesourcery.com>
29265
be14d48f
JM
29266 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29267 DUMMY variables with __attribute__ ((unused)).
29268
ecd4caf9
JM
29269 * bits/byteswap.h: Include <bits/types.h>.
29270 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29271
986cab95
PT
292722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29273
29274 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29275 string_t. Do not manually set errno.
29276 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29277 length with __strnlen. Make sure to both set errno and return it on
29278 failure.
29279
6d33cc9d
DM
292802012-11-19 David S. Miller <davem@davemloft.net>
29281
29282 With help from Joseph Myers.
29283 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29284 very large arguments properly.
29285 * math/libm-test.inc (atan_test): New tests.
29286 (atan2_test): New tests.
29287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29289
ee663277
JM
292902012-11-19 Joseph Myers <joseph@codesourcery.com>
29291
877f2d8e
JM
29292 [BZ #14856]
29293 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29294 Define to 3.
29295
116fc08a
JM
29296 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29297 [POSIX] (EADDRNOTAVAIL): Likewise.
29298 [POSIX] (EAFNOSUPPORT): Likewise.
29299 [POSIX] (EALREADY): Likewise.
29300 [POSIX] (ECONNABORTED): Likewise.
29301 [POSIX] (ECONNREFUSED): Likewise.
29302 [POSIX] (ECONNRESET): Likewise.
29303 [POSIX] (EDESTADDRREQ): Likewise.
29304 [POSIX] (EDQUOT): Likewise.
29305 [POSIX] (EHOSTUNREACH): Likewise.
29306 [POSIX] (EIDRM): Likewise.
29307 [POSIX] (EISCONN): Likewise.
29308 [POSIX] (ELOOP): Likewise.
29309 [POSIX] (EMULTIHOP): Likewise.
29310 [POSIX] (ENETDOWN): Likewise.
29311 [POSIX] (ENETUNREACH): Likewise.
29312 [POSIX] (ENOBUFS): Likewise.
29313 [POSIX] (ENODATA): Likewise.
29314 [POSIX] (ENOLINK): Likewise.
29315 [POSIX] (ENOMSG): Likewise.
29316 [POSIX] (ENOPROTOOPT): Likewise.
29317 [POSIX] (ENOSR): Likewise.
29318 [POSIX] (ENOSTR): Likewise.
29319 [POSIX] (ENOTCONN): Likewise.
29320 [POSIX] (ENOTSOCK): Likewise.
29321 [POSIX] (EOPNOTSUPP): Likewise.
29322 [POSIX] (EOVERFLOW): Likewise.
29323 [POSIX] (EPROTO): Likewise.
29324 [POSIX] (EPROTONOSUPPORT): Likewise.
29325 [POSIX] (EPROTOTYPE): Likewise.
29326 [POSIX] (ESTALE): Likewise.
29327 [POSIX] (ETIME): Likewise.
29328 [POSIX] (ETXTBSY): Likewise.
29329 [POSIX] (EWOULDBLOCK): Likewise.
29330 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29331 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29332 [POSIX] (SEEK_CUR): Likewise.
29333 [POSIX] (SEEK_END): Likewise.
29334 [POSIX || UNIX98] (mode_t): Do not require.
29335 [POSIX] (off_t): Likewise.
29336 [POSIX] (pid_t): Likewise.
29337 [POSIX] (sys/stat.h): Do not allow header.
29338 [POSIX] (unistd.h): Likewise.
29339 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29340 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29341 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29342 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29343 require.
29344 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29345 sigevent): Specify elements.
29346 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29347 entry.
29348 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29349 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29350
a483863f
JM
29351 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29352 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29353 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29354 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29355 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29356 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29357 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29358 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29359 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29360 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29361 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29362 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29363 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29365 Likewise.
29366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29367 Likewise.
29368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29369 Likewise.
29370 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29371 Likewise.
29372 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29373 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29374 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29375 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29377 Specify lower bound on value.
29378 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29380 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29381 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29382 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29383 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29384 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29385 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29386 value.
29387 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29388 as optional.
29389 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29390 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29391 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29392 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29393 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29394 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29399 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29401 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29402 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29403 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29404 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29405 entry.
29406 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29407 optional.
29408 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29409 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29410 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29411 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29412 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29413 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29414 Likewise.
29415 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29416 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29417 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29418 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29419 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29420 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29422 as optional.
29423 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29424 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29425 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29426 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29427 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29428 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29429 specify as optional.
29430 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29431 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29432 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29433 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29434 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29435 [XPG3] (NL_LANGMAX): Likewise.
29436 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29437 [POSIX || XPG3] (NL_NMAX): Likewise.
29438 [POSIX || XPG3] (NL_SETMAX): Likewise.
29439 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29440 [XPG3] (NZERO): Likewise.
29441 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29442 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29443 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29444 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29445 (REG_ERANGE): Expect.
29446 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29447 optional-constant.
29448 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29449 Use (void) in prototype.
29450 [POSIX] (*_t): Allow.
29451 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29452 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29453 (WRDE_BADVAL): Expect.
29454
5ba924e3
JM
29455 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29456 expect.
29457 [XPG3 || XPG4] (O_RSYNC): Likewise.
29458 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29459 Likewise.
29460 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29461 [XPG3 || XPG4] (sigqueue): Likewise.
29462 [XPG3 || XPG4] (sigtimedwait): Likewise.
29463 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29464 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29465 [XPG3 || XPG4] (vsnprintf): Likewise.
29466 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29467 Likewise.
29468 [XPG3 || XPG4] (blksize_t): Likewise.
29469 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29470 Likewise.
29471 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29472 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29473 [XPG3 || XPG4] (struct itimerspec): Likewise.
29474 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29475 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29476 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29477 [XPG3 || XPG4] (clockid_t): Likewise.
29478 [XPG3 || XPG4] (timer_t): Likewise.
29479 [XPG3 || XPG4] (clock_getres): Likewise.
29480 [XPG3 || XPG4] (clock_gettime): Likewise.
29481 [XPG3 || XPG4] (clock_settime): Likewise.
29482 [XPG3 || XPG4] (nanosleep): Likewise.
29483 [XPG3 || XPG4] (timer_create): Likewise.
29484 [XPG3 || XPG4] (timer_delete): Likewise.
29485 [XPG3 || XPG4] (timer_gettime): Likewise.
29486 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29487 [XPG3 || XPG4] (timer_settime): Likewise.
29488 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29489 [XPG3 || XPG4] (getlogin_r): Likewise.
29490 [XPG3 || XPG4] (pread): Likewise.
29491 [XPG3 || XPG4] (pthread_atfork): Likewise.
29492 [XPG3 || XPG4] (pwrite): Likewise.
29493
ee663277
JM
29494 [BZ #14835]
29495 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29496 <bits/siginfo.h>.
29497
942caa16
PT
294982012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29499
e19af380
PT
29500 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29501 finalizing MALLSTREAM.
29502
942caa16
PT
29503 * sysdeps/mach/hurd/syncfs.c: New file.
29504
cfde9b46
SP
295052012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29506
29507 [BZ #14719]
29508 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29509 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29510 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29511 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29512 (_nss_dns_gethostbyname4_r): Likewise.
29513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29514 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29515
f6da27e5
PH
295162012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29517
29518 [BZ #13763]
29519 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29520
6665d4a2
SM
295212012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29522
1f51ee92
SM
29523 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29524 * elf/cache.c (print_entry): Print ",AArch64" for
29525 FLAG_AARCH64_LIB64
29526
6665d4a2
SM
29527 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29528 * elf/cache.c (print_entry): Print ",hard-float" for
29529 FLAG_ARM_LIBHF.
29530
05b227bd
DM
295312012-11-18 David S. Miller <davem@davemloft.net>
29532
29533 With help from Joseph Myers.
29534 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29535 cutoff to 2**-13.
29536 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29537 cutoff to 2**-25.
29538 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29539 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29540 small.
29541 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29542 * math/libm-test.inc (y0_test): New tests.
29543 (y1_test): New tests.
29544 * sysdeps/i386/fpu/libm-test-ulps: Update.
29545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29547
786b0b67
AS
295482012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29549
29550 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29551 64-bit targets.
29552 * configure: Regenerated.
29553
8e18b86d
DM
295542012-11-17 David S. Miller <davem@davemloft.net>
29555
29556 [BZ #14811]
29557 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29558 nonzero exponents with absolute value below 0x1p-128 to +/-
29559 0x1p-128.
29560
531f1ae0
JM
295612012-11-17 Joseph Myers <joseph@codesourcery.com>
29562
12df29e2
JM
29563 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29564
150dc1a0
JM
29565 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29566
531f1ae0
JM
29567 * posix/getconf-speclist.c: New file.
29568 * posix/posix-envs.def: Likewise.
29569 * posix/confstr.c (START_ENV_GROUP): New macro.
29570 (END_ENV_GROUP): Likewise.
29571 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29572 (KNOWN_PRESENT_ENV_STRING): Likewise.
29573 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29574 (UNKNOWN_ENVIRONMENT): Likewise.
29575 (confstr): Include posix-envs.def instead of handling
29576 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29577 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29578 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29579 (END_ENV_GROUP): Likewise.
29580 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29581 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29582 (UNKNOWN_ENVIRONMENT): Likewise.
29583 (__sysconf): Include posix-envs.def instead of handling associated
29584 cases directly here.
29585 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29586 preprocessing getconf-speclist.c rather than running getconf or
29587 generating empty file.
29588
a93f9cbc
PT
295892012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29590
29591 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29592
d64d9f87
AL
295932012-11-16 Andrej Lajovic <natrij@gmail.com>
29594
29595 [BZ #14672]
29596 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29597
447885eb
DM
295982012-11-16 David S. Miller <davem@davemloft.net>
29599
29600 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29601 smaller than LDBL_EPSILON/2.0L, just return xm1.
29602
bcbf9830
L
296032012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29604
29605 * elf/tst-array1.c (init): Set constructor priority to 1000.
29606 (fini): Set destructor priority to 1000.
29607 * elf/tst-array2dep.c: Likewise.
29608
2b766585
SP
296092012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29610
29611 [BZ #11741]
29612 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29613 (_IO_new_file_xsputn): Also return EOF if none of the input
29614 data was written when overflow failed.
29615 * libio/iopadn.c (_IO_padn): Likewise.
29616 * libio/iowpadn.c (_IO_wpadn): Likewise.
29617 * stdio-common/tst-put-error.c: Add copyright notice.
29618 (do_test): Add case for printing padded string.
29619 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29620 _IO_padn returned error.
29621 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29622 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29623 return EOF.
29624
b1848fde
SP
296252012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29626
29627 * libio/libioP.h: Add comment note that the references to C++
29628 bits are now obsolete.
29629
2fd89785
MS
296302012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29631
29632 * math/libm-test.inc (check_complex): Use asprintf.
29633
e3ea5409
JM
296342012-11-14 Joseph Myers <joseph@codesourcery.com>
29635
29636 * debug/pcprofiledump.c (print_version): Update copyright year.
29637 * malloc/memusagestat.c (print_version): Likewise.
29638
2e64d265
L
296392012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29640
29641 [BZ #14831]
29642 * elf/Makefile (tests): Add tst-audit8.
29643 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29644 ($(objpfx)tst-audit8.out): New target.
29645 (tst-audit8-ENV): New variable.
29646 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29647 audit if l_reloc_result is NULL.
29648 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29649 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29650 * elf/tst-audit8.c: New file.
29651
c485e4d2
MS
296522012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29653
29654 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29655 * misc/Makefile (CFLAGS-select.c): Define.
29656 * posix/Makefile (CFLAGS-pause.c): Define.
29657
3a0d900a
DM
296582012-11-13 David S. Miller <davem@davemloft.net>
29659
29660 * crypt/Makefile: Move test targets after toplevel Rules
29661 inclusion. Grab any necessary sysdep routines when linking.
29662 * crypt/md5.c (md5_process_block): Remove define, we will always
29663 name it __md5_process_block.
29664 (md5_finish_ctx): Update md5_process_block call.
29665 (md5_stream): Likewise.
29666 (md5_process_bytes): Likewise.
29667 (md5_process_block): Rename to __md5_process_block and move to ...
29668 * crypt/md5-block.c: ... here.
29669 * crypt/sha256.c (sha256_process_block): Move to ...
29670 * crypt/sha256-block.c: ... here.
29671 * crypt/sha512.c (sha512_process_block): Move to ...
29672 * crypt/sha512-block.c: ... here.
29673 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29674 path.
29675 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29676 * sysdeps/sparc/sparc64/multiarch/Makefile
29677 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29678 crypt subdir.
29679 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29680 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29681 multiarch changes.
29682 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29683 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29684 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29685 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29686 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29687 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29688 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29689 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29690 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29691 file.
29692 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29693 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29694 file.
29695 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29696
8ca89318
JM
296972012-11-13 Joseph Myers <joseph@codesourcery.com>
29698
e27d476a
JM
29699 * timezone/tzselect.ksh: Update from tzcode git revision
29700 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29701 * timezone/zdump.c: Likewise.
29702 * timezone/zic.c: Likewise.
29703 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29704 in TZVERSION setting, not $(PKGVERSION).
29705 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29706 REPORT_BUGS_TO settings.
29707
8ca89318
JM
29708 [BZ #14838]
29709 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29710 macro.
29711
47594329
MS
297122012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29713
29714 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29715 detection to immediately after _FP_ROUND().
29716 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29717 bits are 0.
29718
640ac3f1
DM
297192012-11-11 David S. Miller <davem@davemloft.net>
29720
29721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29722 inttypes.h
29723 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29724 __close rather than their public counterparts.
29725
3d2577bb
JM
297262012-11-10 Joseph Myers <joseph@codesourcery.com>
29727
29728 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29729 file.
29730 [UNIX98] (sem_timedwait): Do not expect.
29731 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29732 [XPG4 || UNIX98] (sockatmark): Do not expect.
29733 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29734 (clock_getcpuclockid): Do not expect.
29735 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29736 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29737 Do not expect.
29738 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29739 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29740 [UNIX98] (vwscanf): Likewise.
29741 [UNIX98] (vswscanf): Likewise.
29742
fb1ae1ee
JM
297432012-11-09 Joseph Myers <joseph@codesourcery.com>
29744
9ec6f8bd
JM
29745 * timezone/version.h: Remove file.
29746 * timezone/README: Do not refer to version.h.
29747 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29748 $(objpfx)version.h.
29749 ($(objpfx)zdump.o): Likewise.
c3f81911 29750 ($(objpfx)version.h): New target.
9ec6f8bd 29751
0aa8f8a1
JM
29752 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29753 2012i.
29754 * timezone/README: Don't mention modification to tzselect.ksh.
29755 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29756 work on unmodified tzselect.ksh. Substitute version numbers in
29757 tzselect.ksh.
29758
4e87147f
JM
29759 * Makefile (format-me): Remove.
29760 (INSTALL): Adjust indentation. Use commands directly instead of
29761 using $(format-me).
29762
8b748aed
JM
29763 * aclocal.m4 (ACX_PKGVERSION): New macro.
29764 (ACX_BUGURL): Likewise.
29765 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29766 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29767 (REPORT_BUGS_TO): Likewise.
29768 * configure: Regenerated.
29769 * config.h.in (PKGVERSION): New macro.
29770 (REPORT_BUGS_TO): Likewise.
29771 * config.make.in (PKGVERSION): New variable.
29772 (PKGVERSION_TEXI): Likewise.
29773 (REPORT_BUGS_TO): Likewise.
29774 (REPORT_BUGS_TEXI): Likewise.
29775 * Makefile (format-me): Use -I$(common-objpfx)manual.
29776 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29777 ($(common-objpfx)manual/%): New target.
29778 (manual/%): Remove target.
29779 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29780 (print_version): Use PKGVERSION.
29781 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29782 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29783 and REPORT_BUGS_TO.
29784 ($(objpfx)xtrace): Likewise.
29785 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29786 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29787 (print_version): Use PKGVERSION.
29788 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29789 (do_version): Use PKGVERSION.
29790 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29791 REPORT_BUGS_TO.
29792 (common-ldd-rewrite): Likewise.
29793 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29794 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29795 (print_version): Use PKGVERSION.
29796 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29797 * elf/pldd.c (argp_program_bug_address): Remove variable.
29798 (more_help): New function.
29799 (argp): Use more_help.
29800 (print_version): Use PKGVERSION.
29801 * elf/sln.c (main): Use PKGVERSION.
29802 (usage): Use REPORT_BUGS_TO.
29803 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29804 (top level): Use PKGVERSION.
29805 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29806 (print_version): Use PKGVERSION.
29807 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29808 (print_version): Use PKGVERSION.
29809 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29810 (print_version): Use PKGVERSION.
29811 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29812 (print_version): Use PKGVERSION.
29813 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29814 (print_version): Use PKGVERSION.
29815 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29816 (print_version): Use PKGVERSION.
29817 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29818 and BUGURL.
29819 ($(objpfx)memusage): Likewise.
29820 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29821 (do_version): Use PKGVERSION.
29822 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29823 (print_version): Use PKGVERSION.
29824 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29825 ($PKGVERSION): New variable.
29826 ($REPORT_BUGS_TO): Likewise.
29827 (usage): Use $REPORT_BUGS_TO.
29828 (top level): Use $PKGVERSION.
29829 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29830 ($(objpfx)pkgvers.texi): New rule.
29831 ($(objpfx)stamp-pkgvers): Likewise.
29832 * manual/install.texi: Include pkgvers.texi.
29833 (--with-pkgversion): Document new configure option.
29834 (--with-bugurl): Likewise.
29835 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29836 than necessarily for this particular distribution. Use
29837 REPORT_BUGS_TO for where to report bugs.
29838 * INSTALL: Regenerated.
29839 * manual/libc.texinfo: Include pkgvers.texi.
29840 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29841 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29842 (print_version): Use PKGVERSION.
29843 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29844 (print_version): Use PKGVERSION.
29845 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29846 (print_version): Use PKGVERSION.
29847 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29848 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29849 macro.
29850 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29851 (print_version): Use PKGVERSION.
29852 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29853 (print_version): Use PKGVERSION.
29854 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29855 and PKGVERSION.
29856
92e4b6a9
JM
29857 * timezone/checktab.awk: Update from tzcode 2012i.
29858 * timezone/ialloc.c: Likewise.
29859 * timezone/private.h: Likewise.
29860 * timezone/scheck.c: Likewise.
29861 * timezone/tzfile.h: Likewise.
29862 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29863 (TZVERSION): Hardcode tzcode version number.
29864 * timezone/zdump.c: Update from tzcode 2012i.
29865 * timezone/zic.c: Likewise.
29866 * timezone/version.h: New file.
29867 * timezone/README: Describe version.h. Update upstream location.
29868
9bde902c
JM
29869 [BZ #14824]
29870 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29871 (mktemp): Enable declaration.
29872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29876 Likewise.
29877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29878 Likewise.
29879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29880 Likewise.
29881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29882 Likewise.
29883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29884 Likewise.
29885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29886 Likewise.
29887
fb1ae1ee
JM
29888 [BZ #14821]
29889 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29890 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29891 for copies of such integer values.
29892 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29893 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29894
2c1adbcb
AJ
298952012-11-09 Andreas Jaeger <aj@suse.de>
29896
29897 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29898 definitions and declarations that are provided by
29899 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29900
d0f8457e
AK
299012012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29902
3a235abb 29903 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29904 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29905 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29906 definition.
29907
57241e26
MS
299082012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29909
29910 * elf/elf.h: Update comment before AArch64 relocations.
29911
60e8270d
DM
299122012-11-07 David S. Miller <davem@davemloft.net>
29913
29914 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29915 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29916 (__start_context): Declare.
29917 (__makecontext_ret): Delete.
29918 (__makecontext): Hook up __start_context instead of
29919 __makecontext_ret.
29920 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29921 (sysdep_routines): Add __start_context when in stdlib.
29922
0fbb0fbc
JM
299232012-11-07 Joseph Myers <joseph@codesourcery.com>
29924
29925 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29926 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29927 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29928 hardcoded "nm".
29929 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29930 (READELF): New variable. Use it instead of hardcoded "readelf".
29931
eb48db7e
L
299322012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29933
29934 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29935 * sysdeps/x86/Makefile: Here.
29936 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29937 * sysdeps/x86/tst-xmmymm.sh: This.
29938
05bcf62a
JM
299392012-11-07 Joseph Myers <joseph@codesourcery.com>
29940
c4b6cf53
JM
29941 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29942 expectations.
29943 [UNIX98] (pthread_barrier_t): Do not expect.
29944 [UNIX98] (pthread_barrierattr_t): Likewise.
29945 [UNIX98] (pthread_spinlock_t): Likewise.
29946 [UNIX98] (pthread_barrier_destroy): Likewise.
29947 [UNIX98] (pthread_barrier_init): Likewise.
29948 [UNIX98] (pthread_barrier_wait): Likewise.
29949 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29950 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29951 [UNIX98] (pthread_barrierattr_init): Likewise.
29952 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29953 [UNIX98] (pthread_getcpuclockid): Likewise.
29954 [UNIX98] (pthread_mutex_timedlock): Likewise.
29955 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29956 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29957 [UNIX98] (pthread_sigmask): Likewise.
29958 [UNIX98] (pthread_spin_destroy): Likewise.
29959 [UNIX98] (pthread_spin_init): Likewise.
29960 [UNIX98] (pthread_spin_lock): Likewise.
29961 [UNIX98] (pthread_spin_trylock): Likewise.
29962 [UNIX98] (pthread_spin_unlock): Likewise.
29963 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29964 Do not expect.
29965 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29966 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29967 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29968 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29969 [XPG3 || XPG4] (pthread_key_t): Likewise.
29970 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29971 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29972 [XPG3 || XPG4] (pthread_once_t): Likewise.
29973 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29974 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29975 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29976 [XPG3 || XPG4] (pthread_t): Likewise.
29977
cbe6e120
JM
29978 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29979 not expect.
29980 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29981
1b126443
JM
29982 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29983 Change function return type to int.
29984
b961a573
JM
29985 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29986 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29987 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29988 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29989 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29990 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29991 [!POSIX] (posix_madvise): Likewise.
29992 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29993 && !UNIX98].
29994 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29995 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29996 (mode_t): Likewise.
29997 (posix_mem_offset): Likewise.
29998 (posix_typed_mem_get_info): Likewise.
29999 (posix_typed_mem_open): Likewise.
30000
9e188909
JM
30001 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30002 Change condition to [XOPEN2K8].
30003
05bcf62a
JM
30004 * conform/conformtest.pl: Preprocess allow-header data with -x c
30005 instead of from stdin.
30006 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30007 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30008 [C99-based standards] (cerfc): Likewise.
30009 [C99-based standards] (cexp2): Likewise.
30010 [C99-based standards] (cexpm1): Likewise.
30011 [C99-based standards] (clog10): Likewise.
30012 [C99-based standards] (clog1p): Likewise.
30013 [C99-based standards] (clog2): Likewise.
30014 [C99-based standards] (clgamma): Likewise.
30015 [C99-based standards] (ctgamma): Likewise.
30016 [C99-based standards] (cerff): Likewise.
30017 [C99-based standards] (cerfcf): Likewise.
30018 [C99-based standards] (cexp2f): Likewise.
30019 [C99-based standards] (cexpm1f): Likewise.
30020 [C99-based standards] (clog10f): Likewise.
30021 [C99-based standards] (clog1pf): Likewise.
30022 [C99-based standards] (clog2f): Likewise.
30023 [C99-based standards] (clgammaf): Likewise.
30024 [C99-based standards] (ctgammaf): Likewise.
30025 [C99-based standards] (cerfl): Likewise.
30026 [C99-based standards] (cerfcl): Likewise.
30027 [C99-based standards] (cexp2l): Likewise.
30028 [C99-based standards] (cexpm1l): Likewise.
30029 [C99-based standards] (clog10l): Likewise.
30030 [C99-based standards] (clog1pl): Likewise.
30031 [C99-based standards] (clog2l): Likewise.
30032 [C99-based standards] (clgammal): Likewise.
30033 [C99-based standards] (ctgammal): Likewise.
30034 * conform/data/inttypes.h-data [C99-based standards]: Include
30035 stdint.h-data. Remove all expectations for stdint.h contents.
30036 [C99-based standards] (PRI*): Do not allow.
30037 [C99-based standards] (SCN*): Likewise.
30038 [C99-based standards] (*_t): Likewise.
30039 [C99-based-standards] (PRId8): Expect macro.
30040 [C99-based-standards] (PRIi8): Likewise.
30041 [C99-based-standards] (PRIo8): Likewise.
30042 [C99-based-standards] (PRIu8): Likewise.
30043 [C99-based-standards] (PRIx8): Likewise.
30044 [C99-based-standards] (PRIX8): Likewise.
30045 [C99-based-standards] (SCNd8): Likewise.
30046 [C99-based-standards] (SCNi8): Likewise.
30047 [C99-based-standards] (SCNo8): Likewise.
30048 [C99-based-standards] (SCNu8): Likewise.
30049 [C99-based-standards] (SCNx8): Likewise.
30050 [C99-based-standards] (PRIdLEAST8): Likewise.
30051 [C99-based-standards] (PRIiLEAST8): Likewise.
30052 [C99-based-standards] (PRIoLEAST8): Likewise.
30053 [C99-based-standards] (PRIuLEAST8): Likewise.
30054 [C99-based-standards] (PRIxLEAST8): Likewise.
30055 [C99-based-standards] (PRIXLEAST8): Likewise.
30056 [C99-based-standards] (SCNdLEAST8): Likewise.
30057 [C99-based-standards] (SCNiLEAST8): Likewise.
30058 [C99-based-standards] (SCNoLEAST8): Likewise.
30059 [C99-based-standards] (SCNuLEAST8): Likewise.
30060 [C99-based-standards] (SCNxLEAST8): Likewise.
30061 [C99-based-standards] (PRIdFAST8): Likewise.
30062 [C99-based-standards] (PRIiFAST8): Likewise.
30063 [C99-based-standards] (PRIoFAST8): Likewise.
30064 [C99-based-standards] (PRIuFAST8): Likewise.
30065 [C99-based-standards] (PRIxFAST8): Likewise.
30066 [C99-based-standards] (PRIXFAST8): Likewise.
30067 [C99-based-standards] (SCNdFAST8): Likewise.
30068 [C99-based-standards] (SCNiFAST8): Likewise.
30069 [C99-based-standards] (SCNoFAST8): Likewise.
30070 [C99-based-standards] (SCNuFAST8): Likewise.
30071 [C99-based-standards] (SCNxFAST8): Likewise.
30072 [C99-based-standards] (PRId16): Likewise.
30073 [C99-based-standards] (PRIi16): Likewise.
30074 [C99-based-standards] (PRIo16): Likewise.
30075 [C99-based-standards] (PRIu16): Likewise.
30076 [C99-based-standards] (PRIx16): Likewise.
30077 [C99-based-standards] (PRIX16): Likewise.
30078 [C99-based-standards] (SCNd16): Likewise.
30079 [C99-based-standards] (SCNi16): Likewise.
30080 [C99-based-standards] (SCNo16): Likewise.
30081 [C99-based-standards] (SCNu16): Likewise.
30082 [C99-based-standards] (SCNx16): Likewise.
30083 [C99-based-standards] (PRIdLEAST16): Likewise.
30084 [C99-based-standards] (PRIiLEAST16): Likewise.
30085 [C99-based-standards] (PRIoLEAST16): Likewise.
30086 [C99-based-standards] (PRIuLEAST16): Likewise.
30087 [C99-based-standards] (PRIxLEAST16): Likewise.
30088 [C99-based-standards] (PRIXLEAST16): Likewise.
30089 [C99-based-standards] (SCNdLEAST16): Likewise.
30090 [C99-based-standards] (SCNiLEAST16): Likewise.
30091 [C99-based-standards] (SCNoLEAST16): Likewise.
30092 [C99-based-standards] (SCNuLEAST16): Likewise.
30093 [C99-based-standards] (SCNxLEAST16): Likewise.
30094 [C99-based-standards] (PRIdFAST16): Likewise.
30095 [C99-based-standards] (PRIiFAST16): Likewise.
30096 [C99-based-standards] (PRIoFAST16): Likewise.
30097 [C99-based-standards] (PRIuFAST16): Likewise.
30098 [C99-based-standards] (PRIxFAST16): Likewise.
30099 [C99-based-standards] (PRIXFAST16): Likewise.
30100 [C99-based-standards] (SCNdFAST16): Likewise.
30101 [C99-based-standards] (SCNiFAST16): Likewise.
30102 [C99-based-standards] (SCNoFAST16): Likewise.
30103 [C99-based-standards] (SCNuFAST16): Likewise.
30104 [C99-based-standards] (SCNxFAST16): Likewise.
30105 [C99-based-standards] (PRId32): Likewise.
30106 [C99-based-standards] (PRIi32): Likewise.
30107 [C99-based-standards] (PRIo32): Likewise.
30108 [C99-based-standards] (PRIu32): Likewise.
30109 [C99-based-standards] (PRIx32): Likewise.
30110 [C99-based-standards] (PRIX32): Likewise.
30111 [C99-based-standards] (SCNd32): Likewise.
30112 [C99-based-standards] (SCNi32): Likewise.
30113 [C99-based-standards] (SCNo32): Likewise.
30114 [C99-based-standards] (SCNu32): Likewise.
30115 [C99-based-standards] (SCNx32): Likewise.
30116 [C99-based-standards] (PRIdLEAST32): Likewise.
30117 [C99-based-standards] (PRIiLEAST32): Likewise.
30118 [C99-based-standards] (PRIoLEAST32): Likewise.
30119 [C99-based-standards] (PRIuLEAST32): Likewise.
30120 [C99-based-standards] (PRIxLEAST32): Likewise.
30121 [C99-based-standards] (PRIXLEAST32): Likewise.
30122 [C99-based-standards] (SCNdLEAST32): Likewise.
30123 [C99-based-standards] (SCNiLEAST32): Likewise.
30124 [C99-based-standards] (SCNoLEAST32): Likewise.
30125 [C99-based-standards] (SCNuLEAST32): Likewise.
30126 [C99-based-standards] (SCNxLEAST32): Likewise.
30127 [C99-based-standards] (PRIdFAST32): Likewise.
30128 [C99-based-standards] (PRIiFAST32): Likewise.
30129 [C99-based-standards] (PRIoFAST32): Likewise.
30130 [C99-based-standards] (PRIuFAST32): Likewise.
30131 [C99-based-standards] (PRIxFAST32): Likewise.
30132 [C99-based-standards] (PRIXFAST32): Likewise.
30133 [C99-based-standards] (SCNdFAST32): Likewise.
30134 [C99-based-standards] (SCNiFAST32): Likewise.
30135 [C99-based-standards] (SCNoFAST32): Likewise.
30136 [C99-based-standards] (SCNuFAST32): Likewise.
30137 [C99-based-standards] (SCNxFAST32): Likewise.
30138 [C99-based-standards] (PRId64): Likewise.
30139 [C99-based-standards] (PRIi64): Likewise.
30140 [C99-based-standards] (PRIo64): Likewise.
30141 [C99-based-standards] (PRIu64): Likewise.
30142 [C99-based-standards] (PRIx64): Likewise.
30143 [C99-based-standards] (PRIX64): Likewise.
30144 [C99-based-standards] (SCNd64): Likewise.
30145 [C99-based-standards] (SCNi64): Likewise.
30146 [C99-based-standards] (SCNo64): Likewise.
30147 [C99-based-standards] (SCNu64): Likewise.
30148 [C99-based-standards] (SCNx64): Likewise.
30149 [C99-based-standards] (PRIdLEAST64): Likewise.
30150 [C99-based-standards] (PRIiLEAST64): Likewise.
30151 [C99-based-standards] (PRIoLEAST64): Likewise.
30152 [C99-based-standards] (PRIuLEAST64): Likewise.
30153 [C99-based-standards] (PRIxLEAST64): Likewise.
30154 [C99-based-standards] (PRIXLEAST64): Likewise.
30155 [C99-based-standards] (SCNdLEAST64): Likewise.
30156 [C99-based-standards] (SCNiLEAST64): Likewise.
30157 [C99-based-standards] (SCNoLEAST64): Likewise.
30158 [C99-based-standards] (SCNuLEAST64): Likewise.
30159 [C99-based-standards] (SCNxLEAST64): Likewise.
30160 [C99-based-standards] (PRIdFAST64): Likewise.
30161 [C99-based-standards] (PRIiFAST64): Likewise.
30162 [C99-based-standards] (PRIoFAST64): Likewise.
30163 [C99-based-standards] (PRIuFAST64): Likewise.
30164 [C99-based-standards] (PRIxFAST64): Likewise.
30165 [C99-based-standards] (PRIXFAST64): Likewise.
30166 [C99-based-standards] (SCNdFAST64): Likewise.
30167 [C99-based-standards] (SCNiFAST64): Likewise.
30168 [C99-based-standards] (SCNoFAST64): Likewise.
30169 [C99-based-standards] (SCNuFAST64): Likewise.
30170 [C99-based-standards] (SCNxFAST64): Likewise.
30171 [C99-based-standards] (PRIdMAX): Likewise.
30172 [C99-based-standards] (PRIiMAX): Likewise.
30173 [C99-based-standards] (PRIoMAX): Likewise.
30174 [C99-based-standards] (PRIuMAX): Likewise.
30175 [C99-based-standards] (PRIxMAX): Likewise.
30176 [C99-based-standards] (PRIXMAX): Likewise.
30177 [C99-based-standards] (SCNdMAX): Likewise.
30178 [C99-based-standards] (SCNiMAX): Likewise.
30179 [C99-based-standards] (SCNoMAX): Likewise.
30180 [C99-based-standards] (SCNuMAX): Likewise.
30181 [C99-based-standards] (SCNxMAX): Likewise.
30182 [C99-based-standards] (PRIdPTR): Likewise.
30183 [C99-based-standards] (PRIiPTR): Likewise.
30184 [C99-based-standards] (PRIoPTR): Likewise.
30185 [C99-based-standards] (PRIuPTR): Likewise.
30186 [C99-based-standards] (PRIxPTR): Likewise.
30187 [C99-based-standards] (PRIXPTR): Likewise.
30188 [C99-based-standards] (SCNdPTR): Likewise.
30189 [C99-based-standards] (SCNiPTR): Likewise.
30190 [C99-based-standards] (SCNoPTR): Likewise.
30191 [C99-based-standards] (SCNuPTR): Likewise.
30192 [C99-based-standards] (SCNxPTR): Likewise.
30193 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30194 allow.
30195 * conform/data/stdint.h-data: Update comments to clarify
30196 requirements.
30197 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30198 type.
30199 [C99-based standards] (INT8_MAX): Likewise.
30200 [C99-based standards] (INT16_MIN): Likewise.
30201 [C99-based standards] (INT16_MAX): Likewise.
30202 [C99-based standards] (INT32_MIN): Likewise.
30203 [C99-based standards] (INT32_MAX): Likewise.
30204 [C99-based standards] (INT64_MIN): Likewise.
30205 [C99-based standards] (INT64_MAX): Likewise.
30206 [C99-based standards] (UINT8_MAX): Likewise.
30207 [C99-based standards] (UINT16_MAX): Likewise.
30208 [C99-based standards] (UINT32_MAX): Likewise.
30209 [C99-based standards] (UINT64_MAX): Likewise.
30210 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30211 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30212 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30213 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30214 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30215 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30216 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30217 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30218 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30219 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30220 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30221 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30222 [C99-based standards] (INT_FAST8_MIN): Likewise.
30223 [C99-based standards] (INT_FAST8_MAX): Likewise.
30224 [C99-based standards] (INT_FAST16_MIN): Likewise.
30225 [C99-based standards] (INT_FAST16_MAX): Likewise.
30226 [C99-based standards] (INT_FAST32_MIN): Likewise.
30227 [C99-based standards] (INT_FAST32_MAX): Likewise.
30228 [C99-based standards] (INT_FAST64_MIN): Likewise.
30229 [C99-based standards] (INT_FAST64_MAX): Likewise.
30230 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30231 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30232 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30233 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30234 [C99-based standards] (INTPTR_MIN): Likewise.
30235 [C99-based standards] (INTPTR_MAX): Likewise.
30236 [C99-based standards] (UINTPTR_MAX): Likewise.
30237 [C99-based standards] (INTMAX_MIN): Likewise.
30238 [C99-based standards] (INTMAX_MAX): Likewise.
30239 [C99-based standards] (UINTMAX_MAX): Likewise.
30240 [C99-based standards] (PTRDIFF_MIN): Likewise.
30241 [C99-based standards] (PTRDIFF_MAX): Likewise.
30242 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30243 [C99-based standards] (SIZE_MAX): Likewise.
30244 [C99-based standards] (WCHAR_MAX): Likewise.
30245 [C99-based standards] (WINT_MAX): Likewise.
30246 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30247 constraint on value.
30248 [C99-based standards] (WCHAR_MIN): Likewise.
30249 [C99-based standards] (WINT_MIN): Likewise.
30250 [C99-based standards] (*_t): Allow.
30251 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30252 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30253 Include math.h-data and complex.h-data. Remove all expectations
30254 of math.h and complex.h contents.
30255 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30256 at end of line.
30257 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30258 (struct tm): Expect tag.
30259 [C99-based-standards] (wcstof): Expect function.
30260 [C99-based-standards] (wcstold): Likewise.
30261 [C99-based-standards] (wcstoll): Likewise.
30262 [C99-based-standards] (wcstoull): Likewise.
30263 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30264 macro-int-constant. Specify type.
30265 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30266 constraint on value.
30267 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30268 Specify type.
30269 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30270 Specify value.
30271 [ISO C standards]: Do not allow headers.
30272 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30273 wcs[abcdefghijklmnopqrstuvwxyz]*.
30274 [ISO C standards] (*_t): Do not allow.
30275 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30276 Expect function.
30277 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30278 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30279 Specify type.
30280 [ISO C standards]: Do not allow headers.
30281 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30282 is[abcdefghijklmnopqrstuvwxyz]*.
30283 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30284 to[abcdefghijklmnopqrstuvwxyz]*.
30285 [ISO C standards] (*_t): Do not allow.
30286 * conform/data/stdalign.h-data: New file.
30287 * conform/data/stdbool.h-data: Likewise.
30288 * conform/data/stdnoreturn.h-data: Likewise.
30289
7514feb8
RM
302902012-11-07 Roland McGrath <roland@hack.frob.com>
30291
30292 [BZ #14815]
30293 * manual/filesys.texi (Directory Entries): Typo fix.
30294 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30295
19b2ecfc
MS
302962012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30297
30298 * elf/elf.h (EM_AARCH64): New macro.
30299 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30300 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30301 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30302 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30303 (R_AARCH64_TLSDESC): Likewise.
30304 (NT_ARM_TLS): Likewise.
30305 (NT_ARM_HW_BREAK): Likewise.
30306 (NT_ARM_HW_WATCH): Likewise.
30307
60e235ee
JM
303082012-11-07 Joseph Myers <joseph@codesourcery.com>
30309
30310 [BZ #14811]
30311 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30312 (__ieee754_powl): Saturate nonzero exponents with absolute value
30313 below 0x1p-79 to +/- 0x1p-79.
30314 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30315 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30316 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30317 nonzero exponents with absolute value below 0x1p-32 to +/-
30318 0x1p-32.
30319 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30320 (__ieee754_powl): Saturate nonzero exponents with absolute value
30321 below 0x1p-79 to +/- 0x1p-79.
30322 * math/libm-test.inc (pow_test): Add more tests.
30323
0ab234b7
AK
303242012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30325
30326 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30327 _dl_s390_cap_flags with kernel. Increase string length.
30328 (_dl_s390_platforms): Add z196 and zEC12.
30329
45832f74
JM
303302012-11-07 Joseph Myers <joseph@codesourcery.com>
30331
30332 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30333 Change XOPEN21K to XOPEN2K.
30334
19218757
MK
303352012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30336
30337 * string/memmove.c: Use memcpy when possible.
30338
c5f45721
AJ
303392012-11-06 Andreas Jaeger <aj@suse.de>
30340
30341 * po/eo.po: Update from translation team.
30342
82477c28
JM
303432012-11-06 Joseph Myers <joseph@codesourcery.com>
30344
30345 [BZ #14793]
30346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30347 exponent and small x and y exponents, scale x or y up. Increase
30348 by 2 the exponent used in scaling up.
30349 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30350 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30351 * math/libm-test.inc (fma_test): Add more tests.
30352 (fma_test_towardzero): Likewise.
30353 (fma_test_downward): Likewise.
30354 (fma_test_upward): Likewise.
30355
99252c8c
JM
303562012-11-05 Joseph Myers <joseph@codesourcery.com>
30357
acfa885f
JM
30358 [BZ #14805]
30359 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30360 fenv_t *.
30361
99252c8c
JM
30362 [BZ #14801]
30363 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30364 namespace for names of struct fields.
30365 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30366 fenv_t fields.
30367 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30368 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30369
d6d98dea
ST
303702012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30371
30372 [BZ #3665]
30373 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30374
e10bb107
TS
303752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30376
30377 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30378 PTR_DEMANGLE.
30379
30380 [BZ #5246]
30381 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30382 PTR_DEMANGLE.
30383
a0c2940d
JM
303842012-11-04 Joseph Myers <joseph@codesourcery.com>
30385
30386 [BZ #14797]
30387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30388 definitely overflow as x * y not x * y + z.
30389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30391 * math/libm-test.inc (fma_test): Add more tests.
30392 (fma_test_towardzero): Likewise.
30393 (fma_test_downward): Likewise.
30394 (fma_test_upward): Likewise.
30395
b830319d
TS
303962012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30397
30398 [BZ #157]
30399
30400 * include/stub-tag.h: Remove file.
30401 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30402 '#include' of it.
30403 * manual/maint.texi (Porting): Don't reference it.
30404 * Makerules ($(objpfx)stubs): Likewise.
30405 * dirent/closedir.c: Don't include <stub-tag.h>.
30406 * dirent/dirfd.c: Likewise.
30407 * dirent/fdopendir.c: Likewise.
30408 * dirent/getdents.c: Likewise.
30409 * dirent/getdents64.c: Likewise.
30410 * dirent/opendir.c: Likewise.
30411 * dirent/readdir.c: Likewise.
30412 * dirent/readdir64.c: Likewise.
30413 * dirent/readdir64_r.c: Likewise.
30414 * dirent/readdir_r.c: Likewise.
30415 * dirent/rewinddir.c: Likewise.
30416 * dirent/seekdir.c: Likewise.
30417 * dirent/telldir.c: Likewise.
30418 * gmon/profil.c: Likewise.
30419 * grp/setgroups.c: Likewise.
30420 * inet/if_index.c: Likewise.
30421 * io/access.c: Likewise.
30422 * io/chdir.c: Likewise.
30423 * io/chmod.c: Likewise.
30424 * io/chown.c: Likewise.
30425 * io/close.c: Likewise.
30426 * io/dup.c: Likewise.
30427 * io/dup2.c: Likewise.
30428 * io/dup3.c: Likewise.
30429 * io/euidaccess.c: Likewise.
30430 * io/faccessat.c: Likewise.
30431 * io/fchdir.c: Likewise.
30432 * io/fchmod.c: Likewise.
30433 * io/fchmodat.c: Likewise.
30434 * io/fchown.c: Likewise.
30435 * io/fchownat.c: Likewise.
30436 * io/fcntl.c: Likewise.
30437 * io/flock.c: Likewise.
30438 * io/fstatfs.c: Likewise.
30439 * io/fstatfs64.c: Likewise.
30440 * io/fstatvfs.c: Likewise.
30441 * io/fstatvfs64.c: Likewise.
30442 * io/futimens.c: Likewise.
30443 * io/fxstat.c: Likewise.
30444 * io/fxstat64.c: Likewise.
30445 * io/fxstatat.c: Likewise.
30446 * io/fxstatat64.c: Likewise.
30447 * io/getcwd.c: Likewise.
30448 * io/isatty.c: Likewise.
30449 * io/lchmod.c: Likewise.
30450 * io/lchown.c: Likewise.
30451 * io/link.c: Likewise.
30452 * io/linkat.c: Likewise.
30453 * io/lseek.c: Likewise.
30454 * io/lseek64.c: Likewise.
30455 * io/lxstat64.c: Likewise.
30456 * io/mkdir.c: Likewise.
30457 * io/mkdirat.c: Likewise.
30458 * io/mkfifo.c: Likewise.
30459 * io/mkfifoat.c: Likewise.
30460 * io/open.c: Likewise.
30461 * io/open64.c: Likewise.
30462 * io/openat.c: Likewise.
30463 * io/openat64.c: Likewise.
30464 * io/pipe.c: Likewise.
30465 * io/pipe2.c: Likewise.
30466 * io/poll.c: Likewise.
30467 * io/posix_fadvise.c: Likewise.
30468 * io/posix_fadvise64.c: Likewise.
30469 * io/posix_fallocate.c: Likewise.
30470 * io/posix_fallocate64.c: Likewise.
30471 * io/read.c: Likewise.
30472 * io/readlink.c: Likewise.
30473 * io/readlinkat.c: Likewise.
30474 * io/rmdir.c: Likewise.
30475 * io/sendfile.c: Likewise.
30476 * io/sendfile64.c: Likewise.
30477 * io/statfs.c: Likewise.
30478 * io/statfs64.c: Likewise.
30479 * io/statvfs.c: Likewise.
30480 * io/statvfs64.c: Likewise.
30481 * io/symlink.c: Likewise.
30482 * io/symlinkat.c: Likewise.
30483 * io/ttyname.c: Likewise.
30484 * io/ttyname_r.c: Likewise.
30485 * io/umask.c: Likewise.
30486 * io/unlink.c: Likewise.
30487 * io/unlinkat.c: Likewise.
30488 * io/utime.c: Likewise.
30489 * io/utimensat.c: Likewise.
30490 * io/write.c: Likewise.
30491 * io/xmknod.c: Likewise.
30492 * io/xmknodat.c: Likewise.
30493 * io/xstat.c: Likewise.
30494 * io/xstat64.c: Likewise.
30495 * login/getpt.c: Likewise.
30496 * login/grantpt.c: Likewise.
30497 * login/unlockpt.c: Likewise.
30498 * math/e_acoshl.c: Likewise.
30499 * math/e_acosl.c: Likewise.
30500 * math/e_asinl.c: Likewise.
30501 * math/e_atan2l.c: Likewise.
30502 * math/e_atanhl.c: Likewise.
30503 * math/e_coshl.c: Likewise.
30504 * math/e_expl.c: Likewise.
30505 * math/e_fmodl.c: Likewise.
30506 * math/e_gammal_r.c: Likewise.
30507 * math/e_hypotl.c: Likewise.
30508 * math/e_j0l.c: Likewise.
30509 * math/e_j1l.c: Likewise.
30510 * math/e_jnl.c: Likewise.
30511 * math/e_lgammal_r.c: Likewise.
30512 * math/e_log10l.c: Likewise.
30513 * math/e_log2l.c: Likewise.
30514 * math/e_logl.c: Likewise.
30515 * math/e_powl.c: Likewise.
30516 * math/e_rem_pio2l.c: Likewise.
30517 * math/e_sinhl.c: Likewise.
30518 * math/e_sqrtl.c: Likewise.
30519 * math/fclrexcpt.c: Likewise.
30520 * math/fedisblxcpt.c: Likewise.
30521 * math/feenablxcpt.c: Likewise.
30522 * math/fegetenv.c: Likewise.
30523 * math/fegetexcept.c: Likewise.
30524 * math/fegetround.c: Likewise.
30525 * math/feholdexcpt.c: Likewise.
30526 * math/fesetenv.c: Likewise.
30527 * math/fesetround.c: Likewise.
30528 * math/feupdateenv.c: Likewise.
30529 * math/fgetexcptflg.c: Likewise.
30530 * math/fraiseexcpt.c: Likewise.
30531 * math/fsetexcptflg.c: Likewise.
30532 * math/ftestexcept.c: Likewise.
30533 * math/k_cosl.c: Likewise.
30534 * math/k_rem_pio2l.c: Likewise.
30535 * math/k_sinl.c: Likewise.
30536 * math/k_tanl.c: Likewise.
30537 * math/s_asinhl.c: Likewise.
30538 * math/s_atanl.c: Likewise.
30539 * math/s_cbrtl.c: Likewise.
30540 * math/s_erfl.c: Likewise.
30541 * math/s_expm1l.c: Likewise.
30542 * math/s_log1pl.c: Likewise.
30543 * math/s_tanhl.c: Likewise.
30544 * misc/acct.c: Likewise.
30545 * misc/brk.c: Likewise.
30546 * misc/chflags.c: Likewise.
30547 * misc/chroot.c: Likewise.
30548 * misc/fchflags.c: Likewise.
30549 * misc/fgetxattr.c: Likewise.
30550 * misc/flistxattr.c: Likewise.
30551 * misc/fremovexattr.c: Likewise.
30552 * misc/fsetxattr.c: Likewise.
30553 * misc/fsync.c: Likewise.
30554 * misc/ftruncate.c: Likewise.
30555 * misc/futimes.c: Likewise.
30556 * misc/futimesat.c: Likewise.
30557 * misc/getdomain.c: Likewise.
30558 * misc/getdtsz.c: Likewise.
30559 * misc/gethostid.c: Likewise.
30560 * misc/gethostname.c: Likewise.
30561 * misc/getloadavg.c: Likewise.
30562 * misc/getpagesize.c: Likewise.
30563 * misc/getsysstats.c: Likewise.
30564 * misc/getxattr.c: Likewise.
30565 * misc/gtty.c: Likewise.
30566 * misc/ioctl.c: Likewise.
30567 * misc/lgetxattr.c: Likewise.
30568 * misc/listxattr.c: Likewise.
30569 * misc/llistxattr.c: Likewise.
30570 * misc/lremovexattr.c: Likewise.
30571 * misc/lsetxattr.c: Likewise.
30572 * misc/lutimes.c: Likewise.
30573 * misc/madvise.c: Likewise.
30574 * misc/mincore.c: Likewise.
30575 * misc/mlock.c: Likewise.
30576 * misc/mlockall.c: Likewise.
30577 * misc/mmap.c: Likewise.
30578 * misc/mprotect.c: Likewise.
30579 * misc/msync.c: Likewise.
30580 * misc/munlock.c: Likewise.
30581 * misc/munlockall.c: Likewise.
30582 * misc/munmap.c: Likewise.
30583 * misc/preadv.c: Likewise.
30584 * misc/preadv64.c: Likewise.
30585 * misc/ptrace.c: Likewise.
30586 * misc/pwritev.c: Likewise.
30587 * misc/pwritev64.c: Likewise.
30588 * misc/readv.c: Likewise.
30589 * misc/reboot.c: Likewise.
30590 * misc/remap_file_pages.c: Likewise.
30591 * misc/removexattr.c: Likewise.
30592 * misc/revoke.c: Likewise.
30593 * misc/select.c: Likewise.
30594 * misc/setdomain.c: Likewise.
30595 * misc/setegid.c: Likewise.
30596 * misc/seteuid.c: Likewise.
30597 * misc/sethostid.c: Likewise.
30598 * misc/sethostname.c: Likewise.
30599 * misc/setregid.c: Likewise.
30600 * misc/setreuid.c: Likewise.
30601 * misc/setxattr.c: Likewise.
30602 * misc/sstk.c: Likewise.
30603 * misc/stty.c: Likewise.
30604 * misc/swapoff.c: Likewise.
30605 * misc/swapon.c: Likewise.
30606 * misc/sync.c: Likewise.
30607 * misc/syncfs.c: Likewise.
30608 * misc/syscall.c: Likewise.
30609 * misc/truncate.c: Likewise.
30610 * misc/ualarm.c: Likewise.
30611 * misc/usleep.c: Likewise.
30612 * misc/ustat.c: Likewise.
30613 * misc/utimes.c: Likewise.
30614 * misc/vhangup.c: Likewise.
30615 * misc/writev.c: Likewise.
30616 * posix/_exit.c: Likewise.
30617 * posix/alarm.c: Likewise.
30618 * posix/execve.c: Likewise.
30619 * posix/fexecve.c: Likewise.
30620 * posix/fork.c: Likewise.
30621 * posix/fpathconf.c: Likewise.
30622 * posix/getaddrinfo.c: Likewise.
30623 * posix/getegid.c: Likewise.
30624 * posix/geteuid.c: Likewise.
30625 * posix/getgid.c: Likewise.
30626 * posix/getgroups.c: Likewise.
30627 * posix/getlogin.c: Likewise.
30628 * posix/getlogin_r.c: Likewise.
30629 * posix/getpgid.c: Likewise.
30630 * posix/getpid.c: Likewise.
30631 * posix/getppid.c: Likewise.
30632 * posix/getresgid.c: Likewise.
30633 * posix/getresuid.c: Likewise.
30634 * posix/getsid.c: Likewise.
30635 * posix/getuid.c: Likewise.
30636 * posix/glob64.c: Likewise.
30637 * posix/nanosleep.c: Likewise.
30638 * posix/pathconf.c: Likewise.
30639 * posix/pause.c: Likewise.
30640 * posix/posix_madvise.c: Likewise.
30641 * posix/pread.c: Likewise.
30642 * posix/pread64.c: Likewise.
30643 * posix/pwrite.c: Likewise.
30644 * posix/pwrite64.c: Likewise.
30645 * posix/sched_getaffinity.c: Likewise.
30646 * posix/sched_getp.c: Likewise.
30647 * posix/sched_gets.c: Likewise.
30648 * posix/sched_primax.c: Likewise.
30649 * posix/sched_primin.c: Likewise.
30650 * posix/sched_rr_gi.c: Likewise.
30651 * posix/sched_setaffinity.c: Likewise.
30652 * posix/sched_setp.c: Likewise.
30653 * posix/sched_sets.c: Likewise.
30654 * posix/sched_yield.c: Likewise.
30655 * posix/setgid.c: Likewise.
30656 * posix/setlogin.c: Likewise.
30657 * posix/setpgid.c: Likewise.
30658 * posix/setresgid.c: Likewise.
30659 * posix/setresuid.c: Likewise.
30660 * posix/setsid.c: Likewise.
30661 * posix/setuid.c: Likewise.
30662 * posix/sleep.c: Likewise.
30663 * posix/spawni.c: Likewise.
30664 * posix/sysconf.c: Likewise.
30665 * posix/times.c: Likewise.
30666 * posix/wait.c: Likewise.
30667 * posix/wait3.c: Likewise.
30668 * posix/wait4.c: Likewise.
30669 * posix/waitpid.c: Likewise.
30670 * resolv/gai_sigqueue.c: Likewise.
30671 * resource/getpriority.c: Likewise.
30672 * resource/getrlimit.c: Likewise.
30673 * resource/getrusage.c: Likewise.
30674 * resource/nice.c: Likewise.
30675 * resource/setpriority.c: Likewise.
30676 * resource/setrlimit.c: Likewise.
30677 * resource/ulimit.c: Likewise.
30678 * rt/aio_cancel.c: Likewise.
30679 * rt/aio_fsync.c: Likewise.
30680 * rt/aio_read.c: Likewise.
30681 * rt/aio_sigqueue.c: Likewise.
30682 * rt/aio_suspend.c: Likewise.
30683 * rt/aio_write.c: Likewise.
30684 * rt/clock_getres.c: Likewise.
30685 * rt/clock_gettime.c: Likewise.
30686 * rt/clock_nanosleep.c: Likewise.
30687 * rt/clock_settime.c: Likewise.
30688 * rt/lio_listio.c: Likewise.
30689 * rt/mq_close.c: Likewise.
30690 * rt/mq_getattr.c: Likewise.
30691 * rt/mq_notify.c: Likewise.
30692 * rt/mq_open.c: Likewise.
30693 * rt/mq_receive.c: Likewise.
30694 * rt/mq_send.c: Likewise.
30695 * rt/mq_setattr.c: Likewise.
30696 * rt/mq_timedreceive.c: Likewise.
30697 * rt/mq_timedsend.c: Likewise.
30698 * rt/mq_unlink.c: Likewise.
30699 * rt/shm_open.c: Likewise.
30700 * rt/shm_unlink.c: Likewise.
30701 * rt/timer_create.c: Likewise.
30702 * rt/timer_delete.c: Likewise.
30703 * rt/timer_getoverr.c: Likewise.
30704 * rt/timer_gettime.c: Likewise.
30705 * rt/timer_settime.c: Likewise.
30706 * setjmp/__longjmp.c: Likewise.
30707 * setjmp/setjmp.c: Likewise.
30708 * signal/kill.c: Likewise.
30709 * signal/killpg.c: Likewise.
30710 * signal/raise.c: Likewise.
30711 * signal/sigaction.c: Likewise.
30712 * signal/sigaltstack.c: Likewise.
30713 * signal/sigblock.c: Likewise.
30714 * signal/sigignore.c: Likewise.
30715 * signal/sigintr.c: Likewise.
30716 * signal/signal.c: Likewise.
30717 * signal/sigpause.c: Likewise.
30718 * signal/sigpending.c: Likewise.
30719 * signal/sigqueue.c: Likewise.
30720 * signal/sigreturn.c: Likewise.
30721 * signal/sigset.c: Likewise.
30722 * signal/sigsetmask.c: Likewise.
30723 * signal/sigstack.c: Likewise.
30724 * signal/sigsuspend.c: Likewise.
30725 * signal/sigtimedwait.c: Likewise.
30726 * signal/sigvec.c: Likewise.
30727 * signal/sigwait.c: Likewise.
30728 * signal/sigwaitinfo.c: Likewise.
30729 * signal/sysv_signal.c: Likewise.
30730 * socket/accept.c: Likewise.
30731 * socket/accept4.c: Likewise.
30732 * socket/bind.c: Likewise.
30733 * socket/connect.c: Likewise.
30734 * socket/getpeername.c: Likewise.
30735 * socket/getsockname.c: Likewise.
30736 * socket/getsockopt.c: Likewise.
30737 * socket/isfdtype.c: Likewise.
30738 * socket/listen.c: Likewise.
30739 * socket/recv.c: Likewise.
30740 * socket/recvfrom.c: Likewise.
30741 * socket/recvmsg.c: Likewise.
30742 * socket/send.c: Likewise.
30743 * socket/sendmsg.c: Likewise.
30744 * socket/sendto.c: Likewise.
30745 * socket/setsockopt.c: Likewise.
30746 * socket/shutdown.c: Likewise.
30747 * socket/sockatmark.c: Likewise.
30748 * socket/socket.c: Likewise.
30749 * socket/socketpair.c: Likewise.
30750 * stdio-common/ctermid.c: Likewise.
30751 * stdio-common/cuserid.c: Likewise.
30752 * stdio-common/remove.c: Likewise.
30753 * stdio-common/rename.c: Likewise.
30754 * stdio-common/renameat.c: Likewise.
30755 * stdio-common/tempname.c: Likewise.
30756 * stdlib/getcontext.c: Likewise.
30757 * stdlib/makecontext.c: Likewise.
30758 * stdlib/setcontext.c: Likewise.
30759 * stdlib/swapcontext.c: Likewise.
30760 * stdlib/system.c: Likewise.
30761 * streams/fattach.c: Likewise.
30762 * streams/fdetach.c: Likewise.
30763 * streams/getmsg.c: Likewise.
30764 * streams/getpmsg.c: Likewise.
30765 * streams/putmsg.c: Likewise.
30766 * streams/putpmsg.c: Likewise.
30767 * sysdeps/unix/bsd/getpt.c: Likewise.
30768 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30769 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30770 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30772 Likewise.
30773 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30774 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30775 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30776 * sysvipc/msgctl.c: Likewise.
30777 * sysvipc/msgget.c: Likewise.
30778 * sysvipc/msgrcv.c: Likewise.
30779 * sysvipc/msgsnd.c: Likewise.
30780 * sysvipc/semctl.c: Likewise.
30781 * sysvipc/semget.c: Likewise.
30782 * sysvipc/semop.c: Likewise.
30783 * sysvipc/semtimedop.c: Likewise.
30784 * sysvipc/shmat.c: Likewise.
30785 * sysvipc/shmctl.c: Likewise.
30786 * sysvipc/shmdt.c: Likewise.
30787 * sysvipc/shmget.c: Likewise.
30788 * termios/tcdrain.c: Likewise.
30789 * termios/tcflow.c: Likewise.
30790 * termios/tcflush.c: Likewise.
30791 * termios/tcgetattr.c: Likewise.
30792 * termios/tcgetpgrp.c: Likewise.
30793 * termios/tcsendbrk.c: Likewise.
30794 * termios/tcsetattr.c: Likewise.
30795 * termios/tcsetpgrp.c: Likewise.
30796 * time/adjtime.c: Likewise.
30797 * time/clock.c: Likewise.
30798 * time/getitimer.c: Likewise.
30799 * time/gettimeofday.c: Likewise.
30800 * time/setitimer.c: Likewise.
30801 * time/settimeofday.c: Likewise.
30802 * time/stime.c: Likewise.
30803 * time/time.c: Likewise.
30804
308052012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 30806
a20492cf
PT
30807 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30808 /usr/old/bin.
30809
72e182e3
PT
30810 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30811 instead of spaces.
30812 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30813
fbeafede
JM
308142012-11-03 Joseph Myers <joseph@codesourcery.com>
30815
5b5b04d6
JM
30816 [BZ #14796]
30817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30818 FE_TONEAREST before applying Dekker multiplication and Knuth
30819 addition. Clear inexact exceptions and check for exact zero
30820 results afterwards.
30821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30824 * math/libm-test.inc (fma_test): Add more tests.
30825 (fma_test_towardzero): Likewise.
30826 (fma_test_downward): Likewise.
30827 (fma_test_upward): Likewise.
30828 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30829 function.
30830 (libc_fesetround): New macro.
30831 (libc_fesetroundf): Likewise.
30832 (libc_fesetroundl): Likewise.
30833 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30834 function.
30835 (libc_fesetround_387): Likewise.
30836 (libc_fesetroundf): New macro.
30837 (libc_fesetround): Likewise.
30838 (libc_fesetroundl): Likewise.
30839 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30840 function.
30841 (libc_fesetroundf): New macro.
30842 (libc_fesetround): Likewise.
30843 (libc_fesetroundl): Likewise.
30844 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30845 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30846 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30847 libm_hidden_ver.
30848 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30849 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30850 libm_hidden_def.
30851 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30852 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30853 libm_hidden_ver.
30854 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30855 libm_hidden_def.
30856
fbeafede
JM
30857 [BZ #3439]
30858 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30859 integer constant usable in #if and use that to give value to enum
30860 constant.
30861 (FE_DIVBYZERO): Likewise.
30862 (FE_UNDERFLOW): Likewise.
30863 (FE_OVERFLOW): Likewise.
30864 (FE_INVALID): Likewise.
30865 (FE_INVALID_SNAN): Likewise.
30866 (FE_INVALID_ISI): Likewise.
30867 (FE_INVALID_IDI): Likewise.
30868 (FE_INVALID_ZDZ): Likewise.
30869 (FE_INVALID_IMZ): Likewise.
30870 (FE_INVALID_COMPARE): Likewise.
30871 (FE_INVALID_SOFTWARE): Likewise.
30872 (FE_INVALID_SQRT): Likewise.
30873 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30874 (FE_TONEAREST): Likewise.
30875 (FE_TOWARDZERO): Likewise.
30876 (FE_UPWARD): Likewise.
30877 (FE_DOWNWARD): Likewise.
30878 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30879 (FE_DIVBYZERO): Likewise.
30880 (FE_OVERFLOW): Likewise.
30881 (FE_UNDERFLOW): Likewise.
30882 (FE_INEXACT): Likewise.
30883 (FE_TONEAREST): Likewise.
30884 (FE_DOWNWARD): Likewise.
30885 (FE_UPWARD): Likewise.
30886 (FE_TOWARDZERO): Likewise.
30887 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30888 (FE_UNDERFLOW): Likewise.
30889 (FE_OVERFLOW): Likewise.
30890 (FE_DIVBYZERO): Likewise.
30891 (FE_INVALID): Likewise.
30892 (FE_TONEAREST): Likewise.
30893 (FE_TOWARDZERO): Likewise.
30894 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30895 (FE_OVERFLOW): Likewise.
30896 (FE_UNDERFLOW): Likewise.
30897 (FE_DIVBYZERO): Likewise.
30898 (FE_INEXACT): Likewise.
30899 (FE_TONEAREST): Likewise.
30900 (FE_TOWARDZERO): Likewise.
30901 (FE_UPWARD): Likewise.
30902 (FE_DOWNWARD): Likewise.
30903 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30904 (FE_DIVBYZERO): Likewise.
30905 (FE_OVERFLOW): Likewise.
30906 (FE_UNDERFLOW): Likewise.
30907 (FE_INEXACT): Likewise.
30908 (FE_TONEAREST): Likewise.
30909 (FE_DOWNWARD): Likewise.
30910 (FE_UPWARD): Likewise.
30911 (FE_TOWARDZERO): Likewise.
30912
105ca950
CM
309132012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30914
30915 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30916
a542b389
AS
309172012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30918
30919 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30920 commands. Quote $PWD.
30921 (blacklist_exports): Don't use remove_newlines. Replace "declare
30922 -x" by "export".
30923 (remove_newlines): Remove.
30924
f62c8abc
L
309252012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30926
30927 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30928 * stdlib/stdlib.h (atof): Moved to ...
30929 * include/bits/stdlib-float.h: Here. New file.
30930 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30931 * stdlib/bits/stdlib-float.h: New file.
30932 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30933 -mno-sse -mno-mmx.
30934 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30935 <xmmintrin.h>.
30936
0155d5b2
JM
309372012-11-02 Joseph Myers <joseph@codesourcery.com>
30938
a68d0680
JM
30939 * conform/conformtest.pl (@headers): Add fenv.h.
30940 * conform/data/fenv.h-data: New file.
30941 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30942 include of <math/fenv.h>.
30943
caf7f573
JM
30944 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30945 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30946 && !UNIX98]. Enables tests for XOPEN2K8.
30947 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30948 POSIX2008]: Likewise.
30949
6c073ad6
JM
30950 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30951 (struct rusage): Do not expect type or its members.
30952
0155d5b2
JM
30953 [BZ #3439]
30954 * math/math.h (FP_NAN): Define macro to integer constant usable in
30955 #if and use that to give value to enum constant.
30956 (FP_INFINITE): Likewise.
30957 (FP_ZERO): Likewise.
30958 (FP_SUBNORMAL): Likewise.
30959 (FP_NORMAL): Likewise.
30960
b5dcacb4
AS
309612012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30962
30963 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30964 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30965 arguments.
30966
f7934be8
RM
309672012-11-02 Roland McGrath <roland@hack.frob.com>
30968
30969 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30970 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30971 autoconf-time if not.
30972 * configure.in: Remove AC_PREREQ.
30973
d7d08bde
TMQMF
309742012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30975
30976 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30977 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30978 of the internal implementation.
30979
dcdae19a
JM
309802012-11-02 Joseph Myers <joseph@codesourcery.com>
30981
30982 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30983 except include of <misc/sys/syslog.h>.
30984
d6cffd3e
AS
309852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30986
30987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30988 function returns with a NULL context exit with zero.
30989
b3563932
TMQMF
309902012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30991
30992 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30993
b288a93d
L
309942012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30995
30996 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30997 (run_program_cmd): This.
30998 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30999 (tst_langinfo): New variable. Use it.
31000
a2421a68
SAS
310012012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31002
31003 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31004 floating point opcodes.
31005
6f796e1b
TS
310062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31007
7402596b
TS
31008 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31009 variable.
31010
d0d4f868
TS
31011 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31012
6f796e1b
TS
31013 * sysdeps/mach/hurd/powerpc: Remove directory.
31014 * sysdeps/mach/powerpc: Likewise.
31015
4da224a2
AS
310162012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31017
31018 * scripts/check-local-headers.sh: Ignore c++ headers.
31019
341dd673
TS
310202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31021
31022 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31023 __libc_cleanup_region_start argument.
31024
473611b2
JM
310252012-11-01 Joseph Myers <joseph@codesourcery.com>
31026
31027 [BZ #14784]
31028 [BZ #14785]
31029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31030 x * y using scaling, not as x * y + z.
31031 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31032 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31033 * math/libm-test.inc (fma_test): Add more tests.
31034 (fma_test_towardzero): Likewise.
31035 (fma_test_downward): Likewise.
31036 (fma_test_upward): Likewise.
31037
4078da3d
TS
310382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31039
31040 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31041
903252aa
JM
310422012-10-31 Joseph Myers <joseph@codesourcery.com>
31043
31044 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31045 New variable.
31046
cbc818d0
TS
310472012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31048
31049 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31050
5a03cb1e
AS
310512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31052
31053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31054 Fix sort order.
31055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31056 Likewise.
31057
90aff2ff
TMQMF
310582012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31059
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31061 Fix the order of the list for glibc 2.17.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31063 Likewise.
31064
1818fcb7
AS
310652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31066
31067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31068
ef82f4da
JM
310692012-10-31 Joseph Myers <joseph@codesourcery.com>
31070
16a0e2ec
JM
31071 [BZ #14610]
31072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31073 for low part of x being zero before using __atanl (y).
31074 * math/libm-test.inc (atan2_test): Add another test.
31075
0eb69512
JM
31076 * manual/install.texi (Configuring and compiling): Document
31077 general use of test-wrapper and test-wrapper-env.
31078 * INSTALL: Regenerated.
31079
ef82f4da
JM
31080 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31081 (__fma): Do not extract and scale down low bits on after-rounding
31082 systems when result rounded to normal precision would have normal
31083 exponent.
31084 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31085 (__fmal): Do not extract and scale down low bits on after-rounding
31086 systems when result rounded to normal precision would have normal
31087 exponent.
31088 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31089 (__fmal): Do not extract and scale down low bits on after-rounding
31090 systems when result rounded to normal precision would have normal
31091 exponent.
31092 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31093 macro.
31094 (fma_test): Add more tests.
31095 (fma_test_towardzero): Likewise.
31096 (fma_test_downward): Likewise.
31097 (fma_test_upward): Likewise.
31098
954ef0d9
L
310992012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31100
31101 * sysdeps/i386/tininess.h: Renamed to ...
31102 * sysdeps/x86/tininess.h: This.
31103 * sysdeps/x86_64/tininess.h: Removed.
31104
df61ffb2
JM
311052012-10-30 Joseph Myers <joseph@codesourcery.com>
31106
31107 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31108 input. Use $(build-program-cmd).
31109 ($(objpfx)tst-array1-static.out): Likewise.
31110 ($(objpfx)tst-array2.out): Likewise.
31111 ($(objpfx)tst-array3.out): Likewise.
31112 ($(objpfx)tst-array4.out): Likewise.
31113 ($(objpfx)tst-array5.out): Likewise.
31114 ($(objpfx)tst-array5-static.out): Likewise.
31115
01767843
CM
311162012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31117
47cc1490
CM
31118 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31119 if defined.
31120
01767843
CM
31121 * nss/nsswitch.h (nss_interface_function): Provide new
31122 macro for use with NSS functions.
31123 * grp/initgroups.c: Use new macro.
31124 * nss/getXXbyYY.c: Likewise.
31125 * nss/getXXbyYY_r.c: Likewise.
31126 * nss/getXXent.c: Likewise.
31127 * nss/getXXent_r.c: Likewise.
31128 * sysdeps/posix/getaddrinfo.c: Likewise.
31129
8321aa97
AJ
311302012-10-30 Andreas Jaeger <aj@suse.de>
31131
31132 * po/ru.po: Update Russion translation from translation project.
31133
2a27fd6d
JM
311342012-10-30 Joseph Myers <joseph@codesourcery.com>
31135
8627a232
JM
31136 [BZ #14152]
31137 [BZ #14783]
31138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31139 result and shift together with sticky bit instead of replicating
31140 round-to-nearest rounding.
31141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31142 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31143 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31144 missing underflow exceptions.
31145 (fma_test_towardzero): Add more tests.
31146 (fma_test_downward): Likewise.
31147 (fma_test_upward): Likewise.
31148
2a27fd6d
JM
31149 [BZ #14047]
31150 * sysdeps/generic/tininess.h: New file.
31151 * sysdeps/i386/tininess.h: Likewise.
31152 * sysdeps/sh/tininess.h: Likewise.
31153 * sysdeps/x86_64/tininess.h: Likewise.
31154 * stdlib/tst-strtod-underflow.c: Likewise.
31155 * stdlib/tst-tininess.c: Likewise.
31156 * stdlib/strtod_l.c: Include <tininess.h>.
31157 (round_and_return): Do not set errno for exact underflow cases.
31158 Force an underflow exception when setting errno for underflow.
31159 Determine underflow based on rounding to normal precision if
31160 TININESS_AFTER_ROUNDING.
31161 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31162 ERANGE for exact underflow cases.
31163 * stdlib/Makefile (tests): Add tst-tininess and
31164 tst-strtod-underflow.
31165 ($(objpfx)tst-tininess): Use $(link-libm).
31166 ($(objpfx)tst-strtod-underflow): Likewise.
31167
e7170363
AJ
311682012-10-30 Andreas Jaeger <aj@suse.de>
31169
e5088dc6
AJ
31170 [BZ#14767]
31171 * elf/Makefile (tests): Remove conditional for have-initfini-array
31172 since this is now always required and the variable does not exist
31173 anymore.
31174 (tests-static): Likewise.
31175 (modules-names): Likewise.
31176
e7170363 31177 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31178
31179 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31180 merged with constructor/destructor.
31181 (init_array): Likewise.
31182 * elf/tst-array2dep.c (fini_array): Likewise.
31183 (init_array): Likewise.
31184
60457d8a
MF
311852012-10-29 Mike Frysinger <vapier@gentoo.org>
31186
31187 * manual/message.texi: Delete @cartouche tags.
31188
8bece752
PT
311892012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31190
94ce799f
PT
31191 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31192 EOPNOTSUPP.
31193 * sysdeps/mach/hurd/fsync.c: Likewise.
31194
8bece752
PT
31195 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31196 [_POSIX_REALTIME_SIGNALS]: Change condition to
31197 [_POSIX_REALTIME_SIGNALS > 0].
31198
86ebe6b1
AJ
311992012-10-27 Andreas Jaeger <aj@suse.de>
31200
31201 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31202 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31204 [__WORDSIZE != 64]: Likewise.
31205
54399c08
L
312062012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31207
31208 * iconvdata/tst-table.sh: Remove ${SHELL}.
31209 * iconvdata/tst-tables.sh: Likewise.
31210
e2211bed
DM
312112012-10-25 David S. Miller <davem@davemloft.net>
31212
31213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31214 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31215 of strtoull.
31216
f303f97c
DM
31217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31218 ifunc-impl-list.c
31219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31220 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31221 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31222 file.
31223
1e9d84cd
RM
312242012-10-25 Roland McGrath <roland@hack.frob.com>
31225
31226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31227 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31228 __getdirentries.
31229
df381762
JM
312302012-10-25 Joseph Myers <joseph@codesourcery.com>
31231 Jim Blandy <jimb@codesourcery.com>
31232
31233 * scripts/cross-test-ssh.sh: New file.
31234 * manual/install.texi (Configuring and compiling): Document use of
31235 cross-test-ssh.sh.
31236 * INSTALL: Regenerated.
31237
bff64913
PT
312382012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31239
31240 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31241 EOPNOTSUPP.
31242
25fe8932
JM
312432012-10-25 Joseph Myers <joseph@codesourcery.com>
31244
31245 * Makeconfig (run-program-prefix): Fix comment.
31246
cc1290d0
JM
312472012-10-24 Joseph Myers <joseph@codesourcery.com>
31248 Jim Blandy <jimb@codesourcery.com>
31249
31250 * Makeconfig (test-wrapper): New variable,
31251 (test-wrapper-env): Likewise.
31252 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31253 (run-built-tests): Define to yes.
31254 (run-program-prefix): Use $(test-wrapper).
31255 (built-program-cmd): Likewise.
31256 * Rules (make-test-out): Use $(test-wrapper-env) and
31257 $(host-built-program-cmd).
31258 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31259 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31260 tst-pathopt.sh.
31261 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31262 $(test-wrapper-env) to tst-rtld-load-self.sh.
31263 ($(objpfx)order2.out): Use $(test-wrapper).
31264 ($(objpfx)tst-initorder.out): Likewise.
31265 ($(objpfx)tst-initorder2.out): Likewise.
31266 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31267 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31268 (test_wrapper_env): New variable. Use it to run ld.so.
31269 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31270 Use it to run ld.so.
31271 (test_wrapper_env): Likewise.
31272 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31273 $(test-wrapper) to run-iconv-test.sh.
31274 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31275 (ICONV): Use $test_wrapper.
31276 * posix/Makefile ($(objpfx)globtest.out): Pass
31277 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31278 globtest.sh, not $(run-program-prefix).
31279 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31280 (test_wrapper): Likewise.
31281 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31282 set together with run_via_rtld_prefix.
31283 (run_program_prefix): Define in terms of test_wrapper and
31284 run_via_rtld_prefix.
31285
6e6249d0
RM
312862012-10-24 Roland McGrath <roland@hack.frob.com>
31287
31288 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31289 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31290 Targets removed.
31291
31292 [BZ #14743]
31293 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31294 Declare __clock_getres, __clock_gettime, __clock_settime,
31295 __clock_nanosleep, and __clock_getcpuclockid.
31296 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31297 Remove librt_hidden_def (clock_gettime).
31298 * sysdeps/unix/clock_gettime.c: Likewise.
31299 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31301 * rt/clock_getres.c: Define __clock_getres as an alias.
31302 * sysdeps/posix/clock_getres.c: Likewise.
31303 * rt/clock_settime.c: Define __clock_settime as an alias.
31304 * sysdeps/unix/clock_settime.c: Likewise.
31305 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31306 * sysdeps/unix/clock_nanosleep.c: Likewise.
31307 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31308 * rt/clock-compat.c: New file.
31309 * rt/Makefile (librt-routines): Add clock-compat and move
31310 $(clock-routines) to ...
31311 (routines): ... here, new variable.
31312 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31313 Don't add get_clockfreq here.
31314 * rt/Versions (libc: GLIBC_2.17): New version set.
31315 Add clock_* symbols here.
31316 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31317 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31318 (GLIBC_2.17): Add clock_* symbols.
31319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31323 Likewise.
31324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31325 Likewise.
31326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31330 * NEWS: Mention the move.
31331
31332 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31333 Use __open, __read, __close rather than their public counterparts.
31334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31335 (__get_clockfreq_via_cpuinfo): Likewise.
31336 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31337 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31338
31339 * config.h.in (HAVE_IFUNC): New #undef.
31340 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31341 was successful.
31342 * configure: Regenerated.
31343
0cae3f4b
MF
313442012-10-24 Mike Frysinger <vapier@gentoo.org>
31345
31346 * configure.in: Move READELF check to start of file.
31347 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31348 libc_cv_asm_gnu_indirect_function in the process.
31349 * configure: Regenerated.
31350
8175a253
MF
313512012-10-24 Mike Frysinger <vapier@gentoo.org>
31352
31353 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31354 send the output to /dev/null.
31355 (libc_cv_cc_with_libunwind): Likewise.
31356 (libc_cv_as_noexecstack): Likewise.
31357 * configure: Regenerate.
31358
0708a7d1
JM
313592012-10-24 Joseph Myers <joseph@codesourcery.com>
31360
10b40d85
JM
31361 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31362
0708a7d1
JM
31363 * posix/globtest.sh (TMPDIR): Do not set.
31364 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31365 (testout): Likewise.
31366
9fddec1a
AJ
313672012-10-24 Andreas Jaeger <aj@suse.de>
31368
3a8db22f
AJ
31369 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31370 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31371 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31372 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31373 posix_fadvise64, posix_fallocate64.
31374
9fddec1a
AJ
31375 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31376 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31377 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31378 Likewise.
31379 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31380 Likewise.
31381 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31382
31383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31384 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31385 <bits/fcntl-linux.h>.
31386 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31387
31388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31389 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31390 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31391 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31392 [__WORDSIZE != 64]: Likewise.
31393
ebfd1bbd
JM
313942012-10-23 Joseph Myers <joseph@codesourcery.com>
31395
03ac099f
JM
31396 * Makeconfig (run-built-tests): New variable.
31397 * Rules [$(cross-compiling) = yes]: Change condition to
31398 [$(run-built-tests) = no].
31399 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31400 to [$(run-built-tests) = yes].
31401 * elf/Makefile [$(cross-compiling) = no]: Likewise
31402 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31403 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31404 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31405 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31406 * io/Makefile [$(cross-compiling) = no]: Likewise.
31407 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31408 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31409 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31410 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31411 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31412 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31413 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31414 * string/Makefile [$(cross-compiling) = no]: Likewise.
31415
ebfd1bbd
JM
31416 * posix/Makefile ($(objpfx)globtest.out): Pass
31417 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31418 $(rtld-installed-name).
31419 * posix/globtest.sh (elf_objpfx): Remove variable.
31420 (rtld_installed_name): Likewise.
31421 (library_path): Likewise.
31422 (run_program_prefix): New variable. Use for running globtest
31423 binary.
31424
166bca24
JB
314252012-10-23 Jim Blandy <jimb@codesourcery.com>
31426 Joseph Myers <joseph@codesourcery.com>
31427
31428 * Makeconfig (host-built-program-cmd): New variable.
31429 * elf/Makefile (tst-stackguard1-ARGS): Use
31430 $(host-built-program-cmd).
31431 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31432 (tst-spawn-ARGS): Likewise.
31433 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31434
88866099
JM
314352012-10-23 Joseph Myers <joseph@codesourcery.com>
31436 Jim Blandy <jimb@codesourcery.com>
31437
31438 * Makeconfig (run-via-rtld-prefix): New variable.
31439 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31440 (built-program-cmd): Likewise.
31441
b4b4c296
AJ
314422012-10-22 Andreas Jaeger <aj@suse.de>
31443
31444 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31445 __O_RSYNC if it exists, otherwise to O_SYNC.
31446
6fb54a22
JB
314472012-10-22 Jim Blandy <jimb@codesourcery.com>
31448 Joseph Myers <joseph@codesourcery.com>
31449
31450 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31451 /dev/null.
31452 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31453 from /dev/null
31454 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31455 /dev/null.
31456
481b90b9
AJ
314572012-10-22 Andreas Jaeger <aj@suse.de>
31458
2a0e2669
AJ
31459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31460 Define always.
31461 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31462
76e38f9a
AJ
31463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31464 bits/fcntl-linux.h.
31465
7cd37b43
AJ
31466 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31467 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31468
481b90b9
AJ
31469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31470 to __O_LARGEFILE.
31471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31472 to __O_LARGEFILE.
31473
aba75984
JB
314742012-10-21 Jim Blandy <jimb@codesourcery.com>
31475 Joseph Myers <joseph@codesourcery.com>
31476
31477 * config.make.in (NM): New variable.
31478
88d4247f
AJ
314792012-10-21 Andreas Jaeger <aj@suse.de>
31480
31481 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31482 definitions and declarations that are provided by
31483 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31484
f2eed205
L
314852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31486
31487 [BZ #14683]
31488 * elf/Makefile (tests-static): Add tst-leaks1-static.
31489 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31490 ($(objpfx)tst-leaks1-static): New rule.
31491 ($(objpfx)tst-leaks1-static-mem): Likewise.
31492 (tst-leaks1-static-ENV): New macro.
31493 * elf/dl-open.c (dl_open_worker): Check the main application
31494 only if SHARED is defined.
31495 * elf/tst-leaks1-static.c: New file.
31496
335e6931
AJ
314972012-10-20 Andreas Jaeger <aj@suse.de>
31498
31499 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31500 generic values for Linux.
31501 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31502 and declarations that are provided by <bits/fcntl-linux.h> and
31503 include <bits/fcntl-linux.h>.
31504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31506
ac5c94d3
RM
315072012-10-20 Roland McGrath <roland@hack.frob.com>
31508
31509 * io/fcntl.h: Move include of <bits/types.h> to the top and
31510 include it unconditionally.
31511
de54b33a
L
315122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31513
228cfb01
L
31514 * wcsmbs/Makefile (tests-ifunc): New variable.
31515 (tests): Add $(tests-ifunc).
31516 * wcsmbs/test-wcschr-ifunc.c: New file.
31517 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31518 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31519 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31520 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31521 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31522
69f07e5f
L
31523 * string/Makefile (tests-ifunc): New variable.
31524 (tests): Add $(tests-ifunc).
31525 * string/test-memccpy.c (TEST_NAME): New macro.
31526 * string/test-memchr.c (TEST_NAME): Likewise.
31527 * string/test-memcmp.c (TEST_NAME): Likewise.
31528 * string/test-memcpy.c (TEST_NAME): Likewise.
31529 * string/test-memmem.c (TEST_NAME): Likewise.
31530 * string/test-memmove.c (TEST_NAME): Likewise.
31531 * string/test-memset.c (TEST_NAME): Likewise.
31532 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31533 * string/test-stpcpy.c (TEST_NAME): Likewise.
31534 * string/test-stpncpy.c (TEST_NAME): Likewise.
31535 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31536 * string/test-strcasestr.c (TEST_NAME): Likewise.
31537 * string/test-strcat.c (TEST_NAME): Likewise.
31538 * string/test-strchr.c (TEST_NAME): Likewise.
31539 * string/test-strcmp.c(TEST_NAME): Likewise.
31540 * string/test-strcpy.c (TEST_NAME): Likewise.
31541 * string/test-strcspn.c (TEST_NAME): Likewise.
31542 * string/test-strlen.c (TEST_NAME): Likewise.
31543 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31544 * string/test-strncmp.c (TEST_NAME): Likewise.
31545 * string/test-strncpy.c (TEST_NAME): Likewise.
31546 * string/test-strnlen.c (TEST_NAME): Likewise.
31547 * string/test-strpbrk.c (TEST_NAME): Likewise.
31548 * string/test-strrchr.c (TEST_NAME): Likewise.
31549 * string/test-strspn.c (TEST_NAME): Likewise.
31550 * string/test-strstr.c (TEST_NAME): Likewise.
31551 * string/test-bcopy-ifunc.c: New file.
31552 * string/test-bzero-ifunc.c: Likewise.
31553 * string/test-memccpy-ifunc.c: Likewise.
31554 * string/test-memchr-ifunc.c: Likewise.
31555 * string/test-memcmp-ifunc.c: Likewise.
31556 * string/test-memcpy-ifunc.c: Likewise.
31557 * string/test-memmem-ifunc.c: Likewise.
31558 * string/test-memmove-ifunc.c: Likewise.
31559 * string/test-mempcpy-ifunc.c: Likewise.
31560 * string/test-memset-ifunc.c: Likewise.
31561 * string/test-rawmemchr-ifunc.c: Likewise.
31562 * string/test-stpcpy-ifunc.c: Likewise.
31563 * string/test-stpncpy-ifunc.c: Likewise.
31564 * string/test-strcasecmp-ifunc.c: Likewise.
31565 * string/test-strcasestr-ifunc.c: Likewise.
31566 * string/test-strcat-ifunc.c: Likewise.
31567 * string/test-strchr-ifunc.c: Likewise.
31568 * string/test-strchrnul-ifunc.c: Likewise.
31569 * string/test-strcmp-ifunc.c: Likewise.
31570 * string/test-strcpy-ifunc.c: Likewise.
31571 * string/test-strcspn-ifunc.c: Likewise.
31572 * string/test-strlen-ifunc.c: Likewise.
31573 * string/test-strncasecmp-ifunc.c: Likewise.
31574 * string/test-strncat-ifunc.c: Likewise.
31575 * string/test-strncmp-ifunc.c: Likewise.
31576 * string/test-strncpy-ifunc.c: Likewise.
31577 * string/test-strnlen-ifunc.c: Likewise.
31578 * string/test-strpbrk-ifunc.c: Likewise.
31579 * string/test-strrchr-ifunc.c: Likewise.
31580 * string/test-strspn-ifunc.c: Likewise.
31581 * string/test-strstr-ifunc.c: Likewise.
31582
de54b33a
L
31583 * debug/Makefile (tests-ifunc): New variable.
31584 (tests): Add $(tests-ifunc).
31585 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31586 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31587 * debug/test-stpcpy_chk-ifunc.c: New file.
31588 * debug/test-strcpy_chk-ifunc.c: Likewise.
31589
88481c16
SP
315902012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31591
31592 [BZ #13601]
31593 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31594 header is not read in.
31595
135948bd
JM
315962012-10-19 Joseph Myers <joseph@codesourcery.com>
31597
89f1c388
JM
31598 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31599 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31600 directly. Pass built executable to script as
31601 $(built-program-cmd).
31602 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31603 $testprogram without using LD_LIBRARY_PATH and $ldso.
31604
e40a0d21
JM
31605 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31606 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31607 $(rtld-installed-name).
31608 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31609 (rtld_installed_name): Likewise.
31610 (library_path): Likewise.
31611 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31612 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31613 $(run-program-prefix) to tst-tables.sh.
31614 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31615 it to run tst-table-from and tst-table-to.
31616 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31617 Pass it to tst-table.sh.
31618 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31619 $(run-program-prefix) to tst-gettext.sh.
31620 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31621 tst-translit.sh.
31622 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31623 tst-gettext2.sh.
31624 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31625 to run tst-gettext.
31626 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31627 to run tst-gettext2.
31628 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31629 to run tst-translit.
31630 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31631 $(run-program-prefix) to tst-mtrace.sh.
31632 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31633 to run tst-mtrace.
31634 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31635 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31636 $(rtld-installed-name).
31637 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31638 (rtld_installed_name): Likewise.
31639 (run_program_prefix): New variable. Use it to run wordexp-test.
31640
728e272a
JM
31641 * Makeconfig (ARCH): Remove all definitions.
31642 (machine): Likewise.
31643 [ARCH]: Remove conditional code.
31644 [!objdir]: Give error.
31645 [!objdir] (objpfx): Remove.
31646 [!objdir] (common-objpfx): Likewise.
31647 [!objdir] (common-objdir): Likewise.
31648 * configure.in (config_makefile): Remove. Hardcode Makefile in
31649 AC_CONFIG_FILES call.
31650 * configure: Regenerated.
31651
d528cdcf
JM
31652 [BZ #13888]
31653 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31654 or TMPDIR.
31655 (testout): Likewise.
31656
135948bd
JM
31657 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31658 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31659 $(rtld-installed-name).
31660 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31661 (rtld_installed_name): Likwise.
31662 (runit): Remove function.
31663 (run_getconf): New variable, Use it for running getconf binary.
31664
38c78296
L
316652012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31666
31667 [BZ #14716]
31668 * string/test-memmem.c (check_result): New function.
31669 (do_one_test): Use it.
31670 (check1): New function.
31671 (test_main): Use it.
31672
d077f65f
MT
316732012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31674
31675 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31676
ced52c71
JM
316772012-10-18 Joseph Myers <joseph@codesourcery.com>
31678
31679 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31680 (_G_LSEEK64): Likewise.
31681 (_G_MMAP64): Likewise.
31682 (_G_FSTAT64): Likewise.
31683 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31684 (_G_LSEEK64): Likewise.
31685 (_G_MMAP64): Likewise.
31686 (_G_FSTAT64): Likewise.
31687 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31688 unconditional. Call __mmap64 directly.
31689 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31690 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31691 __lseek64 directly.
31692 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31693 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31694 __mmap64 directly.
31695 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31696 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31697 __lseek64 directly.
31698 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31699 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31700 __lseek64 directly.
31701 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31702 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31703 __lseek64 directly.
31704 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31705 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31706 __fxstat64 directly.
31707 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31708 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31709 unconditional.
31710 (freopen64) [!_G_OPEN64]: Remove conditional code.
31711 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31712 unconditional.
31713 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31714 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31715 unconditional.
31716 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31717 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31718 unconditional.
31719 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31720 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31721 unconditional.
31722 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31723 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31724 unconditional.
31725 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31726 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31727 unconditional.
31728 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31729 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31730 unconditional.
31731 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31732
b741de23
SP
317332012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31734
31735 [BZ #12140]
31736 * manual/memory.texi (Malloc Tunable Parameters): Add note
31737 about free list pointers overwriting some perturb bytes.
31738 Wording suggested by Roland McGrath.
31739
f9b9d9c9
JM
317402012-10-17 Joseph Myers <joseph@codesourcery.com>
31741
31742 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31743 (lgamma_test): Likewise.
31744 (tgamma_test): Likewise.
31745
172a631a
FW
317462012-10-16 Florian Weimer <fweimer@redhat.com>
31747
31748 [BZ #14700]
31749 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31750 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31751
e9f37252
MK
317522012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31753
31754 * NEWS: Mention BZ #14716.
31755 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31756 when removing AVAILABLE1_USES_J macro.
31757
d394eb74
L
317582012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31759
31760 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31761 (__bswap_64): __uint64_t for unsigned 64-bit int.
31762
ca38dc17
AS
317632012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31764
31765 * include/string.h (memmem): Declare libc hidden alias.
31766 * string/memmem.c (memmem): Define libc hidden alias.
31767 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31768 __read, __close instead of open, read, close.
31769
9a387d1f
L
317702012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31771
ac49ecaf
L
31772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31773 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31774 global and hidden.
31775 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31776 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31777 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31778 Likewise.
31779 (__rawmemchr_sse2): Likewise.
31780 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31781 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31782 (__strchr_sse2): Likewise.
31783 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31784 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31785 (__strcasecmp_sse2): Likewise.
31786 (__strncasecmp_sse2): Likewise.
31787 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31788 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31789 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31790 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31791 (__strrchr_sse2): Likewise.
31792 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31793 ifunc-impl-list.c.
31794 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31795 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31796 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31797 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31798 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31799 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31800 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31801 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31802 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31803 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31804 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31805 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31806 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31807 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31808 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31809 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31810 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31811 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31812 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31813 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31814 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31815 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31816 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31817 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31818 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31819 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31820 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31821 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31822 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31823 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31824
b090e8ea
L
31825 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31826 global and hidden.
31827 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31828 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31829 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31830 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31831 Likewise.
31832 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31833 Likewise.
31834 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31835 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31836 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31837 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31838 ifunc-impl-list.c.
31839 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31840 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31841 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31842 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31843 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31844 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31845 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31846 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31847 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31848 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31849 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31850 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31851 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31852 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31853 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31854 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31855 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31856 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31857 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31858 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31859 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31860 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31861 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31862 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31863 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31864 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31865 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31866 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31867 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31868 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31869 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31870 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31871 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31872 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31873 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31874 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31875 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31876 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31877 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31878 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31879 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31880
11dd4af6
L
31881 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31882 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31883 * include/ifunc-impl-list.h: New file.
31884 * misc/ifunc-impl-list.c: Likewise.
31885 * misc/Makefile (routines): Add ifunc-impl-list.
31886 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31887 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31888 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31889 TEST_NAME]: New variables.
11dd4af6
L
31890 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31891 are defined.
31892 (test_init): Call __libc_ifunc_impl_list to initialize
31893 func_list if TEST_IFUNC and TEST_NAME are defined.
31894
9a387d1f
L
31895 * string/Makefile (strop-tests): Add bcopy and bzero.
31896 * string/test-bcopy.c: New file.
31897 * string/test-bzero.c: Likewise.
31898 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31899 defined.
31900 * string/test-memset.c: Support bzero test if TEST_BZERO is
31901 defined.
31902 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31903 __libc_memmove.
31904 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31905 __libc_memset.
31906 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31907 of memset.
31908
472371b9
JM
319092012-10-10 Joseph Myers <joseph@codesourcery.com>
31910
1e4a9536
JM
31911 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31912 * configure: Regenerated.
31913
d173d12e
JM
31914 * Makeconfig (+link-static-before-libc): Don't include
31915 $(link-static-libc).
31916
472371b9
JM
31917 * libio/libio.h (_IO_pos_t): Remove.
31918
89a3ad0b
AO
319192012-10-10 Alexandre Oliva <aoliva@redhat.com>
31920
31921 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31922 McGrath.
31923
e7451425
AO
319242012-10-10 Alexandre Oliva <aoliva@redhat.com>
31925
31926 * crypt/crypt-entry.c: Include fips-private.h.
31927 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31928 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31929 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31930 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31931
4ba74a35
AO
319322012-10-10 Alexandre Oliva <aoliva@redhat.com>
31933
31934 * crypt/crypt-private.h: Include stdbool.h.
31935 (_ufc_setup_salt_r): Return bool.
31936 * crypt/crypt-entry.c: Include errno.h.
31937 (__crypt_r): Return NULL with EINVAL for bad salt.
31938 * crypt/crypt_util.c (bad_for_salt): New.
31939 (_ufc_setup_salt_r): Check that salt is long enough and within
31940 the specified alphabet.
31941 * crypt/badsalttest.c: New file.
31942 * crypt/Makefile (tests): Add it.
31943 ($(objpfx)badsalttest): New.
31944
f96f1242
MK
319452012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31946
31947 * NEWS: Add entry for BZ #14602.
31948
0e8e0c1c
JM
319492012-10-09 Joseph Myers <joseph@codesourcery.com>
31950
31951 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31952 type-generic.
31953 * math/libm-test.inc: Update comment listing what functions and
31954 macros are tested.
31955 (isgreater_test): New function.
31956 (isgreaterequal_test): Likewise.
31957 (isless_test): Likewise.
31958 (islessequal_test): Likewise.
31959 (islessgreater_test): Likewise.
31960 (isunordered_test): Likewise.
31961 (main): Call the new functions.
31962
273edc5e
RM
319632012-10-09 Roland McGrath <roland@hack.frob.com>
31964
b8493de0
RM
31965 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31966 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31967 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31968 * sysdeps/i386/configure: Regenerated.
31969 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31970 * sysdeps/mach/configure: Regenerated.
31971 * sysdeps/mach/hurd/configure: Regenerated.
31972 * sysdeps/powerpc/configure: Regenerated.
31973 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31974 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31975 * sysdeps/s390/s390-32/configure: Regenerated.
31976 * sysdeps/s390/s390-64/configure: Regenerated.
31977 * sysdeps/sh/configure: Regenerated.
31978 * sysdeps/sparc/configure: Regenerated.
31979 * sysdeps/unix/sysv/linux/configure: Regenerated.
31980 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31981 * sysdeps/x86_64/configure: Regenerated.
31982
273edc5e
RM
31983 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31984 defined. Don't check if MAP is NULL.
31985
c8450f70
JM
319862012-10-09 Joseph Myers <joseph@codesourcery.com>
31987
31988 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31989 (_G_stat64): Likewise.
31990 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31991 (_G_stat64): Likewise.
31992 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31993 instead of struct _G_stat64.
31994 * libio/fileops.c (mmap_remap_check): Likewise.
31995 (decide_maybe_mmap): Likewise.
31996 (_IO_new_file_seekoff): Likewise.
31997 (_IO_file_stat): Likewise.
31998 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31999 _G_off64_t.
32000 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32001 instead of struct _G_stat64.
32002 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32003
57e605ba
MK
320042012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32005
32006 [BZ #14602]
32007 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32008 Replace with ...
32009 (CHECK_EOL): New macro.
32010 (two_way_short_needle): Check beginning of haystack for EOL. Use
32011 CHECK_EOL.
32012 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32013 Replace with CHECK_EOL.
32014 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32015 Replace with CHECK_EOL.
32016
ef1bb361
JM
320172012-10-08 Joseph Myers <joseph@codesourcery.com>
32018
32019 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32020 type-generic.
32021 * math/libm-test.inc: Update comment listing what functions and
32022 macros are tested.
32023 (finite_test): New function.
32024 (isinf_test): Likewise.
32025 (isnan_test): Likewise.
32026 (fpclassify_test): Test subnormal input.
32027 (isfinite_test): Likewise.
32028 (isnormal_test): Likewise.
32029 (main): Call the new functions.
32030
55f11534
JN
320312012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32032
32033 [BZ #14660]
32034 * Makerules (%.dynsym): Force C locale when running
32035 $(OBJDUMP) --dynamic-syms.
32036
1ab29350
AS
320372012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32038
32039 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32040 <stdint.h>.
32041
f1ecb7ef
DM
320422012-10-06 David S. Miller <davem@davemloft.net>
32043
32044 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32045 upper 32-bits of the length value in %o2 since we use branch-on-register
32046 tests which consider the entire 64-bit register.
32047
5d41d91a
L
320482012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32049
32050 * string/test-strstr.c (check2): Add a test for page boundary.
32051
3baddb72
DM
320522012-10-05 David S. Miller <davem@davemloft.net>
32053
32054 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32055 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32056 file.
32057 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32058 sysdep_routines.
32059 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32060 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32061 and bzero when HWCAP_SPARC_CRYPTO is present.
32062
9cee5585
L
320632012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32064
d7e0dab9
L
32065 [BZ #14602]
32066 * string/test-strstr.c (check2): New function.
32067 (test_main): Call check2.
32068
03759f47
L
32069 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32070 and bug-strchr1.
32071 * string/bug-strcasestr1.c (do_test): Moved to ...
32072 * string/test-strcasestr.c (check1): Here. New function.
32073 (do_one_test): Break out result checking code into ...
32074 (check_result): This. New function.
32075 (do_one_test): Call check_result.
32076 (test_main): Call check1.
32077 * string/bug-strchr1.c (do_test): Moved to ...
32078 * string/test-strchr.c (check1): Here. New function.
32079 (do_one_test): Break out result checking code into ...
32080 (check_result): This. New function.
32081 (do_one_test): Call check_result.
32082 (test_main): Call check1.
32083 * string/bug-strstr1.c (main): Moved to ...
046f153e 32084 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32085 (do_one_test): Break out result checking code into ...
32086 (check_result): This. New function.
32087 (do_one_test): Call check_result.
32088 (test_main): Call check1.
32089 * string/bug-strcasestr1.c: Removed.
32090 * string/bug-strchr1.c: Likewise.
32091 * string/bug-strstr1.c: Likewise.
32092
53cea63e
L
32093 * elf/Makefile (dl-routines): Add hwcaps.
32094 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32095 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32096 (_dl_important_hwcaps): Moved to ...
32097 * elf/dl-hwcaps.c: Here. New file.
32098 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32099
9cee5585 32100 [BZ #14557]
bb859b06
L
32101 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32102 if IS_IN_rtld isn't defined.
32103
9cee5585
L
32104 * elf/dl-support.c (_dl_sysinfo_map): New.
32105 Include "get-dynamic-info.h" and "setup-vdso.h".
32106 (_dl_non_dynamic_init): Call setup_vdso.
32107 * elf/dynamic-link.h: Don't include <assert.h>.
32108 (elf_get_dynamic_info): Moved to ...
32109 * elf/get-dynamic-info.h: Here. New file.
32110 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32111 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32112 * elf/setup-vdso.h: Here. New file.
32113 * elf/rtld.c: Include "setup-vdso.h".
32114 (dl_main): Call setup_vdso.
32115
23c31b76
JM
321162012-10-05 Joseph Myers <joseph@codesourcery.com>
32117
28234b07
JM
32118 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32119 creal in comment listing functions tested. List finite, isinf,
32120 isnan, isless, islessequal, isgreater, isgreaterequal,
32121 islessgreater, isunordered, lgamma_r and pow10 as functions and
32122 macros not tested. Mention which functions not tested are aliases
32123 for other functions. Fix typo. Note that signs of NaNs are not
32124 tested.
32125
23c31b76
JM
32126 * scripts/config.guess: Update from config.git.
32127 * scripts/config.sub: Likewise.
32128
9043e228
RM
321292012-10-04 Roland McGrath <roland@hack.frob.com>
32130
32131 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32132 * misc/madvise.c (madvise): Renamed to __madvise.
32133 Make madvise a weak alias.
32134 * include/sys/mman.h: Declare __madvise.
32135 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32136 * sysdeps/unix/syscalls.list
32137 (madvise): Make __madvise the strong name, and madvise a weak alias.
32138 * sysdeps/unix/sysv/linux/syscalls.list
32139 (madvise, mmap): Remove redundant entries.
32140 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32141 * malloc/malloc.c (mtrim): Likewise.
32142 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32143
f57f8055
RM
321442012-10-03 Roland McGrath <roland@hack.frob.com>
32145
32146 * sysdeps/mach/hurd/dl-cache.c: File removed.
32147 * config.h.in (USE_LDCONFIG): New #undef.
32148 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32149 * configure: Regenerated.
32150 * elf/Makefile (dl-routines): Add dl-cache only under
32151 [$(use-ldconfig) = yes].
32152 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32153 cache on [USE_LDCONFIG].
32154 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32155 [USE_LDCONFIG].
32156 * elf/rtld.c (dl_main): Likewise.
32157
5bb0c10a
PT
321582012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32159
32160 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32161 _SC_LEVEL4_CACHE_LINESIZE.
32162
010188c6
RM
321632012-10-03 Roland McGrath <roland@hack.frob.com>
32164
32165 * sysdeps/unix/bsd/confstr.h: File removed.
32166
b6c5ec07
AO
321672012-10-02 Alexandre Oliva <aoliva@redhat.com>
32168
32169 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32170 sys/sdt-config.h.
32171
408223d4
RM
321722012-10-02 Roland McGrath <roland@hack.frob.com>
32173
32174 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32175 Make 'mapoff' field ElfW(Off) rather than off_t.
32176
bb9510dc
DL
321772012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32178
fc997c6e
DL
32179 * nscd/Makefile: Remove nscd-cflags and all its users.
32180 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32181 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32182
bb9510dc
DL
32183 [BZ #10631]
32184 * malloc.c (malloc_printerr): Clarify error message.
32185
05699367
L
321862012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32187
32188 [BZ #14648]
32189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32190 Set bit_FMA_Usable if FMA is supported.
32191 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32192 macro.
32193 (bit_FMA4_Usable): Updated.
32194 (index_FMA_Usable): New macro.
32195 (CPUID_FMA): Likewise
32196 (HAS_FMA): Defined with bit_FMA_Usable.
32197
51367701
RM
321982012-10-01 Roland McGrath <roland@hack.frob.com>
32199
32200 * bits/types.h (__swblk_t): Type removed.
32201 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32202 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32204 (__SWBLK_T_TYPE): Likewise.
32205 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32206 (__SWBLK_T_TYPE): Likewise.
32207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32208 (__SWBLK_T_TYPE): Likewise.
32209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32210 (__SWBLK_T_TYPE): Likewise.
32211
4d57bf63 322122012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32213 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32214
32215 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32216 (xdr_mapname): Use YPMAXMAP as maxsize.
32217 (xdr_peername): Use YPMAXPEER as maxsize.
32218 (xdr_keydat): Use YPAXRECORD as maxsize.
32219 (xdr_valdat): Use YPMAXRECORD as maxsize.
32220
93c65d43
RM
322212012-10-01 Roland McGrath <roland@hack.frob.com>
32222
497a03d6
RM
32223 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32224
93c65d43
RM
32225 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32226 * csu/init-first.c: ... here.
32227 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32228 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32229 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32230 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32231 * sysdeps/i386/init-first.c: File removed.
32232 * sysdeps/sh/init-first.c: File removed.
32233
bec749fd
JM
322342012-10-01 Joseph Myers <joseph@codesourcery.com>
32235
32236 [BZ #14645]
32237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32238 if x * y might underflow to zero and z is zero.
32239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32240 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32241 * math/libm-test.inc (min_subnorm_value): New variable.
32242 (fma_test): Add more tests.
32243 (fma_test_towardzero): Likewise.
32244 (fma_test_downward): Likewise
32245 (fma_test_upward): Likewise.
32246 (initialize): Set min_subnorm_value.
32247
8ec5b013
JM
322482012-09-29 Joseph Myers <joseph@codesourcery.com>
32249
32250 [BZ #14638]
32251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32252 0 + 0.
32253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32254 mode for addition resulting in exact zero.
32255 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32257 exact 0 + 0.
32258 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32260 * math/libm-test.inc (fma_test): Add more tests.
32261 (fma_test_towardzero): New function.
32262 (fma_test_downward): Likewise.
32263 (fma_test_upward): Likewise.
32264 (main): Call the new functions.
32265
b1fa802e
DM
322662012-09-28 David S. Miller <davem@davemloft.net>
32267
32268 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32269
d3b9fd9e
RM
322702012-09-28 Roland McGrath <roland@hack.frob.com>
32271
ea4d37b3
RM
32272 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32273 instead of SIGALRM.
32274
ac51c949
RM
32275 * sysdeps/gnu/_G_config.h: Moved to ...
32276 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32277 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32278 * sysdeps/generic/_G_config.h: ... here.
32279
28c195f7
RM
32280 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32281
848917f9
RM
32282 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32283
6bacf05b
RM
32284 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32285 Conditionalize target on [libnss_test1.so-version].
32286
91363dbb
RM
32287 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32288
cc87f7d8
RM
32289 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32290 (elfobjdir): Move out of conditionals.
32291
b1c608fe
RM
32292 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32293 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32294 (__nss_lookup_function): Conditionalize label remove_from_tree on
32295 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32296
1d9a6d96
DM
322972012-09-28 David S. Miller <davem@davemloft.net>
32298
32299 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32300 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32301 file.
32302 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32303 sysdep_routines.
32304 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32306 when HWCAP_SPARC_CRYPTO is present.
32307
72581615
PT
323082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32309
32310 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32311
715a900c
JL
323122012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32313
32314 [BZ #6530]
32315 * stdio-common/vfprintf.c (process_string_arg): Revert
32316 2000-07-22 change.
32317
323182011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32319
32320 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32321 for testcase.
32322 * stdio-common/tst-sprintf.c: Include <locale.h>
32323 (main): Test sprintf's handling of incomplete multibyte
32324 characters.
32325
9bac1d86
L
323262012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32327
32328 * elf/dl-runtime.c (VERSYMIDX): Removed.
32329 * elf/dl-version.c (VERSYMIDX): Likewise.
32330 * elf/do-rel.h (VERSYMIDX): Likewise.
32331 (VALIDX): Likewise.
32332 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32333 * elf/rtld.c (VALIDX): Likewise.
32334 (ADDRIDX): Likewise.
9bac1d86
L
32335 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32336 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32337 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32338 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32339 (VALIDX): Likewise.
32340 (ADDRIDX): Likewise.
9bac1d86 32341
b31606c0
PT
323422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32343
32344 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32345
11541177
JL
323462012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32347
32348 [BZ #11438]
32349 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32350 to global scope.
32351 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32352 addresses are in the same scope as 192.0.2/24.
32353 * posix/gai.conf: Document new scope table defaults.
32354
adb26fae
SP
323552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32356
32357 [BZ #5298]
32358 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32359 for ftell. Compute offsets from write pointers instead.
32360 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32361
4573c6b0
SP
323622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32363
32364 [BZ #14543]
32365 * libio/Makefile (tests): New test case tst-fseek.
32366 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32367 combination works in wide mode.
32368 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32369 state when the external buffer state changes.
32370
aa9bbfe6
DM
323712012-09-27 David S. Miller <davem@davemloft.net>
32372
32373 [BZ #14376]
32374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32375 pass reloc->r_addend in as the 'high' argument to
32376 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32377
784421e7
DM
32378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32379
c39bc8b8
PT
323802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32381
32382 * rt/tst-aio2.c: Include <pthread.h>.
32383 * rt/tst-aio3.c: Likewise.
32384
1ccc2399
SE
323852012-09-27 Steve Ellcey <sellcey@mips.com>
32386
32387 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32388
31ed4153
L
323892012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32390
25f5f885
L
32391 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32392 contents on [SHARED].
31ed4153 32393
b7bfe116
MP
323942012-09-26 Marek Polacek <polacek@redhat.com>
32395
32396 [BZ #14530]
32397 [BZ #13741]
32398 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32399 for C++ and GCC <4.3 as well as for non GCC compilers.
32400
43c4edba
MT
324012012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32402
32403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32404
6a1bf82f
RM
324052012-09-25 Roland McGrath <roland@hack.frob.com>
32406
32407 * Makefile.in (all, install): Declare with .PHONY.
32408 Reported by Michael Hope <michael.hope@linaro.org>.
32409
8ad11b9a
TMQMF
324102012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32411
32412 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32413 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32414 system header.
32415 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32416 Likewise.
32417 (sydep_routines): Add the new and the internal functions.
32418 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32419 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32421 (GLIBC_2.17): Add the new function.
32422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32423 (GLIBC_2.17): Likewise.
32424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32425 (GLIBC_2.17): Likewise.
32426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32427 (GLIBC_2.17): Likewise.
32428 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32429
7e2fca8d
AM
324302012-09-25 Alan Modra <amodra@gmail.com>
32431
32432 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32433 Add release barrier before setting once_control to say
32434 initialisation is done. Add hints on lwarx. Use macro in
32435 place of isync.
32436 (clear_once_control): Add release barrier.
32437
b87c4b24
JM
324382012-09-25 Joseph Myers <joseph@codesourcery.com>
32439
d032e0d2
JM
32440 [BZ #13629]
32441 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32442 specially.
32443 * math/s_clog10.c (__clog10): Likewise.
32444 * math/s_clog10f.c (__clog10f): Likewise.
32445 * math/s_clog10l.c (__clog10l): Likewise.
32446 * math/s_clogf.c (__clogf): Likewise.
32447 * math/s_clogl.c (__clogl): Likewise.
32448 * math/Makefile (libm-calls): Add x2y2m1.
32449 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32450 (__x2y2m1): Likewise.
32451 (__x2y2m1l): Likewise.
32452 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32453 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32454 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32455 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32456 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32457 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32458 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32459 * sysdeps/i386/fpu/libm-test-ulps: Update.
32460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32461
b87c4b24
JM
32462 [BZ #14621]
32463 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32464 int as type of variable DEPTH.
32465 (glob): Use size_t instead of int as type of variables NEWCOUNT
32466 and OLD_PATHC.
32467
6d3bf199
LD
324682012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32469
22bf5c17
LD
32470 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32471 Add s_sincosf-sse2.
32472 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32473 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32474 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32475 macros for using routine as __sincosf_ia32.
32476 Use macro for function declaration and weak_alias.
32477 * sysdeps/i386/fpu/libm-test-ulps: Update.
32478
32479 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32481
32482 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32483 subnormal argument.
32484 * math/s_cexpf.c (__cexpf): Likewise.
32485 * math/s_csinf.c (__csinf): Likewise.
32486 * math/s_csinhf.c (__csinhf): Likewise.
32487 * math/s_ctanf.c (__ctanf): Likewise.
32488 * math/s_ctanhf.c (__ctanhf): Likewise.
32489 * math/s_ccosh.c (__ccoshf): Likewise.
32490 * math/s_cexp.c (__cexpl): Likewise.
32491 * math/s_csin.c (__csin): Likewise.
32492 * math/s_csinh.c (__csinh): Likewise.
32493 * math/s_ctan.c (__ctan): Likewise.
32494 * math/s_ctanh.c (ctanh): Likewise.
32495 * math/s_ccoshl.c (__ccoshl): Likewise.
32496 * math/s_cexpl.c (__cexpl): Likewise.
32497 * math/s_csinl.c (__csinl): Likewise.
32498 * math/s_csinhl.c (__csinhl): Likewise.
32499 * math/s_ctanl.c (__ctanl): Likewise.
32500 * math/s_ctanhl.c (__ctanhl): Likewise.
32501
203e5603
JM
325022012-09-25 Joseph Myers <joseph@codesourcery.com>
32503
32504 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32505 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32506 (_IO_off_t): Define to __off_t, not _G_off_t.
32507 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32508 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32509 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32510 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32511 type of __dummy and __dummy2 fields.
32512 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32513 (_G_ssize_t): Likewise.
32514 (_G_off_t): Likewise.
32515 (_G_pid_t): Likewise.
32516 (_G_uid_t): Likewise.
32517 (_G_wchar_t): Likewise.
32518 (_G_wint_t): Likewise.
32519 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32520 (_G_ssize_t): Likewise.
32521 (_G_off_t): Likewise.
32522 (_G_pid_t): Likewise.
32523 (_G_uid_t): Likewise.
32524 (_G_wchar_t): Likewise.
32525 (_G_wint_t): Likewise.
32526 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32527 (_G_ssize_t): Likewise.
32528 (_G_off_t): Likewise.
32529 (_G_pid_t): Likewise.
32530 (_G_uid_t): Likewise.
32531 (_G_wchar_t): Likewise.
32532 (_G_wint_t): Likewise.
32533
9fab36eb
SP
325342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32535
32536 * malloc/arena.c: Include malloc-sysdep.h.
32537 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32538 is sufficient to shrink the heap or an unmap is needed.
32539 * sysdeps/generic/malloc-sysdep.h: New file. Define
32540 new function check_may_shrink_heap.
32541 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32542 new function check_may_shrink_heap.
32543
2b4f00d1
SP
325442012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32545
32546 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32547 comments.
32548
9a9028b1
DL
325492012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32550
57c69bef
DL
32551 * catgets/test-gencat.sh: Add "set -e".
32552 * elf/tst-pathopt.sh: Likewise.
32553 * grp/tst_fgetgrent.sh: Likewise.
32554 * iconvdata/run-iconv-test.sh: Likewise.
32555 * intl/tst-gettext.sh: Likewise.
32556 * intl/tst-gettext2.sh: Likewise.
32557 * intl/tst-gettext4.sh: Likewise.
32558 * intl/tst-gettext6.sh: Likewise.
32559 * intl/tst-translit.sh: Likewise.
32560 * io/ftwtest-sh: Likewise.
32561 * libio/test-freopen.sh: Likewise.
32562 * malloc/tst-mtrace.sh: Likewise.
32563 * posix/globtest.sh: Likewise.
32564 * posix/tst-getconf.sh: Likewise.
32565 * posix/wordexp-tst.sh: Likewise.
32566 * stdio-common/tst-printf.sh: Likewise.
32567 * stdio-common/tst-unbputc.sh: Likewise.
32568 * stdlib/tst-fmtmsg.sh: Likewise.
32569 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32570 * catgets/Makefile: Do not specify -e option when running
32571 testsuite shell scripts.
32572 * elf/Makefile: Likewise.
32573 * grp/Makefile: Likewise.
32574 * iconvdata/Makefile: Likewise.
32575 * intl/Makefile: Likewise.
32576 * io/Makefile: Likewise.
32577 * libio/Makefile: Likewise.
32578 * malloc/Makefile: Likewise.
32579 * posix/Makefile: Likewise.
32580 * stdio-common/Makefile: Likewise.
32581 * stdlib/Makefile: Likewise.
32582 * sysdeps/x86_64/Makefile: Likewise.
32583
9a9028b1
DL
32584 * io/ftwtest-sh: Add copyright header.
32585 * posix/globtest.sh: Likewise.
32586 * posix/tst-getconf.sh: Likewise.
32587 * posix/wordexp-tst.sh: Likewise.
32588 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32589
ced6f16e
L
325902012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32591
94b32c39
L
32592 [BZ #13679]
32593 * Makeconfig (+link): Defined as $(+link-static) if
32594 $(build-shared) isn't yes.
32595 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32596 isn't yes.
32597 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32598
189e935b
L
32599 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32600
ced6f16e
L
32601 [BZ #14562]
32602 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32603 new chunk size with MALLOC_ALIGN_MASK.
32604
a9f8e53a
JM
326052012-09-24 Joseph Myers <joseph@codesourcery.com>
32606
32607 [BZ #5044]
32608 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32609 <rounding-mode.h>.
32610 (__printf_fphex): Determine rounding using get_rounding_mode and
32611 round_away.
32612 * stdio-common/tst-printf-round.c (struct hex_test): New
32613 structure.
32614 (hex_tests): New variable.
32615 (test_hex_in_one_mode): New function.
32616 (do_test): Also run tests for hex float output.
32617
43153109
JM
326182012-09-21 Joseph Myers <joseph@codesourcery.com>
32619
32620 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32621 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32622 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32623 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32624 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32625 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32626 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32627 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32628
8a26625d
JM
326292012-09-20 Joseph Myers <joseph@codesourcery.com>
32630
32631 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32632 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32633 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32634 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32635
f3fd569c
DL
326362012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32637
32638 [BZ #14579]
32639 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32640 mode only.
32641 * elf/tst-rtld-load-self.sh: New test.
32642 * elf/Makefile: Run it.
32643
63bbedd4
JM
326442012-09-18 Joseph Myers <joseph@codesourcery.com>
32645
32646 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32647 (tst-writev-ENV): Remove.
32648 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32649
626f8b6a
CM
326502012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32651
32652 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32653
b7aaa4d6
JM
326542012-09-17 Joseph Myers <joseph@codesourcery.com>
32655
32656 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32657 unconditional.
32658 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32659 Likewise.
32660 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32661 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32662 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32663 Likewise.
32664
65513990
L
326652012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32666
32667 [BZ #14587]
32668 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32669 * config.make.in (have-cpp-asm-debuginfo): Removed.
32670 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32671 * configure: Regenerated.
32672
784761be
JM
326732012-09-14 Joseph Myers <joseph@codesourcery.com>
32674
32675 [BZ #5044]
32676 * stdio-common/printf_fp.c: Include <stdbool.h> and
32677 <rounding-mode.h>.
32678 (___printf_fp): Determine rounding using get_rounding_mode and
32679 round_away.
32680 * stdio-common/tst-printf-round.c: New file.
32681 * stdio-common/Makefile (tests): Add tst-printf-round.
32682 (link-libm): New variable.
32683 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32684
9503345f
L
326852012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32686
32687 [BZ #14576]
32688 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32689 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32690 Likewise.
32691 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32692 Likewise.
32693
ad35fc00
JM
326942012-09-13 Joseph Myers <joseph@codesourcery.com>
32695
32696 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32697 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32698 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32699 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32700
6c9b0f68
JM
327012012-09-12 Joseph Myers <joseph@codesourcery.com>
32702
32703 [BZ #14518]
32704 * include/rounding-mode.h: New file.
32705 * sysdeps/generic/get-rounding-mode.h: Likewise.
32706 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32707 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32708 (MAX_VALUE): New macro.
32709 (MIN_VALUE): Likewise.
32710 (overflow_value): New function.
32711 (underflow_value): Likewise.
32712 (round_and_return): Use overflow_value and underflow_value to
32713 determine return values in overflow and underflow cases. Use
32714 round_away to determine rounding depending on rounding mode.
32715 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32716 determine return values in overflow and underflow cases.
32717 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32718 (struct test_results): New structure.
32719 (struct test): Use struct test_results to store expected results
32720 for all rounding modes.
32721 (TEST): Include expected results for all rounding modes.
32722 (test_in_one_mode): New function.
32723 (do_test): Use test_in_one_mode to compute and check results.
32724 Check results for all rounding modes.
32725 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32726 $(link-libm).
32727
19fcedd5
AM
327282012-12-09 Allan McRae <allan@archlinux.org>
32729
1e9d84cd 32730 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32731
8bbfd2f1
JM
327322012-09-11 Joseph Myers <joseph@codesourcery.com>
32733
32734 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32735 (_G_int32_t): Likewise.
32736 (_G_uint16_t): Likewise.
32737 (_G_uint32_t): Likewise.
32738 (_G_HAVE_BOOL): Likewise.
32739 (_G_HAVE_ATEXIT): Likewise.
32740 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32741 (_G_HAVE_IO_FILE_OPEN): Likewise.
32742 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32743 (_G_int32_t): Likewise.
32744 (_G_uint16_t): Likewise.
32745 (_G_uint32_t): Likewise.
32746 (_G_HAVE_BOOL): Likewise.
32747 (_G_HAVE_ATEXIT): Likewise.
32748 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32749 (_G_HAVE_IO_FILE_OPEN): Likewise.
32750 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32751 (_G_int32_t): Likewise.
32752 (_G_uint16_t): Likewise.
32753 (_G_uint32_t): Likewise.
32754 (_G_HAVE_BOOL): Likewise.
32755 (_G_HAVE_ATEXIT): Likewise.
32756 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32757 (_G_HAVE_IO_FILE_OPEN): Likewise.
32758
b1dc5912
L
327592012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32760
32761 * csu/libc-tls.c: Update copyright years.
32762
0e886ef9
JM
327632012-09-10 Joseph Myers <joseph@codesourcery.com>
32764
28361c5e
JM
32765 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32766 [!_G_USING_THUNKS]: Remove conditional code.
32767 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32768 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32769
0e886ef9
JM
32770 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32771 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32772 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32773 (_G_VTABLE_LABEL_PREFIX): Likewise.
32774 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32775 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32776 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32777 (_G_VTABLE_LABEL_PREFIX): Likewise.
32778 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32779 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32780 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32781 (_G_VTABLE_LABEL_PREFIX): Likewise.
32782 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32783
bcba7aa2
L
327842012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32785
32786 * libio/Makefile: Include ../Makeconfig before tests.
32787 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32788 only if $(build-shared) is yes.
32789
06585ee8
L
32790 * iconv/gconv_db.c: Update copyright years.
32791
80ccd52c
LD
327922012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32793
32794 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32795 unwind info if defined PIC. Fix special cases description.
32796 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32797
32798 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32799 DP_HI_MASK entry.
32800 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32801
691bc9c1
L
328022012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32803
3d9b46b3
L
32804 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32805
de2139a9
L
32806 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32807 is NULL.
32808
5ca78dd0
L
32809 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32810 (LDLIBS-tst-chk4): This.
32811 (LDFLAGS-tst-chk5): Renamed to ...
32812 (LDLIBS-tst-chk5): This.
32813 (LDFLAGS-tst-chk6): Renamed to ...
32814 (LDLIBS-tst-chk6): This.
32815 (LDFLAGS-tst-lfschk4): Renamed to ...
32816 (LDLIBS-tst-lfschk4): This.
32817 (LDFLAGS-tst-lfschk5): Renamed to ...
32818 (LDLIBS-tst-lfschk5): This.
32819 (LDFLAGS-tst-lfschk6): Renamed to ...
32820 (LDLIBS-tst-lfschk6): This.
32821
691bc9c1
L
32822 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32823 on $(common-objpfx)soversions.mk.
32824
65cafb1c
JM
328252012-09-07 Joseph Myers <joseph@codesourcery.com>
32826
32827 [BZ #10014]
32828 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32829 example host name.
32830
c78ab094
SP
328312012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32832
32833 * malloc/arena.c (arena_get_retry): New function that gets
32834 another arena for the caller to try its request on.
32835 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32836 current arena cannot fulfill the request.
32837 (__libc_memalign): Likewise.
32838 (__libc_memalign): Likewise.
32839 (__libc_pvalloc): Likewise.
32840 (__libc_calloc): Likewise.
32841
01f49f59
JT
328422012-09-05 John Tobey <john.tobey@gmail.com>
32843
32844 [BZ #13542]
32845 * manual/arith.texi (Operations on Complex): Fix description
32846 of carg branch cut.
32847
4c23fed5
JM
328482012-09-06 Joseph Myers <joseph@codesourcery.com>
32849
1d3c8572
JM
32850 [BZ #10014]
32851 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32852 host name.
32853
4c23fed5
JM
32854 [BZ #10038]
32855 * manual/memory.texi (Memory): Make order of menu items match
32856 order of sections.
32857
04570aaa
L
328582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32859
32860 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32861 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32862 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32863
b80af2f4
L
328642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32865
32866 * csu/libc-tls.c (static_dtv): Renamed to ...
32867 (_dl_static_dtv): This. Make it global.
32868 (_dl_initial_dtv): Removed.
32869 (__libc_setup_tls): Updated.
32870 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32871 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32872 DL_INITIAL_DTV.
32873
2abe9f15
PM
328742012-09-06 Petr Machata <pmachata@redhat.com>
32875
32876 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32877 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32878 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32879 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32880
0948c3af
L
328812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32882
32883 [BZ #14545]
32884 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32885 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32886 freeing dtv[-1].
32887
a5055ad1
L
328882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32889
32890 [BZ #14544]
32891 * Makeconfig (link-static-before-libc): Replace $(+prector)
32892 with $(+prectorT).
32893 (link-static-after-libc): Replace $(+postctor) with
32894 $(+postctorT).
32895 (link-bounded): Replace $(+prector)/$(+postctor) with
32896 $(+prectorT)/$(+postctorT).
32897 (+prectorT): New macro.
32898 (+postctorT): Likewise.
32899
ed8c2ecd
JM
329002012-09-06 Joseph Myers <joseph@codesourcery.com>
32901
32902 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32903 (round_str): Handle values above the maximum for IBM long double
32904 as inexact.
32905 * stdlib/tst-strtod-round.c (tests): Regenerated.
32906
14c996c8
AK
329072012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32908
32909 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32910 assembler flag.
32911 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32912 zarch_nohighgprs around the zarch optimized routines.
32913 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32914 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32915 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32916 for zarch.
32917
430d6ce6
DM
329182012-09-05 David S. Miller <davem@davemloft.net>
32919
32920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32921
57f41c40
AS
32922 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32923 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32924 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32925 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32926 entries.
32927
24d4e01b
AO
329282012-09-05 Alexandre Oliva <aoliva@redhat.com>
32929
32930 * malloc/arena.c: Fold copyright years.
32931 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32932
61d58174
AO
329332012-09-05 Alexandre Oliva <aoliva@redhat.com>
32934
32935 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32936
20196a5e
AO
329372012-09-05 Alexandre Oliva <aoliva@redhat.com>
32938
32939 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32940
5c447383
AO
329412012-09-05 Alexandre Oliva <aoliva@redhat.com>
32942
32943 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32944 change internal state upon failure.
32945
fad64255
AO
329462012-09-05 Alexandre Oliva <aoliva@redhat.com>
32947
32948 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32949 * malloc/memusage.c (mmap): Likewise.
32950 (mmap64, mremap): Likewise. Adjust name in comment.
32951
1ffb8c90
SP
329522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32953
32954 * libio/fileops.c: Fix typos in comments.
32955 * libio/oldfileops.c: Likewise.
32956 * libio/wfileops.c: Likewise.
32957
6ef9cc37
SP
329582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32959
32960 [BZ #1349]
32961 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32962 (tst-malloc-usable-ENV): Set environment for test case.
32963 * malloc/hooks.c (malloc_check_get_size): New function to get
32964 requested size.
32965 * malloc/malloc.c (musable): Use malloc_check_get_size.
32966 * malloc/tst-malloc-usable.c: New test case.
32967
4d038ae3
AS
329682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32969
32970 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32971
c4e85184
AM
329722012-09-05 Allan McRae <allan@archlinux.org>
32973
b9dafc56 32974 [BZ #13966]
c4e85184
AM
32975 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32976 determine header location.
32977 * configure: Regenerated.
32978
e1343020
AS
329792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32980
32981 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32982 float format.
32983 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32984 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32985 format.
e1343020
AS
32986 (test): Regenerate.
32987
0a9f1987
DM
329882012-09-04 David S. Miller <davem@davemloft.net>
32989
32990 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32991 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32992 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32993
29237804
FW
329942012-09-04 Florian Weimer <fweimer@redhat.com>
32995
32996 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32997 failures.
32998
edb3cb88
FW
32999 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33000
60160d83
JM
330012012-09-04 Joseph Myers <joseph@codesourcery.com>
33002
33003 [BZ #9914]
33004 * libio/iogetdelim.c: Include <limits.h>.
33005 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33006 + len + 1 would overflow.
33007
bcd6c8dc
AJ
330082012-09-03 Andreas Jaeger <aj@suse.de>
33009
33010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33011 * sysdeps/i386/fpu/libm-test-ulps: Update.
33012
4ffffbd2
LD
330132012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33014
33015 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33016 Add s_sinf-sse2, s_conf-sse2.
33017
33018 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33019 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33020 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33021 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33022
33023 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33024 for using routine as __sinf_ia32.
33025 Use macro for function declaration and weak_alias.
33026 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33027 for using routine as __cosf_ia32.
33028 Use macro for function declaration and weak_alias.
33029
33030 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33031 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33032
33033 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33034 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33036
33037 * math/libm-test.inc (cos_test): Add more test cases.
33038 (sin_test): Likewise.
33039 (sincos_test): Likewise.
33040
511fa286
AK
330412012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33042
33043 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33044 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33045 hidden.
33046 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33047
5f30cfec
L
330482012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33049
33050 [BZ #14538]
33051 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33052 first element of the GOT.
33053 (elf_machine_load_address): Return the difference between
33054 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33055
0786794f
AM
330562012-09-01 Allan McRae <allan@archlinux.org>
33057
5f30cfec
L
33058 [BZ #13412]
33059 * configure.in (AWK): Require gawk version 3.0 or later.
33060 * configure: Regenerated.
0786794f 33061
26889eac
JM
330622012-09-01 Joseph Myers <joseph@codesourcery.com>
33063
33064 * sysdeps/unix/sysv/linux/kernel-features.h
33065 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33067 [__NR_clock_getres]: Make code unconditional.
33068 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33069 (clock_getcpuclockid): Remove code left unreachable by removal of
33070 conditionals.
33071 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33072 code unconditional.
33073 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33074 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33075 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33076 Make code unconditional.
33077 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33078 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33079 * sysdeps/unix/sysv/linux/clock_settime.c
33080 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33081 conditional code.
33082 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33083 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33084
d22e28b0
L
330852012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33086
33087 [BZ #14476]
33088 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33089 scripts/test-installation.pl.
33090
33091 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33092 and $ld_so_version if it is set.
33093
050af9c4
SP
330942012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33095
33096 [BZ #14516]
33097 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33098 failure if reading from procfs failed.
33099 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33100
ad845c0b
JM
331012012-08-27 Joseph Myers <joseph@codesourcery.com>
33102
33103 * sysdeps/unix/sysv/linux/kernel-features.h
33104 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33105 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33106 Remove conditional code.
33107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33108 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33109 Remove conditional code.
33110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33111 * sysdeps/unix/sysv/linux/i386/fxstat.c
33112 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33114 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33115 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33116 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33117 * sysdeps/unix/sysv/linux/i386/lxstat.c
33118 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33120 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33121 Remove conditional code.
33122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33123 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33124 Remove conditional code.
33125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33126 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33127 <kernel-features.h>.
33128 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33129 Remove.
33130 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33131 Remove conditional code.
33132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33133 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33134 Remove conditional.
33135
5dbf56af
MF
331362012-08-27 Mike Frysinger <vapier@gentoo.org>
33137
33138 [BZ #5400]
33139 * NEWS: Add fixed bug number.
33140
d6e70f43
JM
331412012-08-27 Joseph Myers <joseph@codesourcery.com>
33142
7efb4737
JM
33143 [BZ #14519]
33144 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33145 underflowing exponent in case of negative sign.
33146 * stdlib/tst-strtod-round-data: Add more tests.
33147 * stdlib/tst-strtod-round.c (tests): Regenerated.
33148
af92131a
JM
33149 [BZ #3479]
33150 * stdlib/strtod_l.c (NDIG): Remove.
33151 (HEXNDIG): Likewise.
33152 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33153 smallest representable value.
33154 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33155 lie within an exact representation of 1/2 ulp of the result.
33156 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33157 unconditionally.
33158 (TENS_P9_IDX): Define unconditionally.
33159 (TENS_P9_SIZE): Likewise.
33160 (TENS_P10_IDX): Likewise.
33161 (TENS_P10_SIZE): Likewise.
33162 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33163 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33164 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33165 entries for 10^2^13 and 10^2^14.
33166 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33167 (TENS_P13_IDX): Define.
33168 (TENS_P13_SIZE): Likewise.
33169 (TENS_P14_IDX): Likewise.
33170 (TENS_P14_SIZE): Likewise.
33171 (_fpioconst_pow10): Change array size to
33172 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33173 unconditional.
33174 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33175 1024]: Add entries for 10^2^13 and 10^2^14.
33176 [LAST_POW10 > _LAST_POW10]: Remove #error.
33177 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33178 (_fpioconst_pow10): Change array size to
33179 FPIOCONST_POW10_ARRAY_SIZE.
33180 * stdlib/gen-fpioconst.c: New file.
33181 * stdlib/gen-tst-strtod-round.c: Likewise.
33182 * stdlib/tst-strtod-round-data: Likewise.
33183 * stdlib/tst-strtod-round.c: Likewise.
33184 * stdlib/Makefile (tests): Add tst-strtod-round.
33185
d6e70f43
JM
33186 [BZ #14459]
33187 * stdlib/strtod_l.c: Include <stdint.h>.
33188 (NDEBUG): Do not define.
33189 (round_and_return): Change EXPONENT parameter to type intmax_t.
33190 Rearrange calculations to avoid internal overflow possibilities.
33191 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33192 Rearrange calculations to avoid internal overflow possibilities.
33193 Assert that number fits inside MPNSIZE limbs.
33194 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33195 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33196 calculations and add assertions to avoid internal overflow
33197 possibilities. Add casts to avoid signed/unsigned operations.
33198 * stdlib/tst-strtod-overflow.c: New file.
33199 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33200
1f529f7d
MP
332012012-08-25 Marek Polacek <polacek@redhat.com>
33202
33203 * time/time.h: Fix some typos in comments.
33204
59a629f1
RM
332052012-08-23 Roland McGrath <roland@hack.frob.com>
33206
33207 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33208 * posix/tst-rfc3484-2.c: Likewise.
33209 * posix/tst-rfc3484-3.c: Likewise.
33210
d3bafbc9
SM
332112012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33212
33213 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33214 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33215
4efcc022
JM
332162012-08-23 Joseph Myers <joseph@codesourcery.com>
33217
33218 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33219 #include of fxstatat64.c.
33220
3cc3ef96
RM
332212012-08-22 Roland McGrath <roland@hack.frob.com>
33222
f04e2132
RM
33223 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33224 * shadow/getspent_r.c: Likewise.
33225 * shadow/getspnam.c: Likewise.
33226 * shadow/getspnam_r.c: Likewise.
33227 * gshadow/getsgent.c: Likewise.
33228 * gshadow/getsgent_r.c: Likewise.
33229 * gshadow/getsgnam.c: Likewise.
33230 * gshadow/getsgnam_r.c: Likewise.
33231 * inet/getnetbyad.c: Likewise.
33232 * inet/getnetbyad_r.c: Likewise.
33233 * inet/getnetbynm.c: Likewise.
33234 * inet/getnetbynm_r.c: Likewise.
33235 * inet/getnetent.c: Likewise.
33236 * inet/getnetent_r.c: Likewise.
33237 * inet/getproto.c: Likewise.
33238 * inet/getproto_r.c: Likewise.
33239 * inet/getprtent.c: Likewise.
33240 * inet/getprtent_r.c: Likewise.
33241 * inet/getprtname.c: Likewise.
33242 * inet/getprtname_r.c: Likewise.
33243 * inet/getrpcbyname.c: Likewise.
33244 * inet/getrpcbyname_r.c: Likewise.
33245 * inet/getrpcbynumber.c: Likewise.
33246 * inet/getrpcbynumber_r.c: Likewise.
33247 * inet/getrpcent.c: Likewise.
33248 * inet/getrpcent_r.c: Likewise.
33249 * inet/getaliasent.c: Likewise.
33250 * inet/getaliasent_r.c: Likewise.
33251 * inet/getaliasname.c: Likewise.
33252 * inet/getaliasname_r.c: Likewise.
33253 * nscd/getgrgid_r.c: Likewise.
33254 * nscd/getgrnam_r.c: Likewise.
33255 * nscd/gethstbyad_r.c: Likewise.
33256 * nscd/gethstbynm3_r.c: Likewise.
33257 * nscd/getpwnam_r.c: Likewise.
33258 * nscd/getpwuid_r.c: Likewise.
33259 * nscd/getsrvbynm_r.c: Likewise.
33260 * nscd/getsrvbypt_r.c: Likewise.
33261 * nscd/gai.c: Likewise.
33262
c53d909c
RM
33263 * configure.in (build_nscd): New substituted variable, set
33264 by --disable-build-nscd and defaults to $use_nscd.
33265 * configure: Regenerated.
33266 * config.make.in (build-nscd): New substituted variable.
33267 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33268 Change conditional to require [$(build-nscd) = yes] as well.
33269 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33270
3cc3ef96
RM
33271 [BZ# 13696]
33272 * configure.in (use_nscd): New substituted variable, set by
33273 --disable-nscd. If enabled, define USE_NSCD.
33274 * configure: Regenerated.
33275 * config.h.in: Add USE_NSCD.
33276 * config.make.in (use-nscd): New substituted variable.
33277 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33278 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33279 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33280 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33281 (CFLAGS-getgrnam_r.c): Likewise.
33282 (CFLAGS-initgroups.c): Likewise.
33283 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33284 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33285 Variables removed.
33286 * inet/getnetgrent_r.c
33287 (nscd_setnetgrent): New function, broken out of ...
33288 (setnetgrent): ... here. Call it.
33289 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33290 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33291 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33292 * nscd/Makefile (routines, aux): Move definitions after include of
33293 Makeconfig. Conditionalize on [$(use-nscd) != no].
33294 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33295 Conditionalize on [USE_NSCD].
33296 (is_nscd, nscd_init_cb): Likewise.
33297 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33298 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33299 * nss/nss_db/db-init.c: Likewise.
33300 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33301 [USE_NSCD].
33302 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33303 (make_request): Use it.
33304 (cache_valid_p): New function.
33305 (__check_pf): Use it.
33306 * NEWS: Add item for --disable-nscd.
33307
07e51550
DL
333082012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33309
33310 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33311 to support sed >= 4.2.1-20-ga9bf076.
33312 * configure: Regenerated.
33313
35a5b08b
RM
333142012-08-22 Roland McGrath <roland@hack.frob.com>
33315
33316 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33317 Conditionalize whole body on [IREL].
33318
8479f23a
JL
333192012-08-22 Jeff Law <law@redhat.com>
33320
33321 [BZ #14505]
33322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33323 if the family is PF_UNSPEC.
33324
48da0b21
MF
333252012-08-22 Mike Frysinger <vapier@gentoo.org>
33326
33327 * Makerules (lib-version): Rename from V.
33328 (install-lib-nosubdir): Change V to lib-version.
33329
15d0da8c
WS
333302012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33331
33332 [BZ #14252]
33333 * powerpc32/power6/wcschr.c: New file.
33334 * powerpc32/power6/wcscpy.c: New file.
33335 * powerpc32/power6/wcsrchr.c: New file.
33336 * powerpc64/power6/wcschr.c: New file.
33337 * powerpc64/power6/wcscpy.c: New file.
33338 * powerpc64/power6/wcsrchr.c: New file.
33339
bcca0895
MK
333402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33341
33342 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33343 (two_way_short_needle): Use it.
5a4aaa33
RM
33344 * string/strstr.c (AVAILABLE1_USES_J): Define.
33345 * string/strcasestr.c: Likewise.
99677e57
MK
33346
33347 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33348 array references.
33349 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33350
400726de
MK
33351 [BZ #11607]
33352 * NEWS: Add an entry.
33353 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33354 define their defaults.
33355 (two_way_short_needle): Detect end-of-string on-the-fly.
33356 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33357 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33358 * string/bug-strcasestr1.c: New test.
33359 * string/Makefile: Run it.
33360
20a71f2c
MK
333612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33362
33363 [BZ #11607]
33364 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33365 the first character.
33366
21ad0558
RM
333672012-08-21 Roland McGrath <roland@hack.frob.com>
33368
33369 * csu/elf-init.c (__libc_csu_irel): Function removed.
33370 * csu/libc-start.c (apply_irel): New function.
33371 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33372
0e1d9911
JM
333732012-08-21 Joseph Myers <joseph@codesourcery.com>
33374
33375 * sysdeps/unix/sysv/linux/kernel-features.h
33376 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33377 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33378 <kernel-features.h>.
33379 [__NR_fadvise64_64]: Make code unconditional.
33380 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33381 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33382 !__NR_fadvise64_64)]: Likewise.
33383 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33384 !__NR_fadvise64_64))]: Likewise.
33385 [__NR_fadvise64]: Make code unconditional.
33386 [!__NR_fadvise64]: Remove conditional code.
33387 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33388 <kernel-features.h>.
33389 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33390 unconditional.
33391 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33392 conditional code.
33393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33394 not include <kernel-features.h>.
33395 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33396 unconditional.
33397 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33398 conditional code.
33399 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33400 include <kernel-features.h>.
33401 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33402 unconditional.
33403 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33404 conditional code.
33405
14a50c9d
WS
334062012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33407
33408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33409 slight instruction rearrangements per scrollpipe analysis.
33410 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33411
c0f4faf0
RM
334122012-08-20 Roland McGrath <roland@hack.frob.com>
33413
696da859
RM
33414 * manual/syslog.texi (syslog; vsyslog, closelog):
33415 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33416 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33417
c0f4faf0
RM
33418 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33419 DSOCAPS to match condition on defining it.
33420
348363b2
JM
334212012-08-20 Joseph Myers <joseph@codesourcery.com>
33422
a35cbf28
JM
33423 * sysdeps/unix/sysv/linux/kernel-features.h
33424 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33426 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33427 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33429 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33430 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33432 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33433 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33434
445f7ecd
JM
33435 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33436 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33437
348363b2
JM
33438 * sysdeps/unix/sysv/linux/kernel-features.h
33439 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33440 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33441 unconditional.
33442 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33443 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33444 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33445 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33446 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33447 Make code unconditional.
33448 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33449 (__mmap64) [!__NR_mmap2]: Likewise.
33450 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33451 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33452 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33453 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33454 [__NR_mmap2]: Make code unconditional.
33455 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33456 (__mmap64) [!__NR_mmap2]: Likewise.
33457
bc5bc0e5
AK
334582012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33459
33460 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33461
88d506de
AJ
334622012-08-18 Andreas Jaeger <aj@suse.de>
33463
33464 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33465
493387d2
MF
334662012-08-18 Mike Frysinger <vapier@gentoo.org>
33467
33468 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33469 * include/unistd.h (__have_sock_cloexec): Likewise.
33470 (__have_pipe2): Likewise.
33471 (__have_dup3): Likewise.
33472
a277af22
MF
334732012-08-18 Mike Frysinger <vapier@gentoo.org>
33474
33475 [BZ #9685]
33476 * include/unistd.h (__have_pipe2): Change define into an extern int.
33477 (__have_dup3): Likewise.
33478 * socket/have_sock_cloexec.c: Include fcntl.h.
33479 (__have_pipe2): New variable.
33480 (__have_dup3): Likewise.
33481
fdab8fd3
MF
334822012-08-17 Mike Frysinger <vapier@gentoo.org>
33483
33484 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33485
31035e80
MP
334862012-08-17 Marek Polacek <polacek@redhat.com>
33487
33488 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33489 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33490
3bd9e993
RM
334912012-08-17 Roland McGrath <roland@hack.frob.com>
33492
c91c505f
RM
33493 * configure.in: Add AC_SUBST for sysheaders.
33494 * configure: Regenerated.
33495 * config.make.in (sysheaders): New substituted variable.
33496
7c6f9d53
RM
33497 * sysdeps/unix/mkfifo.c: Moved ...
33498 * sysdeps/posix/mkfifo.c: ... here.
33499 * sysdeps/unix/mkfifoat.c: Moved ...
33500 * sysdeps/posix/mkfifoat.c: ... here.
33501
33502 * sysdeps/unix/utime.c: Moved ...
33503 * sysdeps/posix/utime.c: ... here.
33504
33505 * sysdeps/unix/time.c: Moved ...
33506 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33507 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33508 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33509
33510 * sysdeps/unix/nice.c: Moved ...
33511 * sysdeps/posix/nice.c: ... here.
33512
33513 * sysdeps/unix/alarm.c: Moved ...
33514 * sysdeps/posix/alarm.c: ... here.
33515
3bd9e993
RM
33516 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33517
d1f09384
JL
335182012-08-17 Jeff Law <law@redhat.com>
33519
33520 * intl/Makefile (codeset_mo): New variable.
33521 ($(codeset_mo)): New target.
33522 (tst-codeset.out): Depend on that. Remove explicit rule.
33523 (tst-gettext3.out, tst-gettext5.out): Likewise.
33524 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33525 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33526 * intl/tst-codeset.sh: Remove.
33527 * intl/tst-gettext3.sh: Likewise.
33528 * intl/tst-gettext5.sh: Likewise.
33529
2ae1ae5c
RM
335302012-08-17 Roland McGrath <roland@hack.frob.com>
33531
c31fdb83
RM
33532 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33533 * sysdeps/unix/syscalls.list: ... here.
33534
a0844057
RM
33535 * sysdeps/posix/getaddrinfo.c
33536 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33537 (gaiconf_init, gaiconf_reload): Use them.
33538 [!_STATBUF_ST_NSEC]
33539 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33540 Define using time_t rather than struct timespec.
33541
750c1f2a
RM
33542 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33543 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33544 Macros removed.
33545 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33546 [!NO_THREADS].
33547 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33548 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33549 Likewise.
33550
2ae1ae5c
RM
33551 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33552 __libc_cleanup_push argument.
33553
e66a42f5
RM
33554 * bits/param.h: New file.
33555 * misc/sys/param.h: New file.
33556 * include/sys/param.h: New file.
33557 * misc/Makefile (headers): Add bits/param.h.
33558 * sysdeps/generic/sys/param.h: File removed.
33559 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33560 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33561 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33562 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33563
b7c08a66
RM
33564 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33565 last change.
33566
b2e1c562
RM
33567 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33568 [_IO_MTSAFE_IO].
33569 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33570 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33571 New macros.
33572
c75ccd4c
RM
33573 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33574 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33575 rather than -D_IO_MTSAFE_IO conditionally.
33576 * stdio-common/Makefile (CPPFLAGS): Likewise.
33577 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33578 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33579 Use $(libio-mtsafe).
33580 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33581 of -D_IO_MTSAFE_IO.
33582 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33583 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33584 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33585 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33586 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33587 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33588 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33589 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33590 (CFLAGS-fread_u_chk.c): Likewise.
33591 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33592 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33593 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33594 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33595 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33596 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33597 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33598 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33599 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33600
33601 * libio/Makefile: Test [$(libc-reentrant) = yes]
33602 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33603
33604 * Makeconfig
33605 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33606 * sysdeps/pthread/configure: File removed.
33607 * sysdeps/pthread/Makeconfig: New file.
33608 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33609 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33610
d9195db8
GB
336112012-08-16 Gary Benson <gbenson@redhat.com>
33612
33613 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33614 unmapping the first object in a namespace.
33615
86466cd9
RM
336162012-08-16 Roland McGrath <roland@hack.frob.com>
33617
33618 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33619 (__internal_setnetgrent): ... this. Add internal_function to
33620 definition. Add libc_hidden_def.
33621 (setnetgrent): Update caller.
33622 (internal_endnetgrent): Renamed to ...
33623 (__internal_endnetgrent): ... this. Add internal_function to
33624 definition. Add libc_hidden_def.
33625 (endnetgrent): Update caller.
33626 (internal_getnetgrent_r): Renamed to ...
33627 (__internal_getnetgrent_r): ... this. Add internal_function to
33628 definition. Add libc_hidden_def.
33629 (__getnetgrent_r): Update caller.
33630 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33631
c3c8283c
JM
336322012-08-16 Joseph Myers <joseph@codesourcery.com>
33633
33634 * stdlib/longlong.h: Update from GCC.
33635
db1ee0a8
RM
336362012-08-16 Roland McGrath <roland@hack.frob.com>
33637
33638 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33639 on _QL, which is set by umul_ppmm but never used.
33640 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33641 variables, which are set by GMP macros but never used.
33642 * stdio-common/_itowa.c (_itowa): Likewise.
33643 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33644 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33645
30f69637
CD
336462012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33647
33648 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33649 struct La_sh_regs is not constant.
33650 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33651 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33652 and struct La_sparc64_regs are not constant.
33653
93a78ac4
JM
336542012-08-16 Joseph Myers <joseph@codesourcery.com>
33655
33656 * sysdeps/unix/sysv/linux/kernel-features.h
33657 (__ASSUME_POSIX_TIMERS): Remove.
33658 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33659 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33660 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33661 Make code unconditional.
33662 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33663 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33664 Make code unconditional.
33665 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33666 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33667 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33668 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33669 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33670 Make code unconditional.
33671 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33672 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33673 (__libc_missing_posix_timers): Remove.
33674
dd924cd7
RM
336752012-08-15 Roland McGrath <roland@hack.frob.com>
33676
4b4f2771
RM
33677 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33678 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33679
601c888b
RM
33680 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33681
176790a7
RM
33682 * elf/dl-sym.c: Include <stdlib.h>.
33683
329bc018
RM
33684 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33685 constants, which avoids warnings in 32-bit builds.
33686
e04e272d
RM
33687 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33688 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33689
952bf94a
RM
33690 * misc/lseek.c: File moved to ...
33691 * io/lseek.c: ... here.
33692
7c99b50a
RM
33693 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33694
dd924cd7
RM
33695 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33696 shifting LEN more than 31 bits at once.
33697
b3f479a8
LD
336982012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33699
33700 [BZ #14195]
8c4ae0d4
RM
33701 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33702 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33703 * string/test-strncasecmp.c (check1): Renamed to...
33704 (bz12205): ...this.
33705 (bz14195): Add new testcase for two empty input strings and N > 0.
33706 (test_main): Call new testcase, adapt for renamed function.
33707
9c55864e
AJ
337082012-08-15 Andreas Jaeger <aj@suse.de>
33709
33710 [BZ #14090]
33711 * crypt/md5test2.c: New test, based on test supplied by Serge
33712 Belyshev <belyshev@depni.sinp.msu.ru>.
33713 * crypt/Makefile (xtests): Add md5test-giant..
33714 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33715
02dcb6c5
PE
337162012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33717
33718 [BZ #14090]
33719 * crypt/md5.c (md5_process_block): Don't assume the buffer
33720 length is less than 2**32.
33721 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33722 length is less than 2**64.
33723
a3f95dcc
RM
337242012-08-15 Roland McGrath <roland@hack.frob.com>
33725
be75d758
RM
33726 * string/str-two-way.h: Include <sys/param.h>.
33727 (MAX): Macro removed.
33728
7312ca90
RM
33729 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33730 Move #define and #undef of memmove to just before and after
33731 including <string.h>.
33732
9a0a5486
RM
33733 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33734 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33735 and after including <string.h>. Move declarations of
33736 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33737 to before #include "string/memmove.c".
33738
67cc348d
RM
33739 * include/dirent.h: Declare __getdirentries.
33740
a3f95dcc
RM
33741 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33742 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33743
ca98e171
MF
337442012-08-14 Mike Frysinger <vapier@gentoo.org>
33745
33746 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33747 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33748 * sysdeps/i386/configure: Regenerated.
33749 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33750 STABS_CURRENT_FILE, and STABS_FUN.
33751 (END): Remove call to STABS_FUN_END.
33752 (STABS_CURRENT_FILE1): Delete.
33753 (STABS_CURRENT_FILE): Likewise.
33754 (STABS_FUN): Likewise.
33755 (STABS_FUN_END): Likewise.
33756 (STABS_FUN2): Likewise.
33757 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33758 * sysdeps/x86_64/configure: Regenerated.
33759
5908bf46
RM
337602012-08-14 Roland McGrath <roland@hack.frob.com>
33761
33762 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33763 * elf/dl-lookup.c: Likewise.
5908bf46 33764
f2c05b9e
JM
337652012-08-14 Joseph Myers <joseph@codesourcery.com>
33766
33767 * sysdeps/unix/sysv/linux/kernel-features.h
33768 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33769 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33770 unconditionally.
33771 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33772 unconditionally.
33773 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33774 condition on __ASSUME_CLONE_THREAD_FLAGS.
33775
e11f5155
AJ
337762012-08-14 Andreas Jaeger <aj@suse.de>
33777
33778 * sysdeps/i386/fpu/libm-test-ulps: Update.
33779
51a9ba86
MK
337802012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33781
2fdd4f78
AJ
33782 * include/atomic.h (atomic_exchange_and_add): Split into ...
33783 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33784 New atomic macros.
51a9ba86 33785
ba6cba9e
MT
337862012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33787
33788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33789
42443a47
JL
337902012-08-13 Jeff Law <law@redhat.com>
33791
33792 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33793 null byte in the output string.
33794
121dce05
JM
337952012-08-10 Joseph Myers <joseph@codesourcery.com>
33796
33797 * sysdeps/unix/sysv/linux/kernel-features.h
33798 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33799 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33800 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33801 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33802 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33803 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33804 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33805
bf51f568
JL
338062012-08-09 Jeff Law <law@redhat.com>
33807
33808 [BZ #13939]
33809 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33810 When avoid_arena is set, don't retry in the that arena. Pick the
33811 next one, whatever it might be.
33812 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33813 (arena_lock): Pass in new parameter to arena_get2.
33814 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33815 arena_get2.
33816 (__libc_malloc): Unify retrying after main arena failure with
33817 __libc_memalign version.
33818 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33819
f85fa270
L
338202012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33821
33822 [BZ #14166]
33823 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33824 to __redirect_strstr.
33825 (__strstr_sse42): Use typeof __redirect_strstr.
33826 (__strstr_ia32): Likewise.
33827 (__libc_strstr): New prototype.
33828 (strstr): Renamed to ...
33829 (__libc_strstr): This.
33830 (strstr): New strong alias of __libc_strstr.
33831 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33832 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33833 __redirect_time.
33834 Include <time.h>.
33835 (__libc_time): New prototype.
33836 (time_ifunc): Replace time with __libc_time.
33837 (time): New strong alias and hidden definition of __libc_time.
33838 (__GI_time): Remove strong alias.
33839 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33840 Include <stddef.h>.
33841 (memmove): Redefined to __redirect_memmove.
33842 (__memmove_sse2): Use typeof __redirect_memmove.
33843 (__memmove_ssse3): Likewise.
33844 (__memmove_ssse3_back): Likewise.
33845 (__libc_memmove): New prototype.
33846 (memmove): Renamed to ...
33847 (__libc_memmove): This.
33848 (memmove): New strong alias of __libc_memmove.
33849
33b4a91e
MS
338502012-08-08 Mark Salter <msalter@redhat.com>
33851
33852 * elf/elf.h
33853 (R_MN10300_TLS_GD): Define.
33854 (R_MN10300_TLS_LD): Likewise.
33855 (R_MN10300_TLS_LDO): Likewise.
33856 (R_MN10300_TLS_GOTIE): Likewise.
33857 (R_MN10300_TLS_IE): Likewise.
33858 (R_MN10300_TLS_LE): Likewise.
33859 (R_MN10300_TLS_DTPMOD): Likewise.
33860 (R_MN10300_TLS_DTPOFF): Likewise.
33861 (R_MN10300_TLS_TPOFF): Likewise.
33862 (R_MN10300_SYM_DIFF): Likewise.
33863 (R_MN10300_ALIGN): Likewise.
33864 (R_MN10300_NUM): Update.
33865
b36137f1
JM
338662012-08-08 Joseph Myers <joseph@codesourcery.com>
33867
33868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33869 Remove.
33870
cdd915fd
RM
338712012-08-08 Roland McGrath <roland@hack.frob.com>
33872
a2433aac
RM
33873 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33874
cdd915fd
RM
33875 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33876 sysdeps/unix -> sysdeps/posix move.
33877 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33878
bf9b740a
AM
338792012-08-07 Allan McRae <allan@archlinux.org>
33880
33881 [BZ #14303]
33882 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33883 (SUNOS_CPP): Likewise.
33884 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33885 not found.
33886 (open_input): Call CPP using execvp.
33887
93df14ee
JM
338882012-08-07 Joseph Myers <joseph@codesourcery.com>
33889
33890 * sysdeps/unix/sysv/linux/kernel-features.h
33891 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33892 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33893 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33894 (__ASSUME_WAITID_SYSCALL): Likewise.
33895 * sysdeps/unix/sysv/linux/dl-execstack.c
33896 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33897 code unconditional.
33898 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33899 conditional code.
33900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33901 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33902 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33903 code.
33904 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33905 unconditional.
33906 [__ASSUME_WAITID_SYSCALL]: Likewise.
33907 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33908
d34689de
RM
339092012-08-07 Roland McGrath <roland@hack.frob.com>
33910
a281decc
RM
33911 * sysdeps/unix/closedir.c: Renamed to ...
33912 * sysdeps/posix/closedir.c: ... here.
33913 * sysdeps/unix/dirfd.c: Renamed to ...
33914 * sysdeps/posix/dirfd.c: ... here.
33915 * sysdeps/unix/dirstream.h: Renamed to ...
33916 * sysdeps/posix/dirstream.h: ... here.
33917 * sysdeps/unix/fdopendir.c: Renamed to ...
33918 * sysdeps/posix/fdopendir.c: ... here.
33919 * sysdeps/unix/opendir.c: Renamed to ...
33920 * sysdeps/posix/opendir.c: ... here.
33921 * sysdeps/unix/readdir.c: Renamed to ...
33922 * sysdeps/posix/readdir.c: ... here.
33923 * sysdeps/unix/readdir_r.c: Renamed to ...
33924 * sysdeps/posix/readdir_r.c: ... here.
33925 * sysdeps/unix/rewinddir.c: Renamed to ...
33926 * sysdeps/posix/rewinddir.c: ... here.
33927 * sysdeps/unix/seekdir.c: Renamed to ...
33928 * sysdeps/posix/seekdir.c: ... here.
33929 * sysdeps/unix/telldir.c: Renamed to ...
33930 * sysdeps/posix/telldir.c: ... here.
33931 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33932 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33933 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33934 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33935
22895b47
RM
33936 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33937 * bits/fcntl.h: ... here.
33938
707a53b6
RM
33939 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33940 not 0.
33941 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33942 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33943 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33944 (struct flock): Move l_start, l_len to the beginning.
33945 Use __pid_t for l_pid.
33946 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33947 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33948 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33949 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33950 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33951 [__USE_LARGEFILE64] (struct flock64): New type.
33952 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33953
f0bd3e25
RM
33954 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33955 * bits/dirent.h: ... here.
33956
d34689de
RM
33957 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33958 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33959
6dad2c06
JM
339602012-08-07 Joseph Myers <joseph@codesourcery.com>
33961
33962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33963 Change from 2.6.0 to 2.6.16.
33964 * sysdeps/unix/sysv/linux/configure: Regenerated.
33965 * sysdeps/unix/sysv/linux/kernel-features.h
33966 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33967 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33968 version.
33969 (__ASSUME_UTIMES): Likewise.
33970 (__ASSUME_CLONE_STOPPED): Remove.
33971 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33972 architectures, not kernel version.
33973 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33974 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33975 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33976 (__ASSUME_WAITID_SYSCALL): Likewise.
33977 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33978 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33979 * README: State 2.6.16 as minimum Linux kernel version. Do not
33980 refer to older versions.
33981
03af9520
RM
339822012-08-06 Roland McGrath <roland@hack.frob.com>
33983
8e49df1d
RM
33984 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33985 Define alphasort64 as an alias.
33986 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33987 Define versionsort64 as an alias.
33988 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33989 Define scandir64 as an alias.
33990 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33991 Define scandirat64 as an alias.
33992 * dirent/alphasort64.c (alphasort64):
33993 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33994 * dirent/versionsort64.c: Likewise.
33995 * dirent/scandir64.c: Likewise.
33996 * dirent/scandirat64.c: Likewise.
33997 * sysdeps/wordsize-64/alphasort.c: File removed.
33998 * sysdeps/wordsize-64/alphasort64.c: File removed.
33999 * sysdeps/wordsize-64/scandir.c: File removed.
34000 * sysdeps/wordsize-64/scandir64.c: File removed.
34001 * sysdeps/wordsize-64/scandirat.c: File removed.
34002 * sysdeps/wordsize-64/scandirat64.c: File removed.
34003 * sysdeps/wordsize-64/versionsort.c: File removed.
34004 * sysdeps/wordsize-64/versionsort64.c: File removed.
34005 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34006 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34007 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34008 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34009 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34010 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34011 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34012 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34013
34014 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34016 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34017 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34018 [defined __arch64__ || defined __sparcv9]
34019 (__INO_T_MATCHES_INO64_T): New macro.
34020 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34021 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34022 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34023 * sysdeps/unix/sysv/linux/bits/dirent.h
34024 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34025 (_DIRENT_MATCHES_DIRENT64): New macro.
34026
03af9520
RM
34027 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34028 Define lockf64 as an alias.
34029 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34030 Define fseeko64 as an alias.
34031 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34032 Define ftello64 as an alias.
34033 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34034 Define _IO_fgetpos64 and fgetpos64 as aliases.
34035 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34036 Define _IO_fsetpos64 and fsetpos64 as aliases.
34037 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34038 Conditionalize body on this.
34039 * libio/fseeko64.c: Likewise.
34040 * libio/ftello64.c: Likewise.
34041 * libio/iofgetpos64.c: Likewise.
34042 * libio/iofsetpos64.c: Likewise.
34043 * sysdeps/wordsize-64/lockf.c: File removed.
34044 * sysdeps/wordsize-64/lockf64.c: File removed.
34045 * sysdeps/wordsize-64/fseeko.c: File removed.
34046 * sysdeps/wordsize-64/fseeko64.c: File removed.
34047 * sysdeps/wordsize-64/ftello.c: File removed.
34048 * sysdeps/wordsize-64/ftello64.c: File removed.
34049 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34050 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34051 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34052 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34053 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34054 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34055 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34056 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34057 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34058 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34060 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34061 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34062 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34063
34064 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34066 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34067 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34068 [defined __arch64__ || defined __sparcv9]
34069 (__OFF_T_MATCHES_OFF64_T): New macro.
34070 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34071 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34073 (__OFF_T_MATCHES_OFF64_T): New macro.
34074
c5757acd
L
340752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34076
34077 * stdlib/secure-getenv.c (__secure_getenv): Replace
34078 GLIBC_2_16 with GLIBC_2_17.
34079
3a31811e
L
340802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34081
34082 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34083 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34084
faa2bccb
DM
340852012-08-03 David S. Miller <davem@davemloft.net>
34086
34087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34088
85fe1997
JM
340892012-08-03 Joseph Myers <joseph@codesourcery.com>
34090
34091 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34092 Remove.
34093 (__ASSUME_CORRECT_SI_PID): Likewise.
34094 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34095 (__ASSUME_TMPFS_NAME): Likewise.
34096 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34097 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34098 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34099 (HAVE_AUX_SECURE): Make definition unconditional.
34100 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34101 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34102
4f75b7a0
RM
341032012-08-03 Roland McGrath <roland@hack.frob.com>
34104
34105 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34106 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34107 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34108 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34109 __eloop_threshold instead of SYMLOOP_MAX.
34110
34111 * sysdeps/generic/eloop-threshold.h: New file.
34112 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34113 of MAXSYMLINKS.
34114 * elf/chroot_canon.c (chroot_canon): Likewise.
34115
7aab07e4
JM
341162012-08-03 Joseph Myers <joseph@codesourcery.com>
34117
34118 [BZ #13717]
34119 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34120 Change to 2.6.0 everywhere.
34121 * sysdeps/unix/sysv/linux/configure: Regenerated.
34122 * sysdeps/unix/sysv/linux/kernel-features.h
34123 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34124 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34125 kernel versions.
34126 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34127 (__ASSUME_FUTEX_REQUEUE): Remove.
34128 (__ASSUME_STATFS64): Define unconditionally.
34129 (__ASSUME_AT_SECURE): Likewise.
34130 (__ASSUME_CORRECT_SI_PID): Likewise.
34131 (__ASSUME_TGKILL): Define without depending on kernel version for
34132 i386.
34133 (__ASSUME_UTIMES): Likewise.
34134 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34135 kernel version.
34136 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34137 (__ASSUME_TMPFS_NAME): Likewise.
34138 * README: Update reference to Linux kernel versions.
34139
b67e9372
MP
341402012-08-02 Marek Polacek <polacek@redhat.com>
34141
1f529f7d 34142 [BZ# 14150]
b67e9372
MP
34143 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34144 libc_cv_asm_type_prefix with %.
34145 * configure: Regenerated.
d2441631
RM
34146 * include/libc-symbols.h: Remove comment about
34147 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34148 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34149 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34150 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34151 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34152 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34153 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34154 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34155 * elf/tst-unique2mod1.c: Likewise.
34156 * elf/tst-unique1mod2.c: Likewise.
34157 * elf/tst-unique1mod1.c: Likewise.
34158 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34159 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34160 Replace ASM_TYPE_DIRECTIVE with .type.
34161 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34162 * sysdeps/i386/sysdep.h: Likewise.
34163 * sysdeps/x86_64/sysdep.h: Likewise.
34164 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34166 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34167 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34168 * sysdeps/powerpc/powerpc32/sysdep.h:
34169 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34170 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34171 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34172 * sysdeps/i386/fpu/e_powf.S: Likewise.
34173 * sysdeps/i386/fpu/e_expl.S: Likewise.
34174 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34175 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34176 * sysdeps/i386/fpu/e_pow.S: Likewise.
34177 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34178 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34179 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34180 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34181 * sysdeps/i386/fpu/e_log2.S: Likewise.
34182 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34183 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34184 * sysdeps/i386/fpu/e_powl.S: Likewise.
34185 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34186 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34187 * sysdeps/i386/fpu/e_logl.S: Likewise.
34188 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34189 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34190 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34191 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34192 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34193 * sysdeps/i386/fpu/e_log.S: Likewise.
34194 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34195 * sysdeps/i386/fpu/e_logf.S: Likewise.
34196 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34197 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34198 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34199 * sysdeps/i386/fpu/e_log10.S: Likewise.
34200 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34201 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34202 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34203 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34204 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34205 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34206 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34207 * sysdeps/i386/i686/strtok.S: Likewise.
34208 * sysdeps/i386/i386-mcount.S: Likewise.
34209 * sysdeps/i386/strtok.S: Likewise.
34210 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34211 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34212 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34213 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34214 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34215 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34216 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34217 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34218 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34219 * sysdeps/x86_64/_mcount.S: Likewise.
34220 * sysdeps/x86_64/strtok.S: Likewise.
34221 * sysdeps/sh/_mcount.S: Likewise.
34222
2747bf9a
RM
342232012-08-01 Roland McGrath <roland@hack.frob.com>
34224
34225 * libio/iofopen.c: Include <fcntl.h>.
34226 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34227 (_IO_fopen64, fopen64): Define as aliases.
34228 * libio/iofopen64.c: Include <fcntl.h>.
34229 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34230 Conditionalize body on this.
34231 * sysdeps/wordsize-64/iofopen.c: File removed.
34232 * sysdeps/wordsize-64/iofopen64.c: File removed.
34233
3fb791b8
MP
342342012-08-01 Marek Polacek <polacek@redhat.com>
34235
34236 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34237 Use dlfcn directly instead of a variable.
34238 (binfmt-subdir): Do not define.
34239 (dlfcn): Likewise.
34240
a9f1039f
JM
342412012-08-01 Joseph Myers <joseph@codesourcery.com>
34242
23bddc06
JM
34243 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34244 Remove all definitions.
34245 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34246 <kernel-features.h>.
34247 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34248 (miss_F_GETOWN_EX): Remove all definitions.
34249 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34250 macro definition.
34251 [!__ASSUME_FCNTL64]: Remove conditional code.
34252 [__ASSUME_FCNTL64]: Make code unconditional.
34253 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34254 <kernel-features.h>.
34255 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34256 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34257 (lockf64) [__NR_fcntl64]: Make code unconditional.
34258 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34259
a9f1039f
JM
34260 * sysdeps/unix/sysv/linux/kernel-features.h
34261 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34262 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34263 Make code unconditional.
34264 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34265 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34267 [__NR_vfork]: Make code unconditional.
34268 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34269 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34271 [__NR_vfork]: Make code unconditional.
34272 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34273 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34274
09c0ee5f
RM
342752012-08-01 Roland McGrath <roland@hack.frob.com>
34276
48aec5b9
RM
34277 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34278 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34279
cd97c966
RM
34280 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34281 Define mkstemp64 as an alias.
3f55550c
RM
34282 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34283 Define mkstemps64 as an alias.
cd97c966
RM
34284 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34285 Define mkostemp64 as an alias.
b8625cfc
RM
34286 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34287 Define mkostemps64 as an alias.
cd97c966
RM
34288 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34289 Conditionalize body on this.
34290 * misc/mkostemp64.c: Likewise.
b8625cfc 34291 * misc/mkostemps64.c: Likewise.
3f55550c 34292 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34293 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34294 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34295 * sysdeps/wordsize-64/mkostemp.c: File removed.
34296 * sysdeps/wordsize-64/mkstemp.c: File removed.
34297 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34298 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34299 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34300 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34301
09c0ee5f
RM
34302 [BZ #14138]
34303 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34304 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34305 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34306 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34307
34308 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34309 compat_symbol macros from <shlib-compat.h> rather than the underlying
34310 default_symbol_version and symbol_version macros, so that DEFAULT
34311 lines in shlib-versions are respected.
34312 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34313
7e66ee51
FW
343142012-08-01 Florian Weimer <fweimer@redhat.com>
34315
34316 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34317 Declare with warn_unused_result.
34318 (setgid, setregid, setegid, setresgid): Likewise.
34319 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34320 Likewise.
34321 * WUR-REPORT: Remove set*id functions.
34322
d2a54255
PT
343232012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34324
34325 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34326
7ecdb005
RM
343272012-07-31 Roland McGrath <roland@hack.frob.com>
34328
b4180a5e 34329 [BZ #10191]
789bd351
RM
34330 * include/sys/socket.h (__libc_accept, __libc_accept4):
34331 Add attribute_hidden.
34332 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34333
40ce302d
RM
34334 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34335 use of PTR_MANGLE.
34336 * inet/getnetgrent_r.c (setup): Likewise.
34337
7ecdb005
RM
34338 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34339
e2eabb2c
DM
343402012-07-31 David S. Miller <davem@davemloft.net>
34341
34342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34343
d0419dbf
JM
343442012-07-31 Joseph Myers <joseph@codesourcery.com>
34345
34346 [BZ #13629]
34347 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34348 value between 1.0 and 2.0 and smaller part has absolute value less
34349 than 1.0.
34350 * math/s_clog10.c (__clog10): Likewise.
34351 * math/s_clog10f.c (__clog10f): Likewise.
34352 * math/s_clog10l.c (__clog10l): Likewise.
34353 * math/s_clogf.c (__clogf): Likewise.
34354 * math/s_clogl.c (__clogl): Likewise.
34355 * math/libm-test.inc (clog_test): Add more tests.
34356 (clog10_test): Likewise.
34357 * sysdeps/i386/fpu/libm-test-ulps: Update.
34358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34359
2bc13872
FW
343602012-07-31 Florian Weimer <fweimer@redhat.com>
34361
34362 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34363 Exit with zero in case no suitable GID is found, and write a
34364 message to standard error.
34365
bea9b193
RM
343662012-07-30 Roland McGrath <roland@hack.frob.com>
34367
34368 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34369 rather than to 1.
34370 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34371 (MAXPATHLEN): Removed.
34372 (NOGROUP, NODEV): New macros.
34373 (setbit, clrbit, isset, isclr): New macros.
34374 (howmany, roundup, powerof2): New macros.
34375 (DEV_BSIZE): New macro.
34376
34377 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34378 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34379
34380 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34381 definition on [!__NO_LONG_DOUBLE_MATH].
34382
34383 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34384 PTR_MANGLE and PTR_DEMANGLE.
34385
34386 * socket/accept4.c (accept4): Rename to __libc_accept4.
34387 Define accept4 as a weak alias.
34388
34389 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34390 on [_DIRENT_HAVE_D_TYPE].
34391 * io/ftw.c (ftw_dir): Likewise.
34392
34393 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34394
34395 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34396
34397 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34398 Use the BSD numbers rather than the arbitrary ones we had.
34399 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34400 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34401 (SIGXCPU, SIGXFSZ): New macros.
34402 (_NSIG): Now 32.
34403
34404 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34405 initializer on [_LIBC_REENTRANT].
34406
34407 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34408 definitions inside [_POSIX_MAPPED_FILES].
34409
34410 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34411
34412 * dirent/opendir.c: Include <fcntl.h>.
34413
34414 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34415 (__libc_getspecific): Likewise.
34416 (__libc_key_create): Likewise.
34417
34418 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34419 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34420 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34421 (tmpfile64): Define as alias.
34422 * sysdeps/wordsize-64/tmpfile.c: File removed.
34423 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34424 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34425 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34426
34427 * stdio-common/vfscanf.c: Include <stdbool.h>.
34428 * nss/makedb.c: Likewise.
34429 * stdio-common/_i18n_number.h: Likewise.
34430 * argp/argp-help.c: Likewise.
34431 * posix/wordexp.c: Likewise.
34432 * sysdeps/posix/spawni.c: Likewise.
34433 * nss/nss_files/files-initgroups.c: Likewise.
34434 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34435 * nss/nss_files/files-initgroups.c: Likewise.
34436 * nss/nss_db/db-netgrp.c: Likewise.
34437 * nss/nss_db/db-initgroups.c: Likewise.
34438 * io/fchmodat.c: Include <sys/stat.h>.
34439
34440 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34441 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34442
34443 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34444 [HAVE_MMAP].
34445
34446 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34447 Add multiple inclusion protection.
34448
e5abc686
DM
344492012-07-27 David S. Miller <davem@davemloft.net>
34450
34451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34452
815e6fa3
GB
344532012-07-27 Gary Benson <gbenson@redhat.com>
34454
34455 [BZ #14298]
34456 * elf/rtld.c: Include <stap-probe.h>.
34457 (dl_main): Added static probes "init_start" and "init_complete".
34458 * elf/dl-load.c: Include <stap-probe.h>.
34459 (lose): Take new parameter "nsid".
34460 Added static probe "map_failed".
34461 (_dl_map_object_from_fd): Pass namespace id to lose.
34462 Added static probe "map_start".
34463 (open_verify): Pass namespace id to lose.
34464 * elf/dl-open.c: Include <stap-probe.h>.
34465 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34466 and "reloc_complete".
34467 * elf/dl-close.c: Include <stap-probe.h>.
34468 (_dl_close_worker): Added static probes "unmap_start" and
34469 "unmap_complete".
34470 * elf/rtld-debugger-interface.txt: New file documenting the above.
34471
9f98c16c
RM
344722012-07-26 Roland McGrath <roland@hack.frob.com>
34473
34474 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34475 rather than a string variable.
34476 * sunrpc/rpc_main.c (h_output): Likewise.
34477 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34478
f3c22df3
PT
344792012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34480
34481 * inet/check_native.c: New file.
34482
3129cfc6
JM
344832012-07-26 Joseph Myers <joseph@codesourcery.com>
34484
da865e95
JM
34485 [BZ #13629]
34486 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34487 if larger part has absolute value 1.0.
34488 * math/s_clog10.c (__clog10): Likewise.
34489 * math/s_clog10f.c (__clog10f): Likewise.
34490 * math/s_clog10l.c (__clog10l): Likewise.
34491 * math/s_clogf.c (__clogf): Likewise.
34492 * math/s_clogl.c (__clogl): Likewise.
34493 * math/libm-test.inc (clog_test): Add more tests.
34494 (clog10_test): Likewise.
34495 * sysdeps/i386/fpu/libm-test-ulps: Update.
34496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34497
3129cfc6
JM
34498 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34499 (pltexit): Likewise.
34500 (La_regs): Likewise.
34501 (La_retval): Likewise.
34502 (int_retval): Likewise.
34503 Update #error for removed macros to refer only to definitions in
34504 tst-audit.h.
34505 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34506 macro.
34507 (pltexit): Likewise.
34508 (La_regs): Likewise.
34509 (La_retval): Likewise.
34510 (int_retval): Likewise.
34511 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34512 macro.
34513 (pltexit): Likewise.
34514 (La_regs): Likewise.
34515 (La_retval): Likewise.
34516 (int_retval): Likewise.
34517 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34518 macro.
34519 (pltexit): Likewise.
34520 (La_regs): Likewise.
34521 (La_retval): Likewise.
34522 (int_retval): Likewise.
34523 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34524 macro.
34525 (pltexit): Likewise.
34526 (La_regs): Likewise.
34527 (La_retval): Likewise.
34528 (int_retval): Likewise.
34529 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34530 macro.
34531 (pltexit): Likewise.
34532 (La_regs): Likewise.
34533 (La_retval): Likewise.
34534 (int_retval): Likewise.
34535 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34536 macro.
34537 (pltexit): Likewise.
34538 (La_regs): Likewise.
34539 (La_retval): Likewise.
34540 (int_retval): Likewise.
34541 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34542 macro definitions in tst-audit.h.
34543 * sysdeps/i386/tst-audit.h: New file.
34544 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34545 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34546 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34547 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34548 * sysdeps/sh/tst-audit.h: Likewise.
34549 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34550 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34551 * sysdeps/x86_64/tst-audit.h: Likewise.
34552
bfc07087
AJ
345532012-07-26 Andreas Jaeger <aj@suse.de>
34554
b1b2aaf8
AJ
34555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34556 ptrace.
34557
34558 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34559 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34560 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34561 PTRACE_O_MASK.
34562 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34563 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34564 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34565
bfc07087
AJ
34566 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34567 value.
34568
34569 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34570 _sigsys.
34571 (si_call_addr, si_syscall, si_arch): Define new macro.
34572 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34573 _sigsys.
34574 (si_call_addr, si_syscall, si_arch): Define new marcro.
34575 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34576 _sigsys.
34577 (si_call_addr, si_syscall, si_arch): Define new macro.
34578 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34579 _sigsys.
34580 (si_call_addr, si_syscall, si_arch): Define new macro.
34581
89b4b02f
JM
345822012-07-25 Joseph Myers <joseph@codesourcery.com>
34583
34584 [BZ #13717]
34585 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34586 Change to 2.4.21 where previously 2.4.1.
34587 * sysdeps/unix/sysv/linux/configure: Regenerated.
34588 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34589 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34590 Linux kernel version.
34591 (__ASSUME_STD_AUXV): Remove.
34592 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34593 kernel version.
34594 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34595 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34596 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34597 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34598 (__ASSUME_NETLINK_SUPPORT): Likewise.
34599 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34600 (__no_netlink_support): Remove conditional definition.
34601 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34602 Remove.
34603 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34604 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34605 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34606 (if_nameindex_ioctl): Remove.
34607 (if_nameindex_netlink): Do not handle __no_netlink_support.
34608 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34609 code.
34610 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34611 Remove conditional code.
34612 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34613 code.
34614 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34615 unconditional.
34616 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34617 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34618 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34619 Remove.
34620 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34621 [!__ASSUME_STD_AUXV]: Remove conditional code.
34622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34623 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34624 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34626 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34627 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34628 code.
34629 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34631 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34632 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34633 conditional code.
34634 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34636 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34637 code.
34638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34639 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34640 conditional code.
34641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34642 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34643 code unconditional.
34644 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34645 conditional code.
34646 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34647 unconditional.
34648 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34649 conditional code.
34650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34651 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34652 unconditional.
34653 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34654 conditional code.
34655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34656 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34657 code unconditional.
34658 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34659 conditional code.
34660 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34661 unconditional.
34662 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34663 conditional code.
34664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34665 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34666 code unconditional.
34667 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34668 conditional code.
34669 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34670 unconditional.
34671 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34672 conditional code.
34673
842a39cd
AS
346742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34675
34676 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34677 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34678 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34679 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34680 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34681 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34682 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34683 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34684 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34685 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34686 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34687 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34688 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34689 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34690 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34691 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34692 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34693 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34694 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34696 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34697 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34698 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34699
84b3fd84
FW
347002012-07-25 Florian Weimer <fweimer@redhat.com>
34701
34702 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34703 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34704 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34705 Introduce __libc_secure_getenv.
0c7936d5
FW
34706 * stdlib/Versions (2.17): Add secure_getenv
34707 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34708 * stdlib/secure-getenv.c: Rename __secure_getenv to
34709 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34710 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34711 * stdlib/tst-secure-getenv.c: New.
34712 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34713 * manual/startup.texi (Environment Access): Document
34714 secure_getenv.
84b3fd84
FW
34715 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34716 __libc_secure_getenv.
34717 * inet/ruserpass.c (ruserpass): Likewise.
34718 * malloc/mtrace.c (mtrace): Likewise.
34719 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34720 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34721 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34722 * sysdeps/posix/tempname.c: Likewise. Evaluate
34723 HAVE_SECURE_GETENV.
34724 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34725 __secure_getenv to __libc_secure_getenv.
84b3fd84 34726 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34728 Likewise.
34729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34730 Likewise.
34731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34733 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34738
56e49b71
JM
347392012-07-25 Joseph Myers <joseph@codesourcery.com>
34740
34741 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34742 (struct La_i86_retval): Likewise.
34743 (struct La_x86_64_regs): Likewise.
34744 (struct La_x86_64_retval): Likewise.
34745 (struct La_x32_regs): Likewise.
34746 (struct La_x32_retval): Likewise.
34747 (struct La_ppc32_regs): Likewise.
34748 (struct La_ppc32_retval): Likewise.
34749 (struct La_ppc64_regs): Likewise.
34750 (struct La_ppc64_retval): Likewise.
34751 (struct La_sh_regs): Likewise.
34752 (struct La_sh_retval): Likewise.
34753 (struct La_s390_32_regs): Likewise.
34754 (struct La_s390_32_retval): Likewise.
34755 (struct La_s390_64_regs): Likewise.
34756 (struct La_s390_64_retval): Likewise.
34757 (struct La_sparc32_regs): Likewise.
34758 (struct La_sparc32_retval): Likewise.
34759 (struct La_sparc64_regs): Likewise.
34760 (struct La_sparc64_retval): Likewise.
34761 (struct audit_ifaces): Remove architecture-specific pltenter and
34762 pltexit members.
34763 * sysdeps/i386/ldsodefs.h: New file.
34764 * sysdeps/powerpc/ldsodefs.h: Likewise.
34765 * sysdeps/s390/ldsodefs.h: Likewise.
34766 * sysdeps/sh/ldsodefs.h: Likewise.
34767 * sysdeps/sparc/ldsodefs.h: Likewise.
34768 * sysdeps/x86_64/ldsodefs.h: Likewise.
34769
354691b7
MP
347702012-07-25 Marek Polacek <polacek@redhat.com>
34771
34772 [BZ #6808]
34773 * math/libm-test.inc (yn_test): Add another test.
34774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34775 to ERANGE when the result is +-Inf.
34776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34777 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34778 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34779 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34780
bf9e2071
JM
347812012-07-24 Joseph Myers <joseph@codesourcery.com>
34782
34783 * conform/data/time.h-data (NULL): Use macro-constant. Require
34784 equal to 0.
34785 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34786 clock_t.
34787 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34788
57633811
TS
347892012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34790
34791 * configure.in <sysdeps resolving>: Correct printing
34792 Implies_before.
34793 * configure: Regenerate.
34794
c23c33b0
TS
347952012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34796
34797 * math/w_ilogb.c: Include <limits.h>.
34798 * math/w_ilogbl.c: Likewise.
34799
b5982523
JM
348002012-07-20 Joseph Myers <joseph@codesourcery.com>
34801
34802 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34803 va_copy. Document allowing for unavailable va_copy only as
34804 pre-C99 compatibility.
34805 * manual/string.texi (Copying and Concatenation): Use va_copy
34806 instead of __va_copy in concat example.
34807
ac4ea442
PT
348082012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34809
34810 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34811 (__sendto): Use create_address_port. Initialize APORT and deallocate
34812 it if not null.
34813
f98eafbd
PT
34814 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34815 with O_NOLINK passed to __file_name_lookup.
34816
898c7aab
PT
34817 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34818 with O_NOLINK passed to __file_name_lookup.
34819
0ced335a
PT
34820 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34821 negative N or less than NGIDS.
34822
b3404dbd
PT
34823 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34824 type to string_t. Set ERANGE as errno and return it if NAME is not big
34825 enough. Use memcpy instead of strncpy.
34826
0f48659e
JM
348272012-07-20 Joseph Myers <joseph@codesourcery.com>
34828
34829 * elf/Makefile (check-data): Remove.
34830 (localplt.data): New vpath directive.
34831 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34832 instead of $(check-data).
34833 * scripts/data/localplt-generic.data: Move to ...
34834 * sysdeps/generic/localplt.data: ... here.
34835 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34836 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34837 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34839 ... here.
34840 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34842 ... here.
34843 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34845 ... here.
34846 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34848 ... here.
34849 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34851 ... here.
34852 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34854 ... here.
34855
d37cbdaa
AZ
348562012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34857
34858 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34859 PPC32 and PPC64 files.
34860 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34861 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34862
46f85fc2
AK
348632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34864
34865 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34866 __makecontext_ret to ...
34867 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34868 ... here and call exit if uc_link is NULL. New file.
34869 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34870 __makecontext_ret.S.
34871 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34872 __makecontext_ret to ...
34873 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34874 ... here and call exit if uc_link is NULL. New file.
34875 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34876 __makecontext_ret.S.
34877
08f43f9b
AK
348782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34879
34880 * elf/elf.h (R_390_IRELATIVE): New definition.
34881 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34882 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34883 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34884 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34885 (elf_machine_lazy_rel): Likewise.
34886 * sysdeps/s390/dl-irel.h: New file.
34887 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34888 * sysdeps/s390/s390-64/memset.S: New asm code.
34889 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34890 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34891 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34892 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34893 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34894 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34895 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34896 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34897 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34898 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34899 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34900 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34901 * sysdeps/s390/s390-32/memset.S: New asm code.
34902 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34903
3b05db33
MP
349042012-07-17 Marek Polacek <polacek@redhat.com>
34905
34906 [BZ #14349]
34907 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34908 * sysdeps/s390/s390-64/configure.in: Likewise.
34909 * sysdeps/sparc/configure.in: Likewise.
34910 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34911 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34912 * sysdeps/i386/configure.in: Likewise.
34913 * sysdeps/x86_64/configure.in: Likewise.
34914 * sysdeps/sh/configure.in: Likewise.
34915 * sysdeps/s390/s390-32/configure: Regenerated.
34916 * sysdeps/s390/s390-64/configure: Likewise.
34917 * sysdeps/x86_64/configure: Likewise.
34918 * sysdeps/sh/configure: Likewise.
34919 * sysdeps/powerpc/powerpc64/configure: Likewise.
34920 * sysdeps/powerpc/powerpc32/configure: Likewise.
34921 * sysdeps/sparc/configure: Likwise.
34922 * sysdeps/i386/configure: Likewise.
34923
a66877c6
MP
34924 * elf/dl-open.c: Comment fixes.
34925
cfc82fd8
JM
349262012-07-17 Joseph Myers <joseph@codesourcery.com>
34927
bd29910a
JM
34928 * Makefile [CXX] (check-data): Remove.
34929 [CXX] (c++-types.data): New vpath directive.
34930 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34931 vpath. Do not allow for C++ type data being missing.
34932 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34933 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34934 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34935 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34936 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34937 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34938 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34940 ... here.
34941 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34943 ... here.
34944 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34946 ... here.
34947 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34949 ... here.
34950 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34952 ... here.
34953 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34955 ... here.
34956 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34958 ... here.
34959 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34961
cfc82fd8
JM
34962 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34963 definitions to architecture-specific files.
34964 (TLS_IE): Likewise.
34965 (TLS_LD): Likewise.
34966 (TLS_GD): Likewise.
34967 * sysdeps/i386/tls-macros.h: New file.
34968 * sysdeps/powerpc/tls-macros.h: Likewise.
34969 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34970 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34971 * sysdeps/sh/tls-macros.h: Likewise.
34972 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34973 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34974 * sysdeps/x86_64/tls-macros.h: Likewise.
34975
f7db3170
TS
349762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34977
07cbfc23
TS
34978 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34979 zero value for regular exit case.
34980
f7db3170
TS
34981 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34982 (__start_context): Preserve zero value for regular exit case.
34983
dc97c227
TS
349842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34985 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34986
34987 * manual/setjmp.texi (setcontext): Clarify normal process
34988 termination when uc_link is the null pointer.
34989 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34990 exit call.
34991
d0cd7d02
AS
349922012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34993
34994 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34995 preprocessor. Test for each exception mask separately.
34996
dd318934
AJ
349972012-07-16 Andreas Jaeger <aj@suse.de>
34998
34999 * po/ru.po: Update from translation team.
35000
8048311a
JM
350012012-07-15 Joseph Myers <joseph@codesourcery.com>
35002
35003 * conform/data/string.h-data (NULL): Use macro-constant. Require
35004 equal to 0.
35005 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35006 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35007 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35008 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35010
b637d46e
AJ
350112012-07-13 Andreas Jaeger <aj@suse.de>
35012
35013 * po/fr.po: Update from translation team.
35014
541428fe
MP
350152012-07-12 Marek Polacek <polacek@redhat.com>
35016
35017 [BZ #14173]
35018 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35019 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35020 loop condition.
35021
ec332e94
JM
350222012-07-12 Joseph Myers <joseph@codesourcery.com>
35023
35024 [BZ #13717]
35025 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35026 Change to 2.4.1 where previously 2.4.0.
35027 * sysdeps/unix/sysv/linux/configure: Regenerated.
35028 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35029 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35030 version.
35031 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35032 (__ASSUME_AT_CLKTCK): Remove.
35033 (__ASSUME_AT_PAGESIZE): Likewise.
35034 (__ASSUME_AT_XID): Likewise.
35035 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35036 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35037 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35038 unconditionally.
35039 (HAVE_AUX_PAGESIZE): Likewise.
35040 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35041 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35042 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35043
7b6e99be
JB
350442012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35045
35046 [BZ #14307]
35047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35048 the temporary buffer used to invoke __gethostbyname2_r,
35049 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35050 host_data / struct gaih_addrtuple.
35051 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35052 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35053 header file nss/nsswitch.h.
35054 * nss/nsswitch.h (global scope): Add definition of implementation
35055 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35056 resolv/nss_dns/dns-host.c).
35057
608404eb
AJ
350582012-07-11 Andreas Jaeger <aj@suse.de>
35059
35060 * po/fr.po: Update from translation team.
35061
71220aca
AJ
35062 * po/sv.po: Update from translation team
35063 * po/fr.po: Another update from translation team.
35064
28cfe843
AZ
350652012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35066
35067 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35068 for subnormals or multiply small sinh result by itself.
35069 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35071
6b90f981
DM
350722012-07-11 David S. Miller <davem@davemloft.net>
35073
35074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35075
c6825772
AS
350762012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35077
35078 [BZ #14347]
35079 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35080 (INTERNAL_MARK): Shift it here.
35081
7b8e0d49
MP
350822012-07-10 Marek Polacek <polacek@redhat.com>
35083
35084 [BZ #14151]
35085 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35086 libc_cv_asm_global_directive with .globl.
35087 * configure: Regenerated.
35088 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35089 with .globl.
35090 * sysdeps/i386/configure: Regenerated.
35091 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35092 with .globl.
35093 * sysdeps/x86_64/configure: Regenerated.
35094 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35095 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35096 * elf/tst-unique2mod2.c: Likewise.
35097 * elf/tst-unique2mod1.c: Likewise.
35098 * elf/tst-unique1mod2.c: Likewise.
35099 * elf/tst-unique1mod1.c: Likewise.
35100 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35101 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35102 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35103 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35104 * sysdeps/mach/sysdep.h: Likewise.
35105 * sysdeps/i386/sysdep.h: Likewise.
35106 * sysdeps/i386/i386-mcount.S: Likewise.
35107 * sysdeps/x86_64/_mcount.S: Likewise.
35108 * sysdeps/x86_64/sysdep.h: Likewise.
35109 * sysdeps/sh/_mcount.S: Likewise.
35110 * sysdeps/sh/sysdep.h: Likewise.
35111 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35112 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35113 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35114 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35115 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35116 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35117 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35118 * locale/localeinfo.h: Likewise.
35119 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35120 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35121
6c55cda3
RM
351222012-07-09 Roland McGrath <roland@hack.frob.com>
35123
35124 [BZ #14336]
35125 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35126 system".
35127 * manual/message.texi (The Uniforum approach): Likewise.
35128 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35129 (glibc iconv Implementation): Likewise.
35130
638a572e
JM
351312012-07-09 Joseph Myers <joseph@codesourcery.com>
35132
35133 [BZ #14337]
35134 * math/s_clog.c (__clog): Avoid scaling a value down where that
35135 could result in underflow.
35136 * math/s_clog10.c (__clog10): Likewise.
35137 * math/s_clog10f.c (__clog10f): Likewise.
35138 * math/s_clog10l.c (__clog10l): Likewise.
35139 * math/s_clogf.c (__clogf): Likewise.
35140 * math/s_clogl.c (__clogl): Likewise.
35141 * math/libm-test.inc (clog_test): Add more tests.
35142 (clog10_test): Likewise.
35143 * sysdeps/i386/fpu/libm-test-ulps: Update.
35144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35145
261f4859
AS
351462012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35147
0abaf3e4
AS
35148 [BZ #14283]
35149 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35150 by 7 not 8 to examine high bit of fractional part.
35151
261f4859
AS
35152 [BZ #14042]
35153 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35154 for call to __mcount_internal.
35155 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35156 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35157 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35158
f17ac40d
JM
351592012-07-06 Joseph Myers <joseph@codesourcery.com>
35160
9ad63c23
JM
35161 [BZ #14154]
35162 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35163 approximation for values within 0x1p-13f of an odd multiple of
35164 pi/4.
35165 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35166 exception. Add more tests.
35167 * sysdeps/i386/fpu/libm-test-ulps: Update.
35168
f17ac40d
JM
35169 [BZ #6778]
35170 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35171 inputs and return -1 for them. Do not check for +Inf in case not
35172 reachable for +Inf.
35173 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35174 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35175 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35176 and return -1 for them. Do not check for +Inf in case not
35177 reachable for +Inf.
35178 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35179 define.
35180 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35181 and return -1 for them. Do not check for +Inf in case not
35182 reachable for +Inf.
35183 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35184 spurious underflow.
35185 * sysdeps/i386/fpu/libm-test-ulps: Update.
35186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35187
fb21f89b
MF
351882012-07-06 Mike Frysinger <vapier@gentoo.org>
35189
35190 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35191
cdfe2c5e
JM
351922012-07-05 Joseph Myers <joseph@codesourcery.com>
35193
35194 [BZ #14157]
35195 [BZ #14331]
35196 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35197 could result in spurious underflow. Scale down values above
35198 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35199 * math/s_csqrtf.c (__csqrtf): Likewise.
35200 * math/s_csqrtl.c (__csqrtl): Likewise.
35201 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35202 spurious underflow.
35203 * sysdeps/i386/fpu/libm-test-ulps: Update.
35204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35205
70d35b67
AS
352062012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35207
704bc459
AS
35208 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35209 xopen-msg.sed.
35210 * catgets/xopen-msg.awk: New file.
35211 * catgets/xopen-msg.sed: Removed.
35212
70d35b67
AS
35213 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35214 po2text.sed.
35215 * intl/po2test.awk: New file.
35216 * intl/po2test.sed: Removed.
35217
ca61cf32
JM
352182012-07-04 Joseph Myers <joseph@codesourcery.com>
35219
35220 [BZ #14328]
35221 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35222 or multiply small sinh result by itself.
35223 * math/s_ctanf.c (__ctanf): Likewise.
35224 * math/s_ctanh.c (__ctanh): Likewise.
35225 * math/s_ctanhf.c (__ctanhf): Likewise.
35226 * math/s_ctanhl.c (__ctanhl): Likewise.
35227 * math/s_ctanl.c (__ctanl): Likewise.
35228 * math/libm-test.inc (ctan_test_tonearest): New function.
35229 (ctan_test_towardzero): Likewise.
35230 (ctan_test_downward): Likewise.
35231 (ctan_test_upward): Likewise.
35232 (ctanh_test_tonearest): Likewise.
35233 (ctanh_test_towardzero): Likewise.
35234 (ctanh_test_downward): Likewise.
35235 (ctanh_test_upward): Likewise.
35236 (main): Call these new functions.
35237 * sysdeps/i386/fpu/libm-test-ulps: Update.
35238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35239
ca48a46a
MF
352402012-07-03 Mike Frysinger <vapier@gentoo.org>
35241
35242 * .gitignore: Delete /ports entry.
35243
9d63d37d
AJ
352442012-07-03 Andreas Jaeger <aj@suse.de>
35245
35246 * po/bg.po: Update from translation team.
35247 * po/cs.po: Likewise.
35248 * po/de.po: Likewise.
35249 * po/hr.po: Likewise.
35250 * po/nl.pl: Likewise.
35251 * po/pl.po: Likewise.
35252 * po/vi.po: Likewise.
35253
370ca3d2
JM
352542012-07-03 Joseph Myers <joseph@codesourcery.com>
35255
95f5a9a8
JM
35256 * Makeconfig [!+link] (+link-before-libc): New variable.
35257 [!+link] (+link-after-libc): Likewise.
35258 [!+link] (+link-tests): Likewise.
35259 [!+link] (+link): Define in terms of $(+link-before-libc) and
35260 $(+link-after-libc).
35261 [!+link-static] (+link-static-before-libc): New variable.
35262 [!+link-static] (+link-static-after-libc): Likewise.
35263 [!+link-static] (+link-static-tests): Likewise.
35264 [!+link-static] (+link-static): Define in terms of
35265 $(+link-static-before-libc) and $(+link-static-after-libc).
35266 [build-shared] (link-libc-before-gnulib): New variable.
35267 [build-shared] (link-libc-tests): Likewise.
35268 [build-shared] (link-libc): Define in terms of
35269 $(link-libc-before-gnulib).
35270 [!build-shared] (link-libc-tests): New variable.
35271 (link-libc-static-tests): New variable.
35272 [!gnulib] (gnulib-arch): New variable.
35273 [!gnulib] (gnulib-tests): Likewise.
35274 [!gnulib] (static-gnulib-arch): Likewise.
35275 [!gnulib] (static-gnulib-tests): Likewise.
35276 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35277 Define with "=" instead of ":=".
35278 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35279 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35280 * Rules (binaries-all-notests): New variable.
35281 (binaries-all-tests): Likewise.
35282 (binaries-static-notests): Likewise.
35283 (binaries-static-tests): Likewise.
35284 (binaries-all): Define using $(binaries-all-notests) and
35285 $(binaries-all-tests).
35286 (binaries-static): Define using $(binaries-static-notests) and
35287 $(binaries-static-tests).
35288 (binaries-shared-tests): New variable.
35289 (binaries-shared-notests): Likewise.
35290 (binaries-shared): Remove variable.
35291 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35292 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35293 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35294 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35295 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35296 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35297 * elf/Makefile (sln-modules): New variable.
35298 (extra-objs): Add $(sln-modules:=.o).
35299 (ldconfig-modules): Add static-stubs.
35300 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35301 * elf/static-stubs.c: New file.
35302
7a845b2c
JM
35303 [BZ #14283]
35304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35305 by 7 not 8 to examine high bit of fractional part. Use volatile
35306 variables when splitting into final array of floats if
35307 __FLT_EVAL_METHOD__ != 0.
35308 * math/libm-test.inc (cos_test): Add another test.
35309 (sin_test): Likewise.
35310 * sysdeps/i386/fpu/libm-test-ulps: Update.
35311
e2283f38
JM
35312 [BZ #14273]
35313 * math/libm-test.inc (cosh_test): Add more tests.
35314
370ca3d2
JM
35315 * version.h (RELEASE): Set to "development".
35316 (VERSION): Set to "2.16.90".
35317
ee9247c3
CD
353182012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35319
35320 * NEWS: Update copyright. Remove last-updated date.
35321 Mention math library bug fixes and timezone data changes.
35322 * README: Mention GNU/Hurd, x32, and HPPA support status.
35323
4648c381
TS
353242012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35325
35326 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35327
aac78a43
AJ
353282012-06-27 Andreas Jaeger <aj@suse.de>
35329
35330 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35331
ed3dbfad
AJ
353322012-06-25 Andreas Jaeger <aj@suse.de>
35333
35334 * sysdeps/s390/fpu/libm-test-ulps: Update.
35335
4d0ee855
AS
353362012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35337 Thomas Schwinge <thomas@codesourcery.com>
35338
35339 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35340 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35342 fanotify_mark.
35343
af1bce34
TS
353442012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35345
a9fa33ba
TS
35346 * sysdeps/mach/start.c: Remove file.
35347 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35348 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35349 * sysdeps/sh/init-first.c: Likewise.
35350
58f902b8
TS
35351 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35352 registers for frame unwinding purposes, add CFI directives.
35353 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35354 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35355 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35356 Likewise.
35357
1518f58b
TS
35358 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35359 __fortify_fail returning.
35360 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35361
db9b5059
TS
35362 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35363 sysdeps/sh/____longjmp_chk.S.
35364 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35365 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35366 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35367 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35368
967705fe
TS
35369 * sysdeps/sh/abort-instr.h: New file.
35370 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35371 process in case exit returns.
35372
a9def8c4
TS
35373 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35374 initialize the GOT register before use.
35375
2a649725
TS
35376 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35377 calculation of ARGC > 4.
35378
af1bce34
TS
35379 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35380 meaningful names to some local labels.
35381
d230f50a
KK
353822012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35383 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35384
35385 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35386 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35387 (__arch_compare_and_exchange_val_16_acq): Likewise.
35388 (__arch_compare_and_exchange_val_32_acq): Likewise.
35389 (atomic_exchange_and_add): Fix gUSA sequence.
35390 (atomic_add): Likewise.
35391 (atomic_add_negative): Likewise.
35392 (atomic_add_zero): Likewise.
35393 (atomic_bit_test_set): Likewise.
35394
0479b305
AS
353952012-06-22 Andreas Schwab <schwab@redhat.com>
35396
35397 [BZ #13579]
35398 * include/link.h (struct link_map): Add l_free_initfini.
35399 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35400 l_initfini.
35401 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35402 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35403 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35404 set.
35405
0e3933b9
CD
354062012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35407
35408 * configure.in: Use AC_LANG_SOURCE.
35409 * configure: Regenerate.
35410
4248b1b1
RM
354112012-06-22 Roland McGrath <roland@hack.frob.com>
35412
35413 * configure.in (libc_cv_localstatedir): New substituted variable.
35414 * configure: Regenerated.
35415 * config.make.in (localstatedir): New variable, substituted from
35416 libc_cv_localstatedir.
35417 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35418 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35419 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35420 * sysdeps/gnu/configure: Regenerated.
35421
006dd861
JL
354222012-06-21 Jeff Law <law@redhat.com>
35423
35424 [BZ #14277]
35425 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35426 free. Simplify list management for _LIBC case.
35427
79662d42
JM
354282012-06-21 Joseph Myers <joseph@codesourcery.com>
35429
b7abb4bf
JM
35430 [BZ #14273]
35431 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35432 Clear sign bit of 64-bit integer value before comparing against
35433 overflow value.
35434
79662d42
JM
35435 * sysdeps/mach/configure: Regenerated.
35436
1f150908
L
354372012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35438
35439 [BZ #14278]
35440 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35441
28363bbf
JL
354422012-06-21 Jeff Law <law@redhat.com>
35443
35444 [BZ #13882]
35445 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35446 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35447 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35448 * elf/dl-open.c (dl_open_worker): Likewise.
35449
09615db4
CD
354502012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35451
35452 * scripts/list-sources.sh: Scan PORTS for translations.
35453 * po/libc.pot: Regenerated.
35454
2174c6dd
AJ
354552012-06-21 Andreas Jaeger <aj@suse.de>
35456
35457 [BZ #12194]
35458 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35459 warning.
35460 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35461 * bits/byteswap-16.h (__bswap_16): Likewise.
35462 * bits/byteswap.h (__bswap_constant_16): Likewise.
35463
3ee947b1
L
354642012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35465
35466 [BZ #14117]
a2f34833
L
35467 * sysdeps/i386/fpu_control.h: Removed.
35468 * sysdeps/x86_64/fpu_control.h: Moved to ...
35469 * sysdeps/x86/fpu_control.h: Here.
35470
3ee947b1
L
35471 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35472 (_FPU_SETCW): Likewise.
35473
ed1825f8
L
354742012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35475
25f1282a
L
35476 [BZ #14117]
35477 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35478 * sysdeps/x86/fpu/bits/mathinline.h: This.
35479 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35480
ed1825f8
L
35481 [BZ #14050]
35482 [BZ #14117]
35483 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35484 functions if __x86_64__ is defined.
35485
36d54b74
CLT
354862012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35487
35488 * string/endian.h: Add !__ASSEMBLER__ condition for including
35489 conversion interfaces.
35490
10285c21
JM
354912012-06-15 Joseph Myers <joseph@codesourcery.com>
35492
35493 [BZ #14241]
35494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35495 of ABS(x) in calculating zero to negative powers other than odd
35496 integers.
35497 * math/libm-test.inc (pow_test): Add more tests.
35498
06c5abbd
AJ
354992012-06-15 Andreas Jaeger <aj@suse.de>
35500
35501 * manual/contrib.texi (Contributors): Update entry of Liubov
35502 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35503 Machado Filho.
35504
a3aeac40
CH
355052012-06-15 Cyril Hrubis <metan@ucw.cz>
35506
35507 * string/string.h: Add __wur to GNU version of strerror_r.
35508
49bdf4c1
L
355092012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35510
35511 [BZ #14229]
35512 * string/Makefile (tests): Add tst-strtok_r.
35513 * string/tst-strtok_r.c: New file.
35514 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35515 RAX_LP/RDX_LP on SAVE_PTR.
35516
834f9b8d
RM
355172012-06-14 Roland McGrath <roland@hack.frob.com>
35518
35519 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35520
75fa1921
JM
355212012-06-14 Joseph Myers <joseph@codesourcery.com>
35522
35523 * libm_test.inc (csqrt_test): Allow more spurious underflow
35524 exceptions.
35525 (j0_test): Likewise.
35526 (j1_test): Likewise.
35527 (y0_test): Likewise.
35528 (y1_test): Likewise.
35529
771766df
CD
355302012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35531
35532 * po/Makefile (libc.pot): Use UTF-8 charset.
35533
ceb9e56b
PP
355342012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35535
35536 [BZ #14210]
35537 Suppress sign-conversion warning from FD_SET.
35538 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35539 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35540 not unsigned long int.
35541 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35542
ddb28975
L
355432012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35544
35545 [BZ #14050]
35546 [BZ #14117]
35547 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35548 __extern_always_inline instead of __extern_inline.
35549 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35550 (__signbit): Likewise.
35551 (__signbitl): Support C++ namespace.
35552 (lrintf): New inline function.
35553 (lrint): Likewise.
35554 (llrintf): Likewise.
35555 (llrint): Likewise.
35556 (fmaxf): Likewise.
35557 (fmax): Likewise.
35558 (fminf): Likewise.
35559 (fmin): Likewise.
35560 (rint): Likewise.
35561 (rintf): Likewise.
35562 (ceil): Likewise.
35563 (ceilf): Likewise.
35564 (floor): Likewise.
35565 (floorf): Likewise.
35566 (nearbyint): Likewise.
35567 (nearbyintf): Likewise.
35568
d7b4fb26
TS
355692012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35570
35571 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35572 non-default versions.
35573
eb55f5c2
RM
355742012-06-11 Roland McGrath <roland@hack.frob.com>
35575
35576 [BZ #14218]
35577 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35578
366af02c
TS
355792012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35580
99ff6e5c
TS
35581 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35582 (FE_UPWARD, FE_DOWNWARD): Don't define.
35583 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35584 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35585
366af02c
TS
35586 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35587 reading it.
35588 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35589 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35590
793ea851
KK
355912012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35592
35593 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35594 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35595 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35596 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35597
a728a38f
L
355982012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35599
35600 [BZ #14117]
c08010c7
L
35601 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35602 * sysdeps/i386/fpu/Implies: New file.
35603 * sysdeps/x86_64/fpu/Implies: Likewise.
35604 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35605 * sysdeps/x86/fpu/bits/fenv.h: This.
35606
a728a38f
L
35607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35608 __SSE_MATH__.
35609
6e230d11
SP
356102012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35611
35612 [BZ #14134]
35613 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35614 character 0xffff that matches the last element of the
35615 conversion table.
35616
1b671feb
AZ
356172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35618
35619 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35620 fmodl commit.
35621
6043738b
AZ
356222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35623
35624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35625 values higher than 25.6283.
35626
34ae0b32
AZ
356272012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35628
35629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35630 subnormal exponent extraction and add some __builtin_expect.
35631 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35632 Fix for subnormal mantissa calculation.
35633
1214ec8f
MF
356342012-06-04 Mike Frysinger <vapier@gentoo.org>
35635
35636 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35637 cpu2 is -1 and errno is not ENOSYS.
35638
f3d1f93c
L
356392012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35640
35641 [BZ #14117]
0e4a3cd7
L
35642 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35643 * sysdeps/x86/bits/string.h: This.
35644 * sysdeps/x86_64/bits/string.h: Removed.
35645
6704c645
L
35646 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35647 if not compiling for x86-64, but compiling for >= i486.
35648
48495318
L
35649 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35650 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35651
14adcbfc
L
35652 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35653 New macro from Linux kernel 3.4.0.
35654 (FP_XSTATE_MAGIC2): Likewise.
35655 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35656 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35657 (struct _fpx_sw_bytes): New struct.
35658 (struct _xsave_hdr): Likewise.
35659 (struct _ymmh_state): Likewise.
35660 (struct _xstate): Likewise.
35661
68e408ab
L
35662 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35663 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35664 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35665 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35666 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35667 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35668
f3d1f93c
L
35669 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35670 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35671 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35672 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35673 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35674 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35675
d9dc34cd
TMQMF
356762012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35677
35678 [BZ #13743]
35679 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35680 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35681 (sysdep_headers): Include sys/platform/ppc.h.
35682 * sysdeps/powerpc/test-gettimebase.c: Test for
35683 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35684 * manual/Makefile (appendices): Include platform.texi.
35685 * manual/contrib.texi (Contributors): Update @node pointers.
35686 * manual/maint.texi (Maintenance): Likewise.
35687 (Platform): New node.
35688 * manual/platform.texi: New file. Document the new features.
35689
4af3879c
SP
356902012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35691 Jakub Jelinek <jakub@redhat.com>
35692
35693 [BZ #14188]
35694 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35695 where __builtin_expect is unavailable.
35696
2fd6ff13
DM
356972012-06-03 David S. Miller <davem@davemloft.net>
35698
35699 * stdlib/longlong.h: Updated from GCC.
35700
173f7220
AS
357012012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35702
35703 [BZ #14042]
35704 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35705 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35706 __mcount_internal.
35707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35708 (GLIBC_2.16): Likewise.
35709
f34a1c6f
L
357102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35711
35712 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35713
88a4576f
JM
357142012-06-01 Joseph Myers <joseph@codesourcery.com>
35715
ea32bcdd
JM
35716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35717 (default-abi): New variable.
35718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35719 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35720 variable.
35721 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35722 Likewise.
35723 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35724 Likewise.
35725 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35726 Likewise.
35727
88a4576f
JM
35728 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35729 definition. Document in comment.
35730
402fe938
DM
357312012-06-01 David S. Miller <davem@davemloft.net>
35732
35733 * stdlib/longlong.h: Updated from GCC.
35734
3553723f
L
357352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35736
35737 [BZ #14117]
3bd872c4
L
35738 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35739 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35740 sys/debugreg.h sys/io.h here.
35741 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35742 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35743 sys/io.h.
35744 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35745 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35746 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35747 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35748 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35749 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35750
3553723f
L
35751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35752 Define only if __x86_64__ is defined.
35753
4842e4fe
JM
357542012-06-01 Joseph Myers <joseph@codesourcery.com>
35755
c5bfe3d5
JM
35756 [BZ #14048]
35757 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35758 Use int64_t for variable i.
35759 * math/libm-test.inc (fmod_test): Add more tests.
35760
4842e4fe
JM
35761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35762 z computation is not scheduled after fetestexcept.
35763 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35764 Use math_force_eval instead of asm to ensure calculation scheduled
35765 before exception test.
35766 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35767 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35768
efb73488
AJ
357692012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35770
35771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35772 computation is not scheduled after fetestexcept.
35773
29bcce7c
L
357742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35775
35776 [BZ #14117]
35777 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35778 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35779
73a68f94
AZ
357802012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35781
35782 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35783 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35784
67b6df78
L
357852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35786
edf2933a 35787 [BZ #14117]
ebc64a18
L
35788 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35789 <bits/wordsize.h>.
35790 (__WCHAR_MIN): Support __WORDSIZE == 64.
35791 (__WCHAR_MAX): Likewise.
35792
edf2933a
L
35793 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35794 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35795
57c6cf40
L
35796 [BZ #14183]
35797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35798 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35799
67b6df78 35800 [BZ #14117]
8eb6281e
L
35801 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35803
aac639f4
L
35804 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35805 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35806
67b6df78
L
35807 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35808 Defined to 1 if __x86_64__ isn't defined.
35809 (_STAT_VER_LINUX_OLD): New.
35810 (st_atime): Remove duplicate.
35811 (st_mtime): Likewise.
35812 (st_ctime): Likewise.
35813
1c2cfe81
DM
358142012-05-31 David S. Miller <davem@davemloft.net>
35815
35816 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35817 entries.
35818
5be8418c
AS
358192012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35820
e7725326
AS
35821 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35822 gen-libm-test.pl.
35823
5be8418c
AS
35824 [BZ #14132]
35825 * elf/dl-reloc.c: Include <_itoa.h>.
35826 (_dl_reloc_bad_type): Remove use of INTUSE.
35827 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35828 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35829 * stdio-common/psiginfo.c (psiginfo): Likewise.
35830 * stdio-common/psignal.c (psignal): Likewise.
35831 * string/strsignal.c (strsignal): Likewise.
35832 * include/signal.h (_sys_siglist): Declare hidden proto.
35833 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35834 INTVARDEF with libc_hidden_data_def.
35835 * stdio-common/itoa-udigits.c: Likewise.
35836 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35837 (_itoa_lower_digits_internal): Remove declaration.
35838 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35839 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35840 (_sys_sigabbrev_internal): Remove aliases.
35841 (_sys_siglist): Define hidden alias.
35842
507352f1
MT
358432012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35844
35845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35846 bits/sysctl.h.
35847
42bbb1c3
L
358482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35849
35850 [BZ #14117]
6bd784b6
L
35851 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35852 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35853
8bca20f0
L
35854 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35855 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35856 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35857 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35858 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35859 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35860
f9e890a9
L
35861 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35862 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35863 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35864
471101a1
L
35865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35866 with __addr.
35867 (insw): Likewise.
35868 (insl): Likewise.
35869 (outsb): Likewise.
35870 (outsw): Likewise.
35871 (outsl): Likewise.
35872
6451c862
L
35873 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35875 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35876
a254b8c9
L
35877 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35878 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35879 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35880 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35881 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35882 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35883
b8dfdd92
L
35884 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35885 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35886
578cd270
L
35887 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35888 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35889
de662f5f
L
35890 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35891 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35892 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35893
25653439
L
35894 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35895 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35896 to ...
35897 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35898
6bad24a0
L
35899 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35900 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35901 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35902
42bbb1c3
L
35903 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35904 for x86-64.
35905 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35906
2d10d547
JM
359072012-05-31 Joseph Myers <joseph@codesourcery.com>
35908
35909 * math/math.h (M_El): Use two more decimal places.
35910 (M_LOG2El): Likewise.
35911 (M_LOG10El): Likewise.
35912 (M_LN2l): Likewise.
35913 (M_LN10l): Likewise.
35914 (M_PIl): Likewise.
35915 (M_PI_2l): Likewise.
35916 (M_PI_4l): Likewise.
35917 (M_1_PIl): Likewise.
35918 (M_2_PIl): Likewise.
35919 (M_2_SQRTPIl): Likewise.
35920 (M_SQRT2l): Likewise.
35921 (M_SQRT1_2l): Likewise.
35922
f230c29b
DM
359232012-05-31 David S. Miller <davem@davemloft.net>
35924
35925 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35926 values between float registers.
35927 * sysdeps/sparc/sparc64/memset.S: Likewise.
35928 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35929
fed806c3
MF
359302012-05-31 Mike Frysinger <vapier@gentoo.org>
35931
35932 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35933 -D_FORTIFY_SOURCE=1.
35934 (CPPFLAGS-tst-longjmp_chk.c): Define.
35935 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35936 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35937 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35938 CFLAGS-tst-wchar-h.c.
35939
30917259
MP
359402012-05-31 Marek Polacek <polacek@redhat.com>
35941
35942 [BZ #14132]
35943 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35944 __endmntent_internal): Remove declaration.
35945 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35946 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35947 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35948
1c58d5dc
DM
359492012-05-30 David S. Miller <davem@davemloft.net>
35950
35951 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35952 (___Q_simulate_exceptions): Use real FP ops rather than writing
35953 into the %fsr.
35954 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35955 Likewise.
35956
7dc00e0d
L
359572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35958
35959 [BZ #14117]
0bd53985
L
35960 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35961 * sysdeps/x86/bits/xtitypes.h: This.
35962
3a257e66
L
35963 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35964 * sysdeps/x86/bits/wordsize.h: This.
35965
62f62904
L
35966 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35967 * sysdeps/x86/bits/huge_vall.h: This.
35968
404fe9d9
L
35969 * sysdeps/i386/bits/select.h: Removed.
35970 * sysdeps/x86_64/bits/select.h: Renamed to ...
35971 * sysdeps/x86/bits/select.h: This.
35972
d48d0446
L
35973 * sysdeps/i386/bits/setjmp.h: Removed.
35974 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35975 * sysdeps/x86/bits/setjmp.h: This.
35976
7dc00e0d
L
35977 * sysdeps/i386/bits/mathdef.h: Removed.
35978 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35979 * sysdeps/x86/bits/mathdef.h: This.
35980
03277f8f
AS
359812012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35982
35983 [BZ #14132]
35984 * include/sys/socket.h (__connect_internal)
35985 (__libc_sa_len_internal): Remove declaration.
35986 (__connect, __libc_sa_len): Declare hidden_proto.
35987 (SA_LEN): Remove use of INTUSE.
35988 * socket/connect.c: Add libc_hidden_def.
35989 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35990 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35991 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35992 alias.
35993 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35994 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35995 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35996 of adding _internal alias.
35997
13764867
L
359982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35999
36000 [BZ #14117]
6bd97696
L
36001 * sysdeps/i386/bits/link.h: Removed.
36002 * sysdeps/i386/bits/linkmap.h: Likewise.
36003 * sysdeps/x86_64/bits/link.h: Renamed to ...
36004 * sysdeps/x86/bits/link.h: This.
36005 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36006 * sysdeps/x86/bits/linkmap.h: This.
36007
f726f0bb
L
36008 * sysdeps/i386/bits/endian.h: Removed.
36009 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36010 * sysdeps/x86/bits/endian.h: This.
36011
13764867
L
36012 * sysdeps/i386/bits/byteswap.h: Removed.
36013 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36014 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36015 * sysdeps/x86/bits/byteswap.h: This.
36016 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36017 * sysdeps/x86/bits/byteswap-16.h: This.
36018 * sysdeps/i386/Implies: Add x86.
36019 * sysdeps/x86_64/Implies: Likewise.
36020
ae251b0b
DM
360212012-05-30 David S. Miller <davem@davemloft.net>
36022
36023 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36024 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36025 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36026 (FP_TRAPPING_EXCEPTIONS): Define.
36027 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36028 (FP_TRAPPING_EXCEPTIONS): Define.
36029 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36030 subnormals only when inexact has been signalled or underflow
36031 exceptions are enabled.
36032 (_FP_PACK_CANONICAL): Likewise.
36033
d5c90867
L
360342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36035
36036 [BZ #14183]
36037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36038 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36039
63f1549e
RH
360402012-05-30 Richard Henderson <rth@twiddle.net>
36041
8d8f2279
RH
36042 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36043 with #ifndef NOT_IN_libc.
36044
63f1549e
RH
36045 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36046 marked to avoid plt entry.
36047
0ab0291b
L
360482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36049
36050 [BZ #14112]
36051 * Makeconfig (default-abi): New macro.
36052 (abi-includes): Likewise.
36053 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36054 $(abi-$(default-abi)-lib-soname) for soname if defined.
36055 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36056 abi-variants.
36057 * Makefile (installed-stubs): Likewise.
36058 * include/stubs-biarch.h: Removed.
36059 * scripts/lib-names.awk: Only handle one library at a time.
36060 * scripts/soversions.awk: Remove WORDSIZE support.
36061 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36062 entries.
36063 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36064 Removed.
36065 (syscall-list-default-condition): Likewise.
36066 (syscall-list-default-condition): Likewise.
36067 (syscall-list-includes): Likewise.
36068 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36069 syscall-list-* with abi-*. Handle undefined abi-variants.
36070 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36071 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36072 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36073 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36074 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36075 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36076 Removed.
36077 (syscall-list-32-options): Likewise.
36078 (syscall-list-32-condition): Likewise.
36079 (syscall-list-64-options): Likewise.
36080 (syscall-list-64-condition): Likewise.
36081 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36082 macro.
36083 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36084 Renamed to ...
36085 (abi-*): This.
36086 (abi-64-ld-soname): New macro.
36087 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36088 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36089 Renamed to ...
36090 (abi-*): This.
36091 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36092 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36093
4da0431d
JM
360942012-05-30 Joseph Myers <joseph@codesourcery.com>
36095
3a85279c
JM
36096 * sysdeps/unix/sysv/linux/kernel-features.h
36097 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36098 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36099 include <kernel-features.h>.
36100 [!__NR_ftruncate64]: Remove conditional code.
36101 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36102 [__NR_ftruncate64]: Make code unconditional.
36103 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36104 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36105 include <kernel-features.h>.
36106 [!__NR_ftruncate64]: Remove conditional code.
36107 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36108 [__NR_ftruncate64]: Make code unconditional.
36109 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36111 include <kernel-features.h>.
36112 [!__NR_ftruncate64]: Remove conditional code.
36113 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36114 [__NR_ftruncate64]: Make code unconditional.
36115 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36117 include <kernel-features.h>.
36118 [!__NR_ftruncate64]: Remove conditional code.
36119 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36120 [__NR_ftruncate64]: Make code unconditional.
36121 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36122
4da0431d
JM
36123 * configure.in (libc_cv_fpie): Weaken to a compile test using
36124 LIBC_TRY_CC_OPTION.
36125 * configure: Regenerated.
36126
11ef492c
AK
361272012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36128
36129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36133 Refreshed.
36134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36140 Refreshed.
36141
d66ef399
DM
361422012-05-27 David S. Miller <davem@davemloft.net>
36143
36144 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36145 (___Q_zero): New.
36146 (__Q_simulate_exceptions): Return void. Change to simulate
36147 exceptions by writing into the %fsr.
36148 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36149 (__Qp_handle_exceptions): Likewise.
36150 (numbers): Delete.
36151 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36152 __Qp_handle_exceptions.
36153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36154 __Qp_handle_exceptions.
36155 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36156 as unused and give dummy FP_RND_NEAREST initializer.
36157 (FP_INHIBIT_RESULTS): Define.
36158 (___Q_simulate_exceptions): Update declaration.
36159 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36160 formatting.
36161 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36162 as unused and give dummy FP_RND_NEAREST initializer.
36163 (__Qp_handle_exceptions): Update declaration.
36164 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36165 formatting.
36166
04fb54b5
TS
361672012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36168
36169 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36170 the temporary FPU control word.
36171 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36172 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36173 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36174 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36175 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36176 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36177 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36178 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36179 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36180 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36181 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36182
3f99608f
KK
361832012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36184
36185 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36186 fields.
36187
65a4de4e
CLT
361882012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36189
36190 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36191 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36192 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36193 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36194 Likewise.
36195 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36196 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36197 Likewise.
36198
15749d40
UD
361992012-05-27 Ulrich Drepper <drepper@gmail.com>
36200
36201 * po/h.po: Update from translation team.
36202
25dbcb27
AS
362032012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36204
3d3f8e55
AS
36205 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36206
25dbcb27
AS
36207 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36208 handling of denormals.
36209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36210 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36211 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36212 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36214 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36216 Likewise.
36217
7ad47a80 362182012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36219
36220 [BZ #14152]
36221 * math/libm-test.inc (fma_test): Don't always expect underflow
36222 exception.
36223
9c6ea9fa
SP
362242012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36225
36226 [BZ #12416]
36227 * elf/tst-execstack.c: Include stackinfo.h.
36228 (do_test): Adjust test case to ensure that pthread_getattr_np
36229 behaviour remains the same after marking stack executable.
36230
a8239222
JM
362312012-05-25 Joseph Myers <joseph@codesourcery.com>
36232
36233 * sysdeps/unix/sysv/linux/kernel-features.h
36234 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36235 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36236 kernel-features.h.
36237 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36238 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36239 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36240 kernel-features.h.
36241 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36242 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36243
918b5606
L
362442012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36245
36246 * configure.in: Define the default includes to being none.
36247 * configure: Regenerated.
36248
3a097cc7
RM
362492012-05-25 Roland McGrath <roland@hack.frob.com>
36250
8422c9a5
RM
36251 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36252 * sysdeps/x86_64/setjmp.S: Likewise.
36253 * sysdeps/i386/bsd-setjmp.S: Likewise.
36254 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36255 * sysdeps/i386/setjmp.S: Likewise.
36256 * sysdeps/i386/__longjmp.S: Likewise.
36257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36258 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36259
3a097cc7
RM
36260 * include/stap-probe.h: New file.
36261 * configure.in: Handle --enable-systemtap.
36262 * configure: Regenerated.
36263 * config.h.in (USE_STAP_PROBE): New #undef.
36264 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36265 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36266 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36267
21708942
JM
362682012-05-25 Joseph Myers <joseph@codesourcery.com>
36269
36270 [BZ #13717]
36271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36272 to 2.4.0 where earlier.
36273 * sysdeps/unix/sysv/linux/configure: Regenerated.
36274 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36275 <kernel-features.h>.
36276 [__ASSUME_32BITUIDS]: Make code unconditional.
36277 [!__ASSUME_32BITUIDS]: Remove conditional code.
36278 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36279 <kernel-features.h>.
36280 [__ASSUME_32BITUIDS]: Make code unconditional.
36281 [!__ASSUME_32BITUIDS]: Remove conditional code.
36282 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36283 [__ASSUME_32BITUIDS]: Make code unconditional.
36284 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36285 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36286 <kernel-features.h>.
36287 [__ASSUME_32BITUIDS]: Make code unconditional.
36288 [!__ASSUME_32BITUIDS]: Remove conditional code.
36289 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36290 <kernel-features.h>.
36291 [__ASSUME_32BITUIDS]: Make code unconditional.
36292 [!__ASSUME_32BITUIDS]: Remove conditional code.
36293 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36294 <kernel-features.h>.
36295 [__ASSUME_32BITUIDS]: Make code unconditional.
36296 [!__ASSUME_32BITUIDS]: Remove conditional code.
36297 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36298 <kernel-features.h>.
36299 [__ASSUME_32BITUIDS]: Make code unconditional.
36300 [!__ASSUME_32BITUIDS]: Remove conditional code.
36301 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36302 <kernel-features.h>.
36303 [__ASSUME_32BITUIDS]: Make code unconditional.
36304 [!__ASSUME_32BITUIDS]: Remove conditional code.
36305 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36306 <kernel-features.h>.
36307 [__ASSUME_32BITUIDS]: Make code unconditional.
36308 [!__ASSUME_32BITUIDS]: Remove conditional code.
36309 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36310 <kernel-features.h>.
36311 [__ASSUME_32BITUIDS]: Make code unconditional.
36312 [!__ASSUME_32BITUIDS]: Remove conditional code.
36313 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36314 <kernel-features.h>.
36315 [__ASSUME_32BITUIDS]: Make code unconditional.
36316 [!__ASSUME_32BITUIDS]: Remove conditional code.
36317 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36318 <kernel-features.h>.
36319 [__ASSUME_32BITUIDS]: Make code unconditional.
36320 [!__ASSUME_32BITUIDS]: Remove conditional code.
36321 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36322 <kernel-features.h>.
36323 [__ASSUME_32BITUIDS]: Make code unconditional.
36324 [!__ASSUME_32BITUIDS]: Remove conditional code.
36325 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36326 <kernel-features.h>.
36327 [__NR_setresgid] (__setresgid): Do not declare.
36328 [__ASSUME_32BITUIDS]: Make code unconditional.
36329 [!__ASSUME_32BITUIDS]: Remove conditional code.
36330 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36331 <kernel-features.h>.
36332 [__NR_setresuid] (__setresuid): Do not declare.
36333 [__ASSUME_32BITUIDS]: Make code unconditional.
36334 [!__ASSUME_32BITUIDS]: Remove conditional code.
36335 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36336 <kernel-features.h>.
36337 [__ASSUME_32BITUIDS]: Make code unconditional.
36338 [!__ASSUME_32BITUIDS]: Remove conditional code.
36339 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36340 <kernel-features.h>.
36341 [__ASSUME_32BITUIDS]: Make code unconditional.
36342 [!__ASSUME_32BITUIDS]: Remove conditional code.
36343 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36344 <kernel-features.h>.
36345 [__ASSUME_32BITUIDS]: Make code unconditional.
36346 [!__ASSUME_32BITUIDS]: Remove conditional code.
36347 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36348 <kernel-features.h>.
36349 [__ASSUME_32BITUIDS]: Make code unconditional.
36350 [!__ASSUME_32BITUIDS]: Remove conditional code.
36351 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36352 <kernel-features.h>.
36353 [__ASSUME_32BITUIDS]: Make code unconditional.
36354 [!__ASSUME_32BITUIDS]: Remove conditional code.
36355 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36356 <kernel-features.h>.
36357 [__ASSUME_32BITUIDS]: Make code unconditional.
36358 [!__ASSUME_32BITUIDS]: Remove conditional code.
36359 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36360 <kernel-features.h>.
36361 [__ASSUME_32BITUIDS]: Make code unconditional.
36362 [!__ASSUME_32BITUIDS]: Remove conditional code.
36363 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36364 <kernel-features.h>.
36365 [__ASSUME_32BITUIDS]: Make code unconditional.
36366 [!__ASSUME_32BITUIDS]: Remove conditional code.
36367 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36368 <kernel-features.h>.
36369 [__ASSUME_32BITUIDS]: Make code unconditional.
36370 [!__ASSUME_32BITUIDS]: Remove conditional code.
36371 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36372 <kernel-features.h>.
36373 [__ASSUME_32BITUIDS]: Make code unconditional.
36374 [!__ASSUME_32BITUIDS]: Remove conditional code.
36375 * sysdeps/unix/sysv/linux/kernel-features.h
36376 (__ASSUME_SETRESUID_SYSCALL): Remove.
36377 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36378 (__ASSUME_32BITUIDS): Likewise.
36379 (__ASSUME_LDT_WORKS): Likewise.
36380 (__ASSUME_O_DIRECTORY): Likewise.
36381 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36382 architecture but not kernel version.
36383 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36384 (__ASSUME_MMAP2_SYSCALL): Likewise.
36385 (__ASSUME_STAT64_SYSCALL): Likewise.
36386 (__ASSUME_IPC64): Likewise.
36387 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36388 <kernel-features.h>.
36389 [__ASSUME_32BITUIDS]: Make code unconditional.
36390 [!__ASSUME_32BITUIDS]: Remove conditional code.
36391 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36392 <kernel-features.h>.
36393 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36394 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36395 132096]: Remove conditional code.
36396 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36397 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36398 <kernel-features.h>.
36399 [__ASSUME_32BITUIDS]: Make code unconditional.
36400 [!__ASSUME_32BITUIDS]: Remove conditional code.
36401 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36402 <kernel-features.h>.
36403 [__ASSUME_32BITUIDS]: Make code unconditional.
36404 [!__ASSUME_32BITUIDS]: Remove conditional code.
36405 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36406 <kernel-features.h>.
36407 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36408 unconditional.
36409 (__setresgid): Do not declare.
36410 [__ASSUME_32BITUIDS]: Make code unconditional.
36411 [!__ASSUME_32BITUIDS]: Remove conditional code.
36412 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36413 <kernel-features.h>.
36414 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36415 unconditional.
36416 (__setresuid): Do not declare.
36417 [__ASSUME_32BITUIDS]: Make code unconditional.
36418 [!__ASSUME_32BITUIDS]: Remove conditional code.
36419 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36420 <kernel-features.h>.
36421 [__ASSUME_32BITUIDS]: Make code unconditional.
36422 [!__ASSUME_32BITUIDS]: Remove conditional code.
36423 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36424 <kernel-features.h>.
36425 [__ASSUME_32BITUIDS]: Make code unconditional.
36426 [!__ASSUME_32BITUIDS]: Remove conditional code.
36427
a386f1cc
RH
364282012-05-25 Richard Henderson <rth@twiddle.net>
36429
36430 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36431 dl_hwcap to ifunc resolver.
36432 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36433 elf_ifunc_invoke.
36434 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36435 dl_hwcap to ifunc resolver.
36436 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36437
b6550497
JM
364382012-05-24 Joseph Myers <joseph@codesourcery.com>
36439
36440 [BZ #14153]
36441 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36442 for |x| <= 2**-26, not 2**-57.
36443 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36444 exception.
36445
b0bc23a1
JL
364462012-05-24 Jeff Law <law@redhat.com>
36447
36448 * stdio-common/Makefile (tests): Add bug25.
36449 * stdio-common/bug25.c: New test.
36450
347c92e9
L
364512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36452
36453 [BZ #13576]
36454 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36455 multiple of MALLOC_ALIGNMENT in size.
36456 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36457
6bcc8b3f
JM
364582012-05-24 Joseph Myers <joseph@codesourcery.com>
36459
36460 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36461 Require >= 256.
36462 (FILENAME_MAX): Use macro-int-constant.
36463 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36464 (_IOFBF): Use macro-int-constant.
36465 (_IOLBF): Likewise.
36466 (_IONBF): Likewise.
36467 (SEEK_CUR): Likewise.
36468 (SEEK_END): Likewise.
36469 (SEEK_SET): Likewise.
36470 (TMP_MAX): Likewise.
36471 (EOF): Use macro-int-constant. Require < 0.
36472 (NULL): Use macro-constant. Require == 0.
36473 (stdin): Require type to be FILE *.
36474 (stdout): Likewise.
36475 (stderr): Likewise.
36476 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36477 macro-int-constant.
36478 (EXIT_SUCCESS): Likewise.
36479 (NULL): Use macro-constant. Require == 0.
36480 (RAND_MAX): Use macro-int-constant.
36481 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36482 [C99-based standards] (strtof): Require function.
36483 [C99-based standards] (strtold): Likewise.
36484 [C99-based standards] (strtoll): Likewise.
36485 [C99-based standards] (strtoull): Likewise.
36486 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36487 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36488 [ISO || ISO99 || ISO11] (math.h): Likewise.
36489 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36490 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36492
d18ea0c5
AS
364932012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36494
36495 [BZ #14132]
56d25bb8
AS
36496 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36497 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36498 * intl/dgettext.c (DCGETTEXT): Likewise.
36499 * intl/gettext.c (DCGETTEXT): Likewise.
36500 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36501 * posix/regex_internal.h (gettext): Likewise.
36502 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36503 Remove declaration.
36504 * include/argz.h (__argz_count_internal)
36505 (__argz_stringify_internal): Remove declaration.
36506 (__argz_count, __argz_stringify): Declare hidden proto.
36507 * intl/dcgettext.c: Remove use of INTDEF.
36508 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36509 * string/argz-stringify.c: Likewise.
36510 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36511 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36512 Declare hidden proto.
d18ea0c5
AS
36513 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36514 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36515 Declare hidden proto.
36516 * include/stdio.h (__asprintf_internal): Don't declare.
36517 (__asprintf): Don't define as macro. Declare hidden proto.
36518 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36519 (__fsetlocking): Declare hidden proto.
36520 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36521 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36522 hidden proto.
36523 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36524 (_IO_setlinebuf): Remove use of INTUSE.
36525 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36526 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36527 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36528 Remove declaration.
36529 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36530 (_IO_do_flush): Remove use of INTUSE.
36531 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36532 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36533 (_IO_adjust_column, _IO_least_wmarker)
36534 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36535 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36536 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36537 (_IO_default_doallocate, _IO_wdefault_doallocate)
36538 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36539 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36540 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36541 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36542 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36543 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36544 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36545 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36546 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36547 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36548 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36549 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36550 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36551 proto.
36552 (_IO_flush_all_internal, _IO_adjust_column_internal)
36553 (_IO_default_uflow_internal, _IO_default_finish_internal)
36554 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36555 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36556 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36557 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36558 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36559 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36560 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36561 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36562 (_IO_file_close_internal, _IO_file_close_it_internal)
36563 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36564 (_IO_file_init_internal, _IO_file_attach_internal)
36565 (_IO_file_fopen_internal, _IO_file_read_internal)
36566 (_IO_file_sync_internal, _IO_file_seek_internal)
36567 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36568 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36569 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36570 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36571 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36572 (_IO_list_all_internal, _IO_link_in_internal)
36573 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36574 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36575 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36576 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36577 (_IO_do_write_internal, _IO_padn_internal)
36578 (_IO_getline_info_internal, _IO_getline_internal)
36579 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36580 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36581 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36582 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36583 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36584 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36585 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36586 with libc_hidden_ver, remove use of INTUSE.
36587 * libio/genops.c: Likewise.
36588 * libio/freopen.c: Likewise.
36589 * libio/freopen64.c: Likewise.
36590 * libio/iofclose.c: Likewise.
36591 * libio/iofdopen.c: Likewise.
36592 * libio/iofflush.c: Likewise.
36593 * libio/iofflush_u.c: Likewise.
36594 * libio/iofgets.c: Likewise.
36595 * libio/iofgets_u.c: Likewise.
36596 * libio/iofopen.c: Likewise.
36597 * libio/iofopncook.c: Likewise.
36598 * libio/iofread.c: Likewise.
36599 * libio/iofread_u.c: Likewise.
36600 * libio/ioftell.c: Likewise.
36601 * libio/iofwrite.c: Likewise.
36602 * libio/iogetline.c: Likewise.
36603 * libio/iogets.c: Likewise.
36604 * libio/iogetwline.c: Likewise.
36605 * libio/iopadn.c: Likewise.
36606 * libio/iopopen.c: Likewise.
36607 * libio/ioseekoff.c: Likewise.
36608 * libio/ioseekpos.c: Likewise.
36609 * libio/iosetbuffer.c: Likewise.
36610 * libio/iosetvbuf.c: Likewise.
36611 * libio/ioungetc.c: Likewise.
36612 * libio/ioungetwc.c: Likewise.
36613 * libio/iovdprintf.c: Likewise.
36614 * libio/iovsprintf.c: Likewise.
36615 * libio/iovsscanf.c: Likewise.
36616 * libio/memstream.c: Likewise.
36617 * libio/obprintf.c: Likewise.
36618 * libio/oldfileops.c: Likewise.
36619 * libio/oldiofclose.c: Likewise.
36620 * libio/oldiofdopen.c: Likewise.
36621 * libio/oldiofopen.c: Likewise.
36622 * libio/oldiopopen.c: Likewise.
36623 * libio/oldstdfiles.c: Likewise.
36624 * libio/putc.c: Likewise.
36625 * libio/setbuf.c: Likewise.
36626 * libio/setlinebuf.c: Likewise.
36627 * libio/stdfiles.c: Likewise.
36628 * libio/strops.c: Likewise.
36629 * libio/vasprintf.c: Likewise.
36630 * libio/vscanf.c: Likewise.
36631 * libio/vsnprintf.c: Likewise.
36632 * libio/vswprintf.c: Likewise.
36633 * libio/wfiledoalloc.c: Likewise.
36634 * libio/wfileops.c: Likewise.
36635 * libio/wgenops.c: Likewise.
36636 * libio/wmemstream.c: Likewise.
36637 * libio/wstrops.c: Likewise.
36638 * libio/__fpurge.c: Likewise.
36639 * libio/__fsetlocking.c: Likewise.
36640 * assert/assert.c: Likewise.
36641 * debug/fgets_chk.c: Likewise.
36642 * debug/fgets_u_chk.c: Likewise.
36643 * debug/fread_chk.c: Likewise.
36644 * debug/fread_u_chk.c: Likewise.
36645 * debug/gets_chk.c: Likewise.
36646 * debug/obprintf_chk.c: Likewise.
36647 * debug/vasprintf_chk.c: Likewise.
36648 * debug/vdprintf_chk.c: Likewise.
36649 * debug/vsnprintf_chk.c: Likewise.
36650 * debug/vsprintf_chk.c: Likewise.
36651 * malloc/mtrace.c: Likewise.
36652 * misc/error.c: Likewise.
36653 * misc/syslog.c: Likewise.
36654 * stdio-common/asprintf.c: Likewise.
36655 * stdio-common/fxprintf.c: Likewise.
36656 * stdio-common/getw.c: Likewise.
36657 * stdio-common/isoc99_fscanf.c: Likewise.
36658 * stdio-common/isoc99_scanf.c: Likewise.
36659 * stdio-common/isoc99_vfscanf.c: Likewise.
36660 * stdio-common/isoc99_vscanf.c: Likewise.
36661 * stdio-common/isoc99_vsscanf.c: Likewise.
36662 * stdio-common/printf-prs.c: Likewise.
36663 * stdio-common/printf_fp.c: Likewise.
36664 * stdio-common/printf_fphex.c: Likewise.
36665 * stdio-common/printf_size.c: Likewise.
36666 * stdio-common/putw.c: Likewise.
36667 * stdio-common/scanf.c: Likewise.
36668 * stdio-common/sprintf.c: Likewise.
36669 * stdio-common/tmpfile.c: Likewise.
36670 * stdio-common/vfprintf.c: Likewise.
36671 * stdio-common/vfscanf.c: Likewise.
36672 * stdlib/strfmon_l.c: Likewise.
36673 * sunrpc/openchild.c: Likewise.
36674 * sunrpc/xdr_stdio.c: Likewise.
36675 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36676 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36677
d6c33fda
RM
366782012-05-24 Roland McGrath <roland@hack.frob.com>
36679
c1487492
RM
36680 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36681
36682 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36683 in the third column, to generate for the shared library an IFUNC
36684 that uses _dl_vdso_vsym.
36685 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36686 * Makeconfig (object-suffixes-noshared): New variable.
36687
36688 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36689 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36690 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36691 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36692
d6c33fda
RM
36693 [BZ #14132]
36694 * include/sys/time.h (__gettimeofday): Remove macro.
36695 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36696 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36697 Remove INTDEF.
36698 (__gettimeofday): Add libc_hidden_def.
36699 (gettimeofday): Add libc_hidden_weak.
36700 * sysdeps/mach/gettimeofday.c: Likewise.
36701 * sysdeps/posix/gettimeofday.c: Likewise.
36702 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36703 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36705 (__gettimeofday_internal): Remove strong_alias.
36706 (__gettimeofday): Add libc_hidden_def.
36707 (gettimeofday): Add libc_hidden_weak.
36708 * sysdeps/unix/syscalls.list (gettimeofday):
36709 Remove __gettimeofday_internal alias.
36710
b5a2bbe6
L
367112012-05-24 Daniel Jacobowitz <drow@false.org>
36712 H.J. Lu <hongjiu.lu@intel.com>
36713
36714 [BZ #12495]
36715 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36716 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36717 (largebin_index_32_big): New.
36718 (largebin_index): Use it for 16-byte alignment.
36719 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36720 correction with front_misalign.
36721
cfba4fda
L
367222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36723
7f907421
L
36724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36726 Likewise.
36727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36728 Likewise.
36729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36730 Likewise.
36731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36732 Likewise.
36733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36734 Likewise.
36735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36736 Likewise.
36737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36738 Likewise.
36739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36740 Likewise.
36741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36742 Likewise.
36743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36744 Likewise.
36745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36746 Likewise.
36747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36748 Likewise.
36749
cfba4fda
L
36750 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36751 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36752
80bad0cc
JM
367532012-05-24 Joseph Myers <joseph@codesourcery.com>
36754
7a25eb06
JM
36755 [BZ #10846]
36756 [BZ #14036]
36757 * math/libm-test.inc (exp_test): Add test from bug 14036.
36758 (pow_test): Add test from bug 10846.
36759
795405f9
JM
36760 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36761 and other flags.
36762 (special_function): Do not include flags in test name.
36763 (parse_args): Likewise.
36764 * sysdeps/i386/fpu/libm-test-ulps: Update.
36765 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36766 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36767 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36769
80bad0cc
JM
36770 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36771 exceptions.
36772 * math/libm-test.inc ("Philosophy"): Update comment about
36773 exception testing.
36774 (UNDERFLOW_EXCEPTION): New macro.
36775 (UNDERFLOW_EXCEPTION_OK): Likewise.
36776 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36777 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36778 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36779 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36780 (INVALID_EXCEPTION_OK): Update value.
36781 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36782 (OVERFLOW_EXCEPTION_OK): Likewise.
36783 (IGNORE_ZERO_INF_SIGN): Likewise.
36784 (test_exceptions): Handle underflow exceptions.
36785 (acos_test): Update for underflow exception expectations.
36786 (cexp_test): Likewise.
36787 (clog_test): Likewise.
36788 (clog10_test): Likewise.
36789 (csqrt_test): Likewise.
36790 (ctan_test): Likewise.
36791 (ctanh_test): Likewise.
36792 (exp_test): Likewise.
36793 (exp10_test): Likewise.
36794 (exp2_test): Likewise.
36795 (expm1_test): Likewise.
36796 (fma_test): Likewise.
36797 (j0_test): Likewise.
36798 (jn_test): Likewise.
36799 (nexttoward_test): Likewise.
36800 (pow_test): Likewise.
36801 (scalbn_test): Likewise.
36802 (scalbln_test): Likewise.
36803 (tan_test): Likewise.
36804 (y1_test): Likewise.
36805 * sysdeps/i386/fpu/libm-test-ulps: Update.
36806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36807
9e0e3d0b
DM
368082012-05-23 David S. Miller <davem@davemloft.net>
36809
36810 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36811 (__libc_sigaction): Remove unused local variables.
36812
ccd0a08f
L
368132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36814
36815 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36816
62bdf9a6
PE
368172012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36818
f8591f80
PE
36819 mktime: avoid signed integer overflow
36820 * time/mktime.c (__mktime_internal): Do not mishandle the case
36821 where diff == INT_MIN.
36822
94c7d826
PE
36823 mktime: simplify computation of average
36824 * time/mktime.c (ranged_convert): Use new time_t_avg function
36825 instead of rolling our own (probably-slower) code.
36826
ce73d683
PE
36827 mktime: do not assume signed right shift propagates sign bit
36828 * time/mktime.c (isdst_differ): New static function.
36829 (__mktime_internal): No need to normalize tm_isdst now.
36830 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36831 tm_isdst values.
36832
72a22e59
PE
36833 mktime: merge another wrapv change from gnulib
36834 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36835 from some compilers.
36836
68605433
PE
36837 mktime: remove incorrect attempt at unusual arithmetics
36838 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36839 The code didn't really work on such machines anyway.
36840 (TYPE_MINIMUM): Assume two's complement.
36841 (twos_complement_arithmetic): Verify that long_int and time_t
36842 are two's complement (or unsigned, in the latter case).
36843
03cf7fe3
PE
36844 mktime: check signed shifts on long_int and time_t, too
36845 * time/mktime.c (SHR): Check that shifts work as desired
36846 on the types long_int and time_t too, as SHR is used on
36847 such types.
36848
f04dfbc2
PE
36849 mktime: do not assume 'long' is wide enough
36850 * time/mktime.c (verify): Move decl up.
36851 (long_int): New type.
36852 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36853 to remove assumption in the code that 'long' is wide enough to
36854 store year values. This assumption is not true on x32 and on
36855 some non-glibc platforms.
36856
62bdf9a6
PE
36857 mktime: merge wrapv change from gnulib
36858 * time/mktime.c (WRAPV): New macro.
36859 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36860 (guess_time_tm, __mktime_internal): Do not assume that signed
36861 integer overflow wraps around; modern compilers generate code
36862 where this assumption is no longer valid.
36863
5e292e4f
L
368642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36865
36866 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36867 Replace "jmp L(pseudo_end)" with "ret".
36868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36869 Likewise.
36870
8caf8c87
AJ
368712012-05-23 Andreas Jaeger <aj@suse.de>
36872
36873 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36874 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36875
1a09dc56
AJ
368762012-05-23 Andreas Jaeger <aj@suse.de>
36877 Maximilian Attems <max@stro.at>
36878
36879 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36880 New macros.
36881
1c87aba0
L
368822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36883
36884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36885 code so that pseudo_end is just ret and the stack pointer is
36886 correct also for static library in error case.
36887
40e45bd5
JM
368882012-05-23 Joseph Myers <joseph@codesourcery.com>
36889
c2670533
JM
36890 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36891 move to syscalls.list.
36892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36896
40e45bd5
JM
36897 * manual/install.texi (Running make install): Do not mention Linux
36898 kernel version for which pt_chown is not needed.
36899 (Linux): Do not mention problems with nscd with 2.0 kernels.
36900 * INSTALL: Regenerated.
36901
be08eda5
AJ
369022012-05-23 Andreas Jaeger <aj@suse.de>
36903
36904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36905 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36906 macro.
36907 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36909 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36911 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36913 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36915 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36917 * sysdeps/unix/sysv/linux/bits/in.h
36918 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36919
a6a056bb
RM
369202012-05-22 Roland McGrath <roland@hack.frob.com>
36921
36922 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36923 (PREPARE_VERSION): Just use assert instead, it will be elided
36924 under [NDEBUG] anyway.
36925
c9009328
L
369262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36927
36928 * sysdeps/unix/sysv/linux/Makefile: Include
36929 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36930 (sysdep_routines): Remove sysctl.
c9009328
L
36931 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36932 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36933 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36934 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36935 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36936
73338355
AJ
369372012-05-22 Andreas Jaeger <aj@suse.de>
36938
36939 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36940 that pseudo_end is just ret and the stack pointer is correct also
36941 for static library in error case.
36942
d44638b0
PP
369432012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36944
36945 [BZ #14122]
36946 * nss/nsswitch.c (defconfig_entries): New variable.
36947 (__nss_database_lookup): Don't leak defconfig entries.
36948 (nss_parse_service_list): Don't leak on error paths.
36949 (free_database_entries): New function.
36950 (free_defconfig): New function.
36951 (free_mem): Move common code to free_database_entries.
36952
31a39bd8
L
369532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36954
da0331a8
L
36955 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36956 Add arch_prctl.
36957 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36958
31a39bd8
L
36959 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36960 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36961 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36962 New macro.
36963 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36964 (INTERNAL_SYSCALL_TYPES): Likewise.
36965 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36966 (LOAD_REGS_TYPES_[1-6]): Likewise.
36967 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36968 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36969
45470df3
AZ
369702012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36971
36972 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36973 copysignl for GLIBC_2_0.
36974 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36975 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36977 logbl for GLIBC_2_0.
36978 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36979 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36980
98a61bcb
L
369812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36982
a4f6e481
L
36983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36984 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36985
f63d5db6
L
36986 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36987 Use "neg %eax".
36988
98a61bcb
L
36989 * time/mktime.c: Update copyright years.
36990
95770f14
PE
369912012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36992
6226efbd
PE
36993 mktime: merge comment-quoting-style change from gnulib
36994 * time/mktime.c: Quote 'like this' in comments.
36995 The GNU coding standards suggest that we no longer quote `like this',
36996 as "`" and "'" are typically rendered asymmetrically nowadays.
36997 The typical gnulib style is to quote 'like this' when quoting
36998 code, and "like this" when quoting English.
36999
b99e4f78
PE
37000 * time/mktime.c (compile-command): Add "-I.".
37001
643e01e6
PE
37002 mktime: merge mktime-internal.h change from gnulib
37003 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37004
2554247d
PE
37005 mktime: merge time_r change from gnulib
37006 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37007
826dd0ab
PE
37008 mktime: merge DEBUG change from gnulib
37009 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37010 case system <time.h> has a #define.
37011
bd83aabe
PE
37012 mktime: merge <sys/types.h> change from gnulib
37013 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37014 since <time.t> is now guaranteed to define time_t.
37015
95770f14
PE
37016 mktime: merge HAVE_CONFIG_H change from gnulib
37017 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37018
5e1a27a9
L
370192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37020
0e44a77e
L
37021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37022 Use "neg %eax".
37023
5e1a27a9
L
37024 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37025 __rlim_t cast.
37026 (struct rusage): Use anonymous union to pad each field to
37027 __syscall_slong_t.
37028
46259bec
DM
370292012-05-21 David S. Miller <davem@davemloft.net>
37030
37031 * Makefules (o-iterator): Remove .s cases.
37032 (compile-command.s): Delete.
37033 (COMPILE.s): Delete.
37034 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37035
59f0c22e
JM
370362012-05-21 Joseph Myers <joseph@codesourcery.com>
37037
37038 * configure.in (libc_cv_predef_stack_protector): Only consider
37039 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37040 * configure: Regenerated.
37041
20c07380
L
370422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37043
bbb3154b
L
37044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37045 New macro. Use R*LP on int and pointer.
37046 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37047 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37048 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37049 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37050
20c07380
L
37051 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37052 [__WORDSIZE_TIME64_COMPAT32] instead of
37053 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37054 (struct utmp): Likewise.
37055 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37056 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37057 Renamed to ...
37058 (__WORDSIZE_TIME64_COMPAT32): This.
37059 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37060 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37061 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37062 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37063 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37064 (__WORDSIZE_TIME64_COMPAT32): New macro.
37065
d8d1017e
AJ
370662012-05-21 Andreas Jaeger <aj@suse.de>
37067
37068 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37069 only if [SHARED]. Add prototype for __wcschr_ia32.
37070
6c7fb145
RM
370712012-05-21 Roland McGrath <roland@hack.frob.com>
37072
37073 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37074 of %rbp unmolested in the jmp_buf while mangling the low bits.
37075 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37076 unmolested high bits of %rbp while demangling the low bits.
37077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37078
66274218
AJ
370792012-05-21 Andreas Jaeger <aj@suse.de>
37080
07c58f8f
AJ
37081 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37082 * sunrpc/svc_simple.c: Use it for registerrpc.
37083 * sunrpc/xcrypt.c: Use it for passwd2des.
37084
66274218
AJ
37085 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37086
61f65140
L
370872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37088
37089 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37090 Don't define if [__SYSCALL_WORDSIZE != 32].
37091 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37092 New macro.
37093
5fefb436
AJ
370942012-05-21 Bruno Haible <bruno@clisp.org>
37095 Andreas Jaeger <aj@suse.de>
37096
37097 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37098 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37099 inptr and inend for must_buffer_ch.
37100 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37101 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37102 * stdio-common/Makefile (tests): Remove bug15.
37103 (bug15-ENV): Remove macro.
37104 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37105 anymore.
37106
d8e272ab
AJ
371072012-05-19 Andreas Jaeger <aj@suse.de>
37108 Roland McGrath <roland@hack.frob.com>
37109
37110 * manual/contrib.texi: Completely rewritten. It contains now an
37111 alphabetical list of contributors and their contributions.
37112
4a56a162
RH
371132012-05-21 Richard Henderson <rth@twiddle.net>
37114
37115 * misc/getauxval.c (__getauxval): Use unsigned long int.
37116 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37117 (getauxval): Use unsigned long int.
37118
d024d23c
L
371192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37120
37121 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37122
cbc00a03
RM
371232012-05-21 Roland McGrath <roland@hack.frob.com>
37124
37125 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37126 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37127 __alignof__ (long double).
37128
478143fa
AZ
371292012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37130
37131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37132
c7683a6d
RH
371332012-05-20 Richard Henderson <rth@twiddle.net>
37134
37135 * misc/getauxval.c: New file.
37136 * misc/sys/auxv.h: New file.
37137 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37138 (routines): Add getauxval.
37139 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37140 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37141 * elf/dl-sysdep.c (_dl_auxv): Remove.
37142 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37143 * elf/dl-support.c (_dl_auxv): New variable.
37144 (_dl_aux_init): Initialize it.
37145 * manual/startup.texi (Auxiliary Vector): New node.
37146 * sysdeps/generic/bits/hwcap.h: New file.
37147 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37148 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37149 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37150 * sysdeps/sparc/sysdep.h: ... here. Include it.
37151 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37152 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37154 Update.
c7683a6d
RH
37155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37163
a6f1845d
AZ
371642012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37165
37166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37167
cbcbe830
DM
371682012-05-19 David S. Miller <davem@davemloft.net>
37169
37170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37171
e0b16cc2
JM
371722012-05-19 Joseph Myers <joseph@codesourcery.com>
37173
37174 [BZ #14123]
37175 * math/s_ccosh.c: Include <float.h>
37176 (__ccosh): Avoid internal overflow calculating sinh and cosh
37177 values before multiplying by sin and cos values.
37178 * math/s_ccoshf.c: Likewise.
37179 * math/s_ccoshl.c: Likewise.
37180 * math/s_csin.c: Likewise.
37181 * math/s_csinf.c: Likewise.
37182 * math/s_csinl.c: Likewise.
37183 * math/s_csinh.c: Likewise.
37184 * math/s_csinhf.c: Likewise.
37185 * math/s_csinhl.c: Likewise.
37186 * math/libm-test.inc (ccos_test): Add more tests.
37187 (ccosh_test): Likewise.
37188 (csin_test): Likewise.
37189 (csinh_test): Likewise.
37190 * sysdeps/i386/fpu/libm-test-ulps: Update.
37191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37192
6ad13e08
L
371932012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37194
f66f0ce8
L
37195 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37196 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37197
6ad13e08
L
37198 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37199
b1d072a7
JM
372002012-05-19 Joseph Myers <joseph@codesourcery.com>
37201
37202 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37203 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37204 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37205 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37206 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37207 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37208 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37209 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37210 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37211 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37212 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37213 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37214 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37215 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37216 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37217 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37218 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37219 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37220 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37221 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37222 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37223 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37224 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37225 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37226 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37227 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37228 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37229 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37230 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37231 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37232 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37233
9eae47cb
AJ
372342012-05-18 Andreas Jaeger <aj@suse.de>
37235
37236 * csu/.gitignore: Delete.
37237
bb07f69f
L
372382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37239
37240 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37241 (timex): Use __syscall_slong_t.
37242
e6bdb741
AJ
372432012-05-18 Andreas Jaeger <aj@suse.de>
37244 Carlos O'Donell <carlos_odonell@mentor.com>
37245
37246 * manual/install.texi (Configuring and compiling): Update
37247 description about files modified in the source directory.
d6c33fda 37248 * INSTALL: Regenerated.
e6bdb741 37249
1b74487e
L
372502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37251
37252 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37253 value. Use "or" to set return value to -1.
37254 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37255 negate return value.
37256
a88b64b9
TMQMF
372572012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37258
57f41c40
AS
37259 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37260 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37261 failure if the compiler has Graphite support disabled.
37262 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37263 Likewise.
57f41c40
AS
37264 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37265 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37266 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37267 Likewise.
37268
3707636e
L
372692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37270
610b8622
L
37271 * sysdeps/x86_64/x32/_itoa.h: New file.
37272
7cd195df
L
37273 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37274 getdents system call only if kernel and user dirents have the
37275 same d_ino and d_off.
37276
94b07d20
L
37277 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37278 LLONG_MAX != LONG_MAX.
37279 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37280 (_fitoa_word): Likewise.
37281
18298070
L
37282 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37283 years.
37284 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37285 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37286 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37287
553c7ea4
L
37288 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37289 include <bits/wordsize.h>. Check __x86_64__ instead of
37290 __WORDSIZE.
37291 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37292 if __x86_64__ is defined. Use anonymous union on fpstate.
37293
3707636e
L
37294 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37295 anonymous union.
37296
b53ef01a
AS
372972012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37298
37fb1dc0
AS
37299 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37300 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37301 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37302 Refer to _rtld_local_ro instead of _rtld_global_ro.
37303 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37304 Likewise.
37305 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37306 Likewise.
37307 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37308 Likewise.
37309 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37310 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37311 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37312
b53ef01a
AS
37313 * sysdeps/powerpc/powerpc32/dl-machine.c
37314 (__elf_machine_runtime_setup) [PROF]: Don't reference
37315 _dl_prof_resolve.
37316
7a185db2
AJ
373172012-05-18 Andreas Jaeger <aj@suse.de>
37318
37319 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37320 function only available for GCCs before 3.4 since GCC 3.4
37321 introduced a builtin.
37322 (lrint): Likewise.
37323 (llrintf): Likewise.
37324 (llrint): Likewise.
37325 (fmaxf): Likewise.
37326 (fmax): Likewise.
37327 (fminf): Likewise.
37328 (fmin): Likewise.
37329 (rint): Likewise.
37330 (rintf): Likewise.
37331 (nearbyint): Likewise.
37332 (nearbyintf): Likewise.
37333 (ceil): Likewise.
37334 (ceilf): Likewise.
37335 (floor): Likewise.
37336 (floorf): Likewise.
37337
3e5aef87
L
373382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37339
428bd707
L
37340 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37341 on both fields and cast pointer to __syscall_ulong_t.
37342
3e5aef87
L
37343 * bits/types.h (__fsword_t): New type.
37344 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37345 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37347 (__FSWORD_T_TYPE): Likewise.
37348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37349 (__FSWORD_T_TYPE): Likewise.
37350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37351 (__FSWORD_T_TYPE): Likewise.
37352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37353 (__FSWORD_T_TYPE): Likewise.
37354 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37355 __SWORD_TYPE with __fsword_t.
37356 (statfs64): Likewise.
37357
1ba7c3dc
DM
373582012-05-17 David S. Miller <davem@davemloft.net>
37359
37360 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37361
59910343
AJ
373622012-05-17 Andreas Jaeger <aj@suse.de>
37363
37364 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37365 warning.
37366
2e4c1e9e
L
373672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37368
37369 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37370
de7f5ce7
AJ
373712012-05-17 Andreas Jaeger <aj@suse.de>
37372
37373 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37374 when it is used.
37375
286abc3d
CM
373762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37377
37378 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37379
477cc68e
L
373802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37381
37382 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37383 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37384
1a0994f5
CD
373852012-05-17 Andreas Jaeger <aj@suse.de>
37386 Carlos O'Donell <carlos_odonell@mentor.com>
37387
37388 [BZ #14059]
37389 * sysdeps/x86_64/multiarch/init-arch.h
37390 (bit_YMM_Usable): Rename to...
37391 (bit_AVX_Usable): ... this.
37392 (bit_FMA4_Usable): New macro.
37393 (bit_XMM_state): New macro.
37394 (bit_YMM_state): New macro.
37395 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37396 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37397 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37398 (CPUID_OSXSAVE): New macro.
37399 (CPUID_AVX): New macro.
37400 (CPUID_FMA4): New macro.
37401 (index_YMM_Usable): Rename to...
37402 (index_AVX_Usable): ... this.
37403 (HAS_AVX): Use HAS_ARCH_FEATURE.
37404 (HAS_FMA4): Likewise.
37405 (HAS_YMM_USABLE): Remove.
37406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37407 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37408 are present.
37409 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37410 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37411 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37412 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37413 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37414
0af797de
CM
374152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37416
37417 * math/libm-test.c: Support platforms without multiple rounding modes.
37418 * math/bug-nextafter.c: Support platforms without FP exceptions.
37419 * math/bug-nexttoward.c: Likewise.
37420 * math/test-fenv.c: Likewise.
37421 * math/test-misc.c: Likewise.
37422 * stdlib/bug-getcontext.c: Likewise.
37423
e39745ff
AJ
374242012-05-17 Andreas Jaeger <aj@suse.de>
37425
37426 * manual/examples/search.c (critter_cmp): Change signature to
37427 avoid warnings.
37428 * manual/string.texi (Collation Functions): Likewise.
37429
48970aba
L
374302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37431
37432 * bits/types.h: Fold copyright years.
37433 * bits/typesizes.h: Likewise.
37434 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37435 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37438 * time/time.h: Likewise.
37439
bedee953
PP
374402012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37441
37442 [BZ #208]
37443 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37444 in instead of returning them. Return void.
37445 (__libc_mallinfo): Accumulate over all arenas.
37446 (__malloc_stats): Adjust for change in int_mallinfo interface.
37447
61653dfb
RM
374482012-05-16 Roland McGrath <roland@hack.frob.com>
37449
30b99d79
RM
37450 [BZ #10375]
37451 * configure.in (NM): Add AC_CHECK_TOOL for it.
37452 (libc_extra_cflags): New substituted variable.
37453 Check for -fstack-protector being used implicitly.
37454 * configure: Regenerated.
37455 * config.make.in (config-extra-cflags): New variable,
37456 gets @libc_extra_cflags@.
37457 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37458
61653dfb
RM
37459 [BZ #10375]
37460 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37461 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37462 * configure: Regenerated.
37463 * config.make.in (CPPUNDEFS): New substituted variable.
37464 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37465 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37466 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37467
661768bb
L
374682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37469
37470 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37471 (mq_attr): Use __syscall_slong_t.
37472
d4261567
L
374732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37474
37475 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37476 Check __x86_64__ instead of __WORDSIZE.
37477 (_STAT_VER_LINUX): Likewise.
37478 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37479 __syscall_ulong_t and __syscall_slong_t.
37480 (stat64): Likewise.
37481
cf3ff365
L
374822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37483
37484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37485
76cf3e4d
L
374862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37487
37488 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37489
a637753a
L
374902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37491
37492 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37493 __syscall_ulong_t.
37494
d5e05119
L
37495 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37496 include <bits/wordsize.h>. Check __x86_64__ instead of
37497 __WORDSIZE.
37498 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37499 defined.
37500 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37501
f62ee380
L
37502 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37503 include <bits/wordsize.h>. Check __x86_64__ instead of
37504 __WORDSIZE.
37505 (user_regs_struct): Use "__extension__ unsigned long long"
37506 instead of "unsigned long" if __x86_64__ is defined.
37507 (user): Likewise. Pad after pointer field if __ILP32__ is
37508 defined.
37509
4e124ced
JM
375102012-05-16 Joseph Myers <joseph@codesourcery.com>
37511
6a3951a0
JM
37512 * configure.in (makeinfo): Require version 4.5 or later. Allow
37513 versions 5 to 9.
37514 * configure: Regenerated.
37515 * manual/install.texi (texinfo): Increase version requirement to
37516 4.5 or later.
37517 * INSTALL: Regenerated.
37518
4e124ced
JM
37519 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37520
953ca31a
L
375212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37522
37523 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37524
617aca05
L
37525 * sysdeps/x86_64/x32/ffs.c: New file.
37526
5762f7ae
L
37527 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37528 __syscall_ulong_t.
37529 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37530 defined. Use __syscall_ulong_t.
37531 (shminfo): Use __syscall_ulong_t.
37532 (shm_info): Likewise.
37533
a26b6856
L
37534 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37535 __syscall_ulong_t.
37536
cb2b9ef7
L
37537 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37538 <bits/wordsize.h>.
37539 (msgqnum_t): Use __syscall_ulong_t.
37540 (msglen_t): Likewise.
37541 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37542 __syscall_ulong_t.
37543
34683bb0
L
37544 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37545 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37546
84a68786
L
37547 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37548
48baa5f1
L
37549 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37550 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37551
180be88b
L
37552 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37553 __syscall_slong_t.
37554
5e90c8ad
L
37555 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37556 include <bits/wordsize.h>. Check __x86_64__ instead of
37557 __WORDSIZE.
37558
23dfb58b
L
37559 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37560 "unsigned long long int" if __x86_64__ is defined.
37561 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37562
ce5d54b0
L
37563 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37564 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37565 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37566
13dc9eac
L
37567 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37568 <stdint.h>.
37569 (GET_PC): Cast to uintptr_t first.
37570 (GET_FRAME): Likewise.
37571 (GET_STACK): Likewise.
37572
a7895d15
L
37573 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37574 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37576 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37578 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37579 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37580 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37581 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37582 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37583 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37584 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37585 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37586 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37587 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37588 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37589 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37590 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37591 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37592 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37593 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37594 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37595 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37596 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37597 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37598 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37599 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37600 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37601 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37602
656416c9
AS
376032012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37604
5bd66283
AS
37605 * Makerules (+depfiles): Also collect depfiles from .oS in
37606 $(extra-objs).
37607 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37608 .oS, $(libnldbl-routines)).
37609
656416c9
AS
37610 * Makerules (native-compile-mkdep-flags): Define.
37611 * sunrpc/Makefile (extra-objs): Add $(addprefix
37612 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37613 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37614 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37615 calling $(make-target-directory).
37616
a46f2169
L
376172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37618
37619 * bits/types.h (__snseconds_t): Removed.
37620 * time/time.h (struct timespec): Replace __snseconds_t with
37621 __syscall_slong_t.
37622 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37623 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37624 Likewise.
37625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37626 (__SNSECONDS_T_TYPE): Likewise.
37627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37628 (__SNSECONDS_T_TYPE): Likewise.
37629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37630 (__SNSECONDS_T_TYPE): Likewise.
37631
6af6528b
L
376322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37633
37634 * sysdeps/mach/hurd/bits/typesizes.h
37635 (__SYSCALL_SLONG_TYPE): New macro.
37636 (__SYSCALL_ULONG_TYPE): Likewise.
37637
de986b56
L
376382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37639
37640 * bits/types.h (__syscall_slong_t): New type.
37641 (__syscall_ulong_t): Likewise.
37642
37643 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37644 (__SYSCALL_ULONG_TYPE): Likewise.
37645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37646 (__SYSCALL_SLONG_TYPE): Likewise.
37647 (__SYSCALL_ULONG_TYPE): Likewise.
37648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37649 (__SYSCALL_SLONG_TYPE): Likewise.
37650 (__SYSCALL_ULONG_TYPE): Likewise.
37651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37652 (__SYSCALL_SLONG_TYPE): Likewise.
37653 (__SYSCALL_ULONG_TYPE): Likewise.
37654
85736dc7
L
376552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37656
37657 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37658 Add sigaltstack-offsets.sym.
37659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37660 <sigaltstack-offsets.h>.
37661 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37662 longjmp_msg pointer.
37663 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37664 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37665 signal stack.
37666 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37667
cc03b296
JM
376682012-05-15 Joseph Myers <joseph@codesourcery.com>
37669
a9538892
JM
37670 * elf/stackguard-macros.h: Remove file.
37671 * sysdeps/generic/stackguard-macros.h: New file.
37672 * sysdeps/i386/stackguard-macros.h: Likewise.
37673 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37674 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37675 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37676 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37677 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37678 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37679 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37680 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37681 <elf/stackguard-macros.h>.
37682
cc03b296
JM
37683 [BZ #14109]
37684 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37685 __aligned__ in attribute.
37686 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37687 (gregset_t): Likewise.
37688
93171016
L
376892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37690
37691 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37692 * sysdeps/x86_64/64/Implies-after: Here. New file.
37693 * sysdeps/x86_64/x32/Implies-after: New file.
37694
d86813a0
L
376952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37696
37697 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37698 and access return value for _dl_profile_fixup. Use R10_LP to
37699 load frame size.
37700
2953ec75
L
377012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37702
37703 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37704
3b550e9e
L
377052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37706
37707 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37708 * sysdeps/x86_64/x32/sysdep.h: New file.
37709
eda41706
L
377102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37711
37712 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37713 * sysdeps/x86_64/setjmp.S: Likewise.
37714
9ea01d93
AZ
377152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37716
37717 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37718 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37719 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37721 remove unused global constant.
37722
02a91938
CM
377232012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37724
37725 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37726 include of <not-cancel.h>.
37727
6540185f
RM
377282012-05-15 Roland McGrath <roland@hack.frob.com>
37729
37730 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37731
509072a0
AJ
377322012-05-15 Jeff Law <law@redhat.com>
37733 Andreas Jaeger <aj@suse.de>
37734
37735 [BZ #13594]
37736 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37737 out from...
37738 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37739 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37740 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37741 code changing __hst_map_handle.map.
37742
ba75122d
RM
377432012-05-15 Roland McGrath <roland@hack.frob.com>
37744
37745 * configure.in (sysnames): Look for Implies-before and Implies-after
37746 files.
37747 * configure: Regenerated.
37748
890d8bd8
L
377492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37750
37751 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37752 8-byte data alignment with LP_SIZE alignment.
37753
f6ee6623
L
377542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37755
37756 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37757 into R10_LP.
37758
ea2626f6
L
377592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37760
37761 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37762
085f715e
L
377632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37764
37765 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37766 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37767 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37768 Likewise.
37769 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37770
be8498fc
L
377712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37772
37773 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37774 (stackinfo_sub_sp): Likewise.
37775
70bc83b9
L
377762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37777
37778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37779 RAX_LP.
37780
9bc0b730
L
377812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37782
37783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37784 into R*_LP.
37785
6d2850e7
L
377862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37787
37788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37789 sizes into R*_LP.
37790
3cb84561
L
377912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37792
37793 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37794
54e2ed81
L
377952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37796
37797 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37798 into R11_LP and load __x86_64_shared_cache_size_half into
37799 R8_LP.
37800
8a17f349
L
378012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37802
37803 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37804 R8_LP.
37805
777b1eea
AZ
378062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37807
37808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37809 logb for POWER7.
37810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37811 logbf for POWER7.
37812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37813 logbl for POWER7.
37814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37815 powerpc32/power7/fpu/s_logb.c via #include.
37816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37817 powerpc32/power7/fpu/s_logbf.c via #include.
37818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37819 powerpc32/power7/fpu/s_logbl.c via #include.
37820
d20d4ac2
JM
378212012-05-15 Joseph Myers <joseph@codesourcery.com>
37822
37823 * README.libm: Remove file.
37824
6cdef1ab
L
378252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37826
37827 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37828 count for x32. Use R*_LP and omit operand-size suffix.
37829
0b254d8f
L
378302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37831
37832 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37833 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37834 * sysdeps/x86_64/x32/shlib-versions: New file.
37835
ceb809dc
RM
378362012-05-14 Roland McGrath <roland@hack.frob.com>
37837
37838 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37839 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37840 Use _dl_fatal_printf instead.
37841
37f1abd4
JM
378422012-05-14 Joseph Myers <joseph@codesourcery.com>
37843
37844 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37845 set if not set by the user. Do not allow for being unset.
37846 * sysdeps/unix/sysv/linux/configure: Regenerated.
37847
11de3a33
L
378482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37849
37850 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37851 the `q' suffix from lea and replace .quad with ASM_ADDR.
37852
e02f153a
L
378532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37854
37855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37856 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37857 instead of $17.
37858 (PTR_DEMANGLE): Likewise.
37859
520ae0fd
L
378602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37861
37862 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37863 (LP_OP): Likewise.
37864 (ASM_ADDR): Likewise.
37865 (RAX_LP): Likewise.
37866 (RBP_LP): Likewise.
37867 (RBX_LP): Likewise.
37868 (RCX_LP): Likewise.
37869 (RDI_LP): Likewise.
37870 (RSI_LP): Likewise.
37871 (RSP_LP): Likewise.
37872 (R8_LP): Likewise.
37873 (R9_LP): Likewise.
37874 (R10_LP): Likewise.
37875 (R10_LP): Likewise.
37876 (R11_LP): Likewise.
37877 (R12_LP): Likewise.
37878 (R13_LP): Likewise.
37879 (R14_LP): Likewise.
37880 (R15_LP): Likewise.
37881
b985be81
L
378822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37883
37884 * sysdeps/x86_64/x32/dl-machine.h: New file.
37885
6a4888ff
AJ
378862012-05-14 Andreas Jaeger <aj@suse.de>
37887
37888 * manual/Makefile (subdir): Remove export of subdir.
37889 (all): Remove target.
37890 (.PHONY): Remove all from list.
37891 (mkinstalldirs): Remove.
37892 (.PHONY): Remove installdirs from list.
37893 ($(inst_infodir)/libc.info): Use make-target-directory.
37894 (installdirs): Remove.
37895 (subdir_%): Remove.
37896 (glibc-targets): Remove.
37897 (lib): Remove.
37898 (stubs): Remove.
37899 ($(objpfx)stubs ../po/manual.pot): Remove.
37900 ($(objpfx)stamp%): Remove.
37901 (make-target-directory): Remove.
37902 (subdir_install): Remove.
37903 (routines): Remove.
37904 (aux): Remove.
37905 (sources): Remove.
37906 (objects): Remove.
37907 (headers): Remove.
37908
37909 [BZ #13750]
37910 * manual/.gitignore: Remove, it's not needed anymore.
37911 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37912 all files in it.
37913 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37914 directory.
37915 (texis): Renamed to $(objpfx)texis.
37916 (texis-path): New, contains path to generated files.
37917 (chapters.%): Use texis-path for complete path, add extra argument
37918 libc-texinfo.sh.
37919 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37920 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37921 (summary,texi, stamp-summary): Use complete path of
37922 files. Generate files in build dir.
37923 (dir-add.texi): Build in build dir.
37924 (libm-err.texi,stamp-libm-err): Likewise.
37925 (version.texi, stamp-version): Likewise.
37926 (.%c.texi): Likewise.
37927 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37928 (mostlyclean): Remove target.
37929 (realclean): Remove target.
37930 (generated): Add new variable with contents from mostlyclean and
37931 realclean, remove entries duplicated in common-mostlyclean, add
37932 stamp-libm-err and stamp-version.
37933 (generated-dirs): Add libc directory.
37934 ($(inst_infodir)/libc.info): Install files from build dir.
37935
37936 * manual/install.texi (Configuring and compiling): Adjust since
37937 the info files are not part of the tar ball anymore.
37938
7ac77294
AJ
379392012-05-14 Andreas Jaeger <aj@suse.de>
37940
37941 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37942 variable.
37943
ffb7875d
JM
379442012-05-14 Joseph Myers <joseph@codesourcery.com>
37945
37946 [BZ #13717]
37947 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37948 to 2.2.0 where earlier.
37949 * sysdeps/unix/sysv/linux/configure: Regenerated.
37950 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37951 Remove conditional code.
37952 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37953 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37954 Remove conditional code.
37955 [!__NR_lchown]: Likewise.
37956 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37957 [__NR_lchown]: Likewise.
37958 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37959 comment referencing __ASSUME_LCHOWN_SYSCALL.
37960 * sysdeps/unix/sysv/linux/i386/sigaction.c
37961 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37962 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37963 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37964 Remove conditional code.
37965 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37966 (__protocol_available): Remove #if 0 code.
37967 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37968 conditional code.
37969 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37970 * sysdeps/unix/sysv/linux/kernel-features.h
37971 (__ASSUME_GETCWD_SYSCALL): Don't define.
37972 (__ASSUME_REALTIME_SIGNALS): Likewise.
37973 (__ASSUME_PREAD_SYSCALL): Likewise.
37974 (__ASSUME_PWRITE_SYSCALL): Likewise.
37975 (__ASSUME_POLL_SYSCALL): Likewise.
37976 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37977 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37978 non-SPARC.
37979 (__ASSUME_SIOCGIFNAME): Don't define.
37980 (__ASSUME_MSG_NOSIGNAL): Likewise.
37981 (__ASSUME_SENDFILE): Define unconditionally.
37982 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37983 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37984 conditional code.
37985 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37986 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37987 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37988 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37989 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37990 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37991 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37993 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37996 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38002 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38005 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38008 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38011 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38016 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38017 Remove conditional code.
38018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38019 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38020 Remove conditional code.
38021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38022 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38023 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38024 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38025 Remove conditional code.
38026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38027 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38028 Remove conditional code.
38029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38030 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38031 Remove conditional code.
38032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38033 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38034 Remove conditional code.
38035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38036 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38037 Remove conditional code.
38038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38039 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38040 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38042 * sysdeps/unix/sysv/linux/sigaction.c
38043 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38044 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38045 * sysdeps/unix/sysv/linux/sigpending.c
38046 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38047 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38048 * sysdeps/unix/sysv/linux/sigprocmask.c
38049 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38050 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38051 * sysdeps/unix/sysv/linux/sigsuspend.c
38052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38054 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38055 (__libc_missing_rt_sigs): Remove.
38056 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38057 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38058 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38059 Remove conditional code.
38060 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38061 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38062 return 1.
38063 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38064 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38065 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38066 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38067
1bfb7291
AJ
380682012-05-14 Andreas Jaeger <aj@suse.de>
38069
caae5a81
AJ
38070 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38071 it's not used in glibc.
38072 (__coshm1): Likewise.
38073 (__acosh1p): Likewise.
38074 (__sgn): Likewise.
38075
1bfb7291
AJ
38076 * manual/string.texi (Copying and Concatenation): Add missing
38077 variable in concat example.
38078 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38079
c044d724
L
380802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38081
144c5467 38082 [BZ #14103]
c044d724
L
38083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38084 __builtin_clzl with __builtin_clzll.
38085
2523c62b
L
380862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38087
38088 [BZ #14104]
38089 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38090 libc_freeres_ptr.
38091
d7bb4c42
LD
380922012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38093
38094 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38095 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38096 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38097 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38098
9dc4e1fb
MF
380992012-05-14 Mike Frysinger <vapier@gentoo.org>
38100
38101 * NEWS: Update ia64 info.
38102
c7df0112
AS
381032012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38104
38105 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38106 used as bcopy.
38107
dc70356c
TS
381082012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38109
38110 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38111 * sysdeps/unix/syscalls.list (dup3): Likewise.
38112 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38113 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38114
9fb1a21f
L
381152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38116
38117 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38118 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38119
4822a2a5
L
381202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38121
38122 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38123 thread pointer.
38124 (TLS_IE): Use mov/add instead of movq/addq to load thread
38125 pointer.
38126 (TLS_GD_PREFIX): New.
38127 (TLS_GD): Use it.
38128
842b81d6
DM
381292012-05-11 David S. Miller <davem@davemloft.net>
38130
38131 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38132 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38133 (_FPU_SETCW): Likewise.
38134
1cf463cd
L
381352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38136
38137 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38138 is 32-byte aligned.
38139
60cc4a18
AS
381402012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38141
38142 [BZ #11837]
38143 * iconvdata/gb18030.c: Update tables.
38144 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38145 characters specially.
38146 (BODY for TO_LOOP): Add encoding of missing ranges.
38147
febb44a4
TS
381482012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38149
38150 [BZ #13673]
38151 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38152 * sysdeps/mach/hurd/dup3.c: Likewise.
38153 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38154 * sysdeps/powerpc/memmove.c:: Likewise.
38155
0a10fb9e
L
381562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38157
38158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38159 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38160
df8a552f
L
381612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38162
38163 * elf/elf.h (R_X86_64_RELATIVE64): New.
38164 (R_X86_64_NUM): Updated.
38165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38166 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38167 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38168 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38169 tst-quad1pie tst-quad2pie
38170 (modules-names): Add tst-quadmod1 tst-quadmod2.
38171 ($(objpfx)tst-quad1): New dependency.
38172 ($(objpfx)tst-quad2): Likewise.
38173 ($(objpfx)tst-quad1pie): Likewise.
38174 ($(objpfx)tst-quad2pie): Likewise.
38175 * sysdeps/x86_64/tst-quad1.c: New file.
38176 * sysdeps/x86_64/tst-quad1pie.c: New file.
38177 * sysdeps/x86_64/tst-quad2.c: Likewise.
38178 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38179 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38180 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38181 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38182 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38183
f34d6f84
ST
381842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38185
f42d41d1
ST
38186 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38187 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38188 * streams/stropts.h (t_scalar_t): Define type.
38189
3c3571fc
ST
38190 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38191 (_PATH_PRESERVE): Set to "/var/lib".
38192 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38193
61f06bd3
ST
38194 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38195 instead of int.
38196
918d4d71
ST
38197 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38198 if __dir_mkfile succeeded.
38199
f34d6f84
ST
38200 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38201 checking for _hurd_dtablesize. Unlock it right after having
38202 finished _hurd_dtable allocation.
38203
10589b4a
TS
382042012-05-10 Thomas Schwinge <thomas@schwinge.name>
38205
674cdbc7
TS
38206 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38207 * sysdeps/mach/hurd/configure: Regenerated.
38208 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38209 special-casing to...
38210 * sysdeps/gnu/configure.in: ... this new file.
38211 * sysdeps/unix/sysv/linux/configure: Regenerated.
38212 * sysdeps/gnu/configure: New generated file.
38213
8e41b99f
TS
38214 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38215 for Linux: use nsec instead of usec, as well as:
38216 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38217 members of type struct timespec.
38218 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38219 New macros.
38220 (struct stat64): Likewise.
38221 (_STATBUF_ST_NSEC): New macro.
38222 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38223
10589b4a
TS
38224 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38225 __strtoul_internal rather than strtoul.
38226
63643c85
PT
382272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38228
38229 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38230 and reject them.
38231
3faebe6a
ST
382322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38233
38234 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38235 which preserves existing values.
38236 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38237
c6474b07
PT
382382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38239
38240 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38241 TIMEOUT values. Return EINVAL for NFDS values either negative or
38242 greater than FD_SETSIZE.
38243
1043890b
ST
382442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38245
38246 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38247 allocated, call __vm_protect to finish enabling the existing space, and
38248 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38249 allocate the remainder.
38250
37ed8b9b
PT
382512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38252
38253 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38254 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38255
db653660
ST
382562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38257
37ed8b9b
PT
38258 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38259 sysdeps/mach/hurd/readlink.c.
b29d4053 38260
db653660
ST
38261 * posix/tst-sysconf.c (posix_options): Only use
38262 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38263 _POSIX_SYNCHRONIZED_IO when they are defined
38264 * sysdeps/mach/hurd/bits/posix_opt.h:
38265 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38266 (_XOPEN_REALTIME): Undefine macro.
38267 (_XOPEN_REALTIME_THREADS): Undefine macro.
38268 (_XOPEN_SHM): Undefine macro.
38269 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38270 macro to -1.
38271 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38272 macro to -1.
38273 (_POSIX_ASYNC_IO): Undefine macro.
38274 (_POSIX_PRIORITIZED_IO): Undefine macro.
38275 (_POSIX_SPIN_LOCKS): Define macro to -1.
38276
ee16e894
ST
38277 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38278 SA_NODEFER, SA_RESETHAND.
38279 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38280 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38281 F_DUPFD_CLOEXEC.
38282
6103ae3b
TS
382832012-05-10 Thomas Schwinge <thomas@schwinge.name>
38284
38285 * elf/Makefile (pldd-modules): Define unconditionally.
38286
80b4e5f3
TS
382872012-05-10 Thomas Schwinge <thomas@schwinge.name>
38288
38289 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38290
edadcbd6
ST
382912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38292
38293 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38294 Return ENOENT when name is empty.
38295 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38296
80694780
TS
382972012-05-10 Thomas Schwinge <thomas@schwinge.name>
38298
1792c087
TS
38299 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38300
80694780
TS
38301 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38302
6b645f0d
ST
383032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38304
80694780
TS
38305 Fix mlock in all cases except non-readable pages.
38306 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38307 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38308
6b645f0d
ST
38309 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38310 (__mkdir): When path is `/', just fail with EEXIST.
38311 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38312
e468f8a3
TS
383132012-05-10 Thomas Schwinge <thomas@schwinge.name>
38314
38315 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38316 <sys/uio.h> (for writev).
38317 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38318 and <sys/param.h> (for MIN).
38319
a4186cff
PT
383202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38321
38322 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38323 REQUESTED_TIME. Properly set the remaining time and return EINTR
38324 if interrupted.
38325
510bbf14
TS
383262012-05-10 Thomas Schwinge <thomas@schwinge.name>
38327
38328 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38329 Depend on against $(link-rpcuserlibs).
38330
5d5722e8
ST
383312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38332
a4186cff
PT
38333 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38334 (__libc_stack_end): Do not use attribute_relro.
38335 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38336 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38337 to libthread-provided value.
a4186cff
PT
38338 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38339 attribute_relro.
5d5722e8 38340
37233df9
TS
383412012-05-10 Thomas Schwinge <thomas@schwinge.name>
38342
be971a2b
TS
38343 [BZ #3748]
38344 * bits/libc-lock.h (__libc_once_get): New macro.
38345 * sysdeps/mach/bits/libc-lock.h: Likewise.
38346 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38348 instead of using implementation details.
38349
37233df9
TS
38350 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38351 * libio/freopen.c: Likewise.
38352 * libio/freopen64.c: Likewise.
38353 * misc/syslog.c: Likewise.
38354 * nscd/connections.c: Likewise.
38355 * nscd/netgroupcache.c: Likewise.
38356 * sysdeps/posix/getcwd.c: Likewise.
38357
38de94a5
RM
383582012-05-10 Roland McGrath <roland@hack.frob.com>
38359
38360 * math/w_ilogbf.c: Add #include <limits.h>.
38361
67530489
ST
383622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38363
a4186cff 38364 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38365 path instead of returning without unlocking.
38366
67530489
ST
38367 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38368 immediate-write ioctls.
38369 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38370
5aa3a74a
TS
383712012-05-10 Thomas Schwinge <thomas@schwinge.name>
38372
18bad2ae
TS
38373 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38374 __builtin_frame_address instead of making assumptions about the
38375 location of the return address relative to DATA. Force early load of
38376 the return address.
38377 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38378 __builtin_frame_address.
38379
5aa3a74a
TS
38380 dup3 for GNU Hurd.
38381 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38382 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38383 implement dup3 and do some further code clean-ups.
38384 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38385 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38386
ecd0de9a
ST
383872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38388
cd9fa985
ST
38389 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38390
a4186cff
PT
38391 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38392 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38393 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38394 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38395 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38396 d->port.lock.
802ca5a5 38397
a4186cff
PT
38398 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38399 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38400 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38401
bcf55240
TS
384022012-05-10 Thomas Schwinge <thomas@schwinge.name>
38403
6960eb42
TS
38404 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38405 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38406 definitions.
38407
eb43375f
TS
38408 accept4 for GNU Hurd.
38409 * include/sys/socket.h (__libc_accept4): New prototype.
38410 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38411 to implement __libc_accept4.
38412 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38413 __libc_accept4.
38414 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38415
bcf55240
TS
38416 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38417 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38418 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38419 signal-defines.sym.
38420
6178c55b
ST
384212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38422
a4186cff 38423 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38424
6f080c2f
TS
384252012-05-10 Thomas Schwinge <thomas@schwinge.name>
38426
38427 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38428 assertion on O_CLOEXEC flag.
38429 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38430 * hurd/intern-fd.c: Likewise.
38431 * hurd/port2fd.c: Likewise.
38432
bcfe3a54
ST
384332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38434
38435 [BZ #3906]
38436 * bits/in.h (IPV6_PKTINFO): Define new macro.
38437 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38438
89c9aa49
AZ
384392012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38440
38441 [BZ #13954]
38442 [BZ #13955]
38443 [BZ #13956]
38444 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38445 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38446 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38447 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38449 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38450 * math/libm-test.inc (logb_test) : Additional logb tests.
38451
021db4be
AJ
384522012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38453 Andreas Jaeger <aj@suse.de>
38454
38455 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38456 * configure: Regenerated.
38457 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38458 * config.make.in (link-obsolete-rpc): New substituted variable.
38459 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38460 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38461 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38462 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38463 so that libc.a contains the symbols.
38464 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38465 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38466 * sunrpc/auth_none.c: Likewise.
38467 * sunrpc/auth_unix.c: Likewise.
38468 * sunrpc/authdes_prot.c: Likewise.
38469 * sunrpc/authuxprot.c: Likewise.
38470 * sunrpc/clnt_gen.c: Likewise.
38471 * sunrpc/clnt_perr.c: Likewise.
38472 * sunrpc/clnt_raw.c: Likewise.
38473 * sunrpc/clnt_simp.c: Likewise.
38474 * sunrpc/clnt_tcp.c: Likewise.
38475 * sunrpc/clnt_udp.c: Likewise.
38476 * sunrpc/clnt_unix.c: Likewise.
38477 * sunrpc/des_crypt.c: Likewise.
38478 * sunrpc/des_soft.c: Likewise.
38479 * sunrpc/get_myaddr.c: Likewise.
38480 * sunrpc/key_call.c: Likewise.
38481 * sunrpc/key_prot.c: Likewise.
38482 * sunrpc/netname.c: Likewise.
38483 * sunrpc/pm_getmaps.c: Likewise.
38484 * sunrpc/pm_getport.c: Likewise.
38485 * sunrpc/pmap_clnt.c: Likewise.
38486 * sunrpc/pmap_prot.c: Likewise.
38487 * sunrpc/pmap_prot2.c: Likewise.
38488 * sunrpc/pmap_rmt.c: Likewise.
38489 * sunrpc/publickey.c: Likewise.
38490 * sunrpc/rpc_cmsg.c: Likewise.
38491 * sunrpc/rpc_common.c: Likewise.
38492 * sunrpc/rpc_dtable.c: Likewise.
38493 * sunrpc/rpc_prot.c: Likewise.
38494 * sunrpc/rpc_thread.c: Likewise.
38495 * sunrpc/rtime.c: Likewise.
38496 * sunrpc/svc.c: Likewise.
38497 * sunrpc/svc_auth.c: Likewise.
38498 * sunrpc/svc_raw.c: Likewise.
38499 * sunrpc/svc_run.c: Likewise.
38500 * sunrpc/svc_tcp.c: Likewise.
38501 * sunrpc/svc_udp.c: Likewise.
38502 * sunrpc/svc_unix.c: Likewise.
38503 * sunrpc/svcauth_des.c: Likewise.
38504 * sunrpc/xcrypt.c: Likewise.
38505 * sunrpc/xdr.c: Likewise.
38506 * sunrpc/xdr_array.c: Likewise.
38507 * sunrpc/xdr_float.c: Likewise.
38508 * sunrpc/xdr_intXX_t.c: Likewise.
38509 * sunrpc/xdr_mem.c: Likewise.
38510 * sunrpc/xdr_rec.c: Likewise.
38511 * sunrpc/xdr_ref.c: Likewise.
38512 * sunrpc/xdr_sizeof.c: Likewise.
38513 * sunrpc/xdr_stdio.c: Likewise.
38514
b5c086a2
RM
385152012-05-10 Roland McGrath <roland@hack.frob.com>
38516
38517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38518 change. Update copyright years.
38519
6d74dd09
JM
385202012-05-10 Joseph Myers <joseph@codesourcery.com>
38521
38522 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38523
28e72501
MK
385242012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38525 Joseph Myers <joseph@codesourcery.com>
38526 Paul Pluzhnikov <ppluzhnikov@google.com>
38527
38528 [BZ #14012]
38529 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38530 requiring rpcgen.
38531 [cross-compiling] (extra-libs): Likewise.
38532 [cross-compiling] (extra-libs-others): Likewise.
38533 [cross-compiling] (librpcsvc-routines): Likewise.
38534 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38535 [cross-compiling] (omit-deps): Likewise.
38536 (sunrpc-CPPFLAGS): New variable.
38537 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38538 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38539 (cross-rpcgen-objs): New variable.
38540 (extra-objs): Append $(cross-rpcgen-objs).
38541 ($(cross-rpcgen-objs)): New rule.
38542 ($(objpfx)cross-rpcgen): Likewise.
38543 (rpcgen-cmd): Define to use $(built-program-file). Expand
38544 comment.
38545 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38546 ($(objpfx)x%.stmp): Likewise.
38547 * sunrpc/proto.h [IS_IN_build] (_): Define.
38548 [IS_IN_build] (_libc_intl_domainname): Likewise.
38549
c8c59454
L
385502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38551
38552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38553 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38554 and R_X86_64_TPOFF64.
38555
6f27cd16
JM
385562012-05-10 Joseph Myers <joseph@codesourcery.com>
38557
38558 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38559 sysdeps/unix/sysv/syscalls.list.
38560 (stime): Likewise.
38561 (utime): Likewise.
38562 * sysdeps/unix/sysv/syscalls.list: Remove file.
38563
02467e1c
PE
385642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38565
38566 [BZ #3440]
38567 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38568 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38569 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38570 (__LC_IDENTIFICATION): Make these macros useful in #if
38571 expressions, as required by C99.
38572
da392631
AS
385732012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38574
38575 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38576 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38577 after this.
38578
8115f29b
L
385792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38580
38581 * stdlib/longlong.h: Updated from GCC.
38582
bdd74070
AJ
385832012-05-09 Andreas Jaeger <aj@suse.de>
38584
edfe0dbe
AJ
38585 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38586 default is first entry.
38587 (run_mode): Set type.
38588 (main): Remove informal message about syslog.
38589 (options): Fix typo.
38590
bcfe3a54
ST
38591 [BZ #14053]
38592 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38593 to asm.
bcfe3a54
ST
38594 (lrint): Likewise.
38595 (llrintf): Likewise.
38596 (llrint): Likewise.
38597 (rint): Likewise.
38598 (rintf): Likewise.
38599 (nearbyint): Likewise.
38600 (nearbyintf): Likewise.
bdd74070 38601
91d8d69e
AJ
386022012-05-09 Andreas Jaeger <aj@suse.de>
38603 Pedro Alves <palves@redhat.com>
38604
38605 * nscd/nscd.c (run_mode): Use enum.
38606 (main): Cleanup coding style issue.
38607
bb90b80b
AJ
386082012-05-09 Alexandre Oliva <aoliva@redhat.com>
38609 Andreas Jaeger <aj@suse.de>
38610
bcfe3a54
ST
38611 * nscd/nscd.c (go_background): Replaced with...
38612 (run_mode): ... this.
bb90b80b 38613 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38614 (options): Add -F --foreground.
38615 (main): Implement it.
38616 (parse_opt): Parse it.
bb90b80b 38617
1a4b75a1
AJ
386182012-05-09 Andreas Jaeger <aj@suse.de>
38619
38620 [BZ #14083]
38621 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38622 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38623 -Wconversion warning.
38624 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38625 Likewise.
38626
b1cc2472
JM
386272012-05-09 Joseph Myers <joseph@codesourcery.com>
38628
38629 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38630 == 0.
38631 (LC_ALL): Use macro-int-constant.
38632 (LC_COLLATE): Likewise.
38633 (LC_CTYPE): Likewise.
38634 (LC_MESSAGES): Likewise.
38635 (LC_MONETARY): Likewise.
38636 (LC_NUMERIC): Likewise.
38637 (LC_TIME): Likewise.
38638 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38639 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38641 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38642 Specify type.
38643 [C99-based standards] (float_t): Expect type.
38644 [C99-based standards] (double_t): Expect type.
38645 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38646 type.
38647 [C99-based standards] (HUGE_VALL): Likewise.
38648 [C99-based standards] (INFINITY): Likewise.
38649 [C99-based standards] (NAN): Likewise.
38650 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38651 [C99-based standards] (FP_NAN): Likewise.
38652 [C99-based standards] (FP_NORMAL): Likewise.
38653 [C99-based standards] (FP_SUBNORMAL): Likewise.
38654 [C99-based standards] (FP_ZERO): Likewise.
38655 [C99-based standards] (FP_FAST_FMA): Use
38656 optional-macro-int-constant. Specify type. Require == 1.
38657 [C99-based standards] (FP_FAST_FMAF): Likewise.
38658 [C99-based standards] (FP_FAST_FMAL): Likewise.
38659 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38660 [C99-based standards] (FP_ILOGBNAN): Likewise.
38661 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38662 Specify type.
38663 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38664 [C99-based standards] (math_errhandling): Specify type.
38665 [ISO99 || ISO11] (signgam): Do not allow.
38666 [non-C99-based standards] (copysignf): Do not allow.
38667 [non-C99-based standards] (exp2f): Likewise.
38668 [non-C99-based standards] (log2f): Likewise.
38669 [non-C99-based standards] (modff): Allow.
38670 [non-C99-based standards] (erff): Do not allow.
38671 [non-C99-based standards] (erfcf): Likewise.
38672 [non-C99-based standards] (gammaf): Likewise.
38673 [non-C99-based standards] (hypotf): Likewise.
38674 [non-C99-based standards] (j0f): Likewise.
38675 [non-C99-based standards] (j1f): Likewise.
38676 [non-C99-based standards] (jnf): Likewise.
38677 [non-C99-based standards] (lgammaf): Likewise.
38678 [non-C99-based standards] (tgammaf): Likewise.
38679 [non-C99-based standards] (y0f): Likewise.
38680 [non-C99-based standards] (y1f): Likewise.
38681 [non-C99-based standards] (ynf): Likewise.
38682 [non-C99-based standards] (isnanf): Likewise.
38683 [non-C99-based standards] (acoshf): Likewise.
38684 [non-C99-based standards] (asinhf): Likewise.
38685 [non-C99-based standards] (atanhf): Likewise.
38686 [non-C99-based standards] (cbrtf): Likewise.
38687 [non-C99-based standards] (expm1f): Likewise.
38688 [non-C99-based standards] (ilogbf): Likewise.
38689 [non-C99-based standards] (log1pf): Likewise.
38690 [non-C99-based standards] (logbf): Likewise.
38691 [non-C99-based standards] (nextafterf): Likewise.
38692 [non-C99-based standards] (remainderf): Likewise.
38693 [non-C99-based standards] (rintf): Likewise.
38694 [non-C99-based standards] (scalbf): Likewise.
38695 [non-C99-based standards] (copysignl): Likewise.
38696 [non-C99-based standards] (exp2l): Likewise.
38697 [non-C99-based standards] (log2l): Likewise.
38698 [non-C99-based standards] (modfl): Allow.
38699 [non-C99-based standards] (erfl): Do not allow.
38700 [non-C99-based standards] (erfcl): Likewise.
38701 [non-C99-based standards] (gammal): Likewise.
38702 [non-C99-based standards] (hypotl): Likewise.
38703 [non-C99-based standards] (j0l): Likewise.
38704 [non-C99-based standards] (j1l): Likewise.
38705 [non-C99-based standards] (jnl): Likewise.
38706 [non-C99-based standards] (lgammal): Likewise.
38707 [non-C99-based standards] (tgammal): Likewise.
38708 [non-C99-based standards] (y0l): Likewise.
38709 [non-C99-based standards] (y1l): Likewise.
38710 [non-C99-based standards] (ynl): Likewise.
38711 [non-C99-based standards] (isnanl): Likewise.
38712 [non-C99-based standards] (acoshl): Likewise.
38713 [non-C99-based standards] (asinhl): Likewise.
38714 [non-C99-based standards] (atanhl): Likewise.
38715 [non-C99-based standards] (cbrtl): Likewise.
38716 [non-C99-based standards] (expm1l): Likewise.
38717 [non-C99-based standards] (ilogbl): Likewise.
38718 [non-C99-based standards] (log1pl): Likewise.
38719 [non-C99-based standards] (logbl): Likewise.
38720 [non-C99-based standards] (nextafterl): Likewise.
38721 [non-C99-based standards] (remainderl): Likewise.
38722 [non-C99-based standards] (rintl): Likewise.
38723 [non-C99-based standards] (scalbl): Likewise.
38724 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38725 [non-C99-based standards] (FP_*): Do not allow.
38726 [C99-based standards] (FP_*): Change to
38727 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38728 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38729 allow.
38730 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38731 (SIG_ERR): Likewise.
38732 [X/Open-based standards] (SIG_HOLD): Likewise.
38733 (SIG_IGN): Likewise.
38734 (SIGABRT): Use macro-int-constant. Specify type. Require
38735 positive value.
38736 (SIGFPE): Likewise.
38737 (SIGILL): Likewise.
38738 (SIGINT): Likewise.
38739 (SIGSEGV): Likewise.
38740 (SIGTER): Likewise.
38741 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38742 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38743 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38744 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38745 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38746 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38747 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38748 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38749 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38750 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38751 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38752 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38753 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38754 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38755 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38756 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38757 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38758 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38759 [X/Open-based standards] (SIGTRAP): Likewise.
38760 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38761 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38762 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38763 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38764 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38765 allow.
38766
b9f1922d
IW
387672012-05-08 Ian Wienand <ianw@vmware.com>
38768
38769 [BZ #14080]
38770 * time/tzset.c (__tzset_parse_tz): Update default rules for
38771 daylight time changes in the Energy Policy Act of 2005.
38772
1db86e88
AJ
387732012-05-09 Andreas Jaeger <aj@suse.de>
38774
38775 [BZ #13983]
38776 * elf/ldconfig.c (parse_conf): Change string to make clear that
38777 ldconfig only issued a warning if ld.so.conf does not exist.
38778
dee4a4e3
DM
387792012-05-08 David S. Miller <davem@davemloft.net>
38780
ee0db190
DM
38781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38782 movxtod instead of popping the value on the stack.
38783
dee4a4e3
DM
38784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38785
6a43ec98
CD
387862012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38787
38788 * config.h.in: Add HAVE_ARM_PCS_VFP.
38789
05c2c961
RMG
387902012-05-08 Roland Mc Grath <roland@hack.frob.com>
38791
bcfe3a54
ST
38792 [BZ #13979]
38793 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38794 checking but the checks are disabled for any reason.
05c2c961 38795
4b30f61a
L
387962012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38797
38798 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38799 and ELF64_R_TYPE with ELFW(R_TYPE).
38800
eee2bc67
JM
388012012-05-08 Joseph Myers <joseph@codesourcery.com>
38802
7ea5391a
JM
38803 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38804 (ulimit): Likewise.
38805
eee2bc67
JM
38806 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38807 (settimeofday): Likewise.
38808
abb66a67
MF
388092012-05-08 Mike Frysinger <vapier@gentoo.org>
38810
38811 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38812 a struct th_u2 inside the union, and move tu_block/tu_code into
38813 a new th_u3 union of tu_block/tu_code inside of that. Move
38814 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38815 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38816 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38817 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38818 (th_stuff): Change to th_u1.tu_stuff.
38819 (th_data): Define.
38820 (th_msg): Change to th_u1.th_u2.tu_data.
38821
7f18b530
DM
388222012-05-07 David S. Miller <davem@davemloft.net>
38823
05760585
DM
38824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38825
7f18b530
DM
38826 [BZ #14074]
38827 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38828 (SETUP_PIC_REG): Use it.
38829 (SETUP_PIC_REG_LEAF): Use it.
38830
495fd99f
JM
388312012-05-07 Joseph Myers <joseph@codesourcery.com>
38832
38833 [BZ #13885]
38834 [BZ #13923]
38835 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38836 USE_AS_EXPM1L.
38837 (EXPL_FINITE): Likewise.
38838 (FLDLOG): Likewise.
38839 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38840 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38841 e_expl.S.
38842 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38843 USE_AS_EXPM1L.
38844 (EXPL_FINITE): Likewise.
38845 (FLDLOG): Likewise.
38846 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38847 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38848 e_expl.S.
38849 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38850 test of -max_value argument for long double.
38851 * sysdeps/i386/fpu/libm-test-ulps: Update.
38852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38853
6693d694
DM
388542012-05-06 David S. Miller <davem@davemloft.net>
38855
38856 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38857 quad soft-float symbols whose references which are compiler
38858 generated.
38859 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38860
6c23e11c
JM
388612012-05-06 Joseph Myers <joseph@codesourcery.com>
38862
d8b82cad
JM
38863 [BZ #13884]
38864 [BZ #13914]
38865 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38866 USE_AS_EXP10L.
38867 (EXPL_FINITE): Likewise.
38868 (FLDLOG): Likewise.
38869 (c0): Likewise.
38870 (c1): Likewise.
38871 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38872 Adjust comments for base varying.
38873 (__expl_finite): Change alias to EXPL_FINITE.
38874 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38875 e_expl.S.
38876 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38877 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38879 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38880 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38881 USE_AS_EXP10L.
38882 (EXPL_FINITE): Likewise.
38883 (FLDLOG): Likewise.
38884 (c0): Likewise.
38885 (c1): Likewise.
38886 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38887 Adjust comments for base varying.
38888 (__expl_finite): Change alias to EXPL_FINITE.
38889 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38890 tests for bugs.
38891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38892
6c23e11c
JM
38893 [BZ #14064]
38894 * math/libm-test.inc (check_float_internal): Correct ulp
38895 calculation for subnormal expected results.
38896
29ba805c
AJ
388972012-05-06 Andreas Jaeger <aj@suse.de>
38898
38899 * Makeconfig (+math-flags): New, set to -frounding-math.
38900 (+cflags): Add +math-flags so that all of glibc gets compiled with
38901 it.
38902
38903 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38904
7b17aeda
JM
389052012-05-05 Joseph Myers <joseph@codesourcery.com>
38906
5779f134
JM
38907 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38908 Disable one test.
38909
41498f4d
JM
38910 [BZ #13787]
38911 [BZ #13922]
38912 [BZ #14036]
38913 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38914 (__ieee754_expl): Allow for and saturate large arguments.
38915 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38916 (u_threshold): Likewise.
38917 (__exp): Call __ieee754_exp before checking for overflow and
38918 underflow.
38919 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38920 (u_threshold): Likewise.
38921 (__expf): Call __ieee754_expf before checking for overflow and
38922 underflow.
38923 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38924 (u_threshold): Likewise.
38925 (__expl): Call __ieee754_expl before checking for overflow and
38926 underflow.
38927 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38928 (__ieee754_expl): Allow for and saturate large arguments.
38929 * math/libm-test.inc (exp_test): Add another test. Do not allow
38930 missing overflow exception on overflow.
38931 (expm1_test): Do not allow missing overflow exception on overflow.
38932
6698b8bf
JM
38933 * sysdeps/i386/fpu/e_expl.c: Move to ...
38934 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38935 rather than using inline asm.
38936 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38937 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38938 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38939
7b17aeda
JM
38940 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38941 (nice): Likewise.
38942 (poll): Likewise.
38943 (signal): Likewise.
38944 (time): Likewise.
38945 (times): Likewise.
38946
f7c85819
JM
389472012-05-04 Joseph Myers <joseph@codesourcery.com>
38948
38949 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38950 sysdeps/unix/common/syscalls.list.
38951 (fchmod): Likewise.
38952 (fchown): Likewise.
38953 (ftruncate): Likewise.
38954 (getrusage): Likewise.
38955 (gettimeofday): Likewise.
38956 (setpgid): Likewise.
38957 (setregid): Likewise.
38958 (setreuid): Likewise.
38959 (sigaction): Likewise.
38960 (truncate): Likewise.
38961 (vhangup): Likewise.
38962 * sysdeps/unix/common/syscalls.list: Remove file.
38963 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38964 * sysdeps/unix/sysv/linux/Implies: Likewise.
38965
336270d0
L
389662012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38967
38968 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38970 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38971 Moved to ...
38972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38973 Here.
38974 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38975 to ...
38976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38977 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38978 to ...
38979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38980 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38981 to ...
38982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38983 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38984 to ...
38985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38986 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38987 to ...
38988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38989 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38990 to ...
38991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38992 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38993 to ...
38994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38995 Here.
38996 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38997 to ...
38998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38999 Here.
39000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39001 to ...
39002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39003 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39004 Moved to ...
39005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39006 Here.
39007 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39008 to ...
39009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39010
d128e450
JM
390112012-05-04 Joseph Myers <joseph@codesourcery.com>
39012
fa8ee516
JM
39013 * sysdeps/unix/common/bits/dirent.h: Remove file.
39014 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39015
d128e450
JM
39016 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39017 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39018 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39019 * sysdeps/unix/bsd/isatty.c: Likewise.
39020 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39021 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39022 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39023
ff8faaf0 390242012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39025
62881be4 39026 [BZ #13563]
31dc8730
AZ
39027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39028 long double comparison inaccuracies.
39029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39031
6fef930c
AS
390322012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39033
39034 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39036
8f203e6c
JM
390372012-05-04 Joseph Myers <joseph@codesourcery.com>
39038
39039 [BZ #14049]
39040 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39041 nonzero digits before rounding a hex value.
39042 * stdlib/tst-strtod.c (tests): Add another test.
39043
5197d9c2
AK
390442012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39045
39046 * sysdeps/s390/fpu/libm-test-ulps: Update.
39047
f0c1dedf
AJ
390482012-05-03 Andreas Jaeger <aj@suse.de>
39049
39050 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39051 does not get optimized out.
39052 (malloc_opt_barrier): New.
39053
a65ef2ae 390542012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39055 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39056
2b942cb7 39057 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39058 intermediate file deletion.
2b942cb7 39059 (generated): Add .symlist files.
a65ef2ae 39060
54b71e02
JM
390612012-05-03 Joseph Myers <joseph@codesourcery.com>
39062
39063 [BZ #13775]
39064 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39065 Redirect under this condition.
39066 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39067 [__USE_GNU] (__dprintf_chk): Not under this condition.
39068 [__USE_GNU] (__vdprintf_chk): Likewise.
39069 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39070 under this condition.
39071 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39072 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39073 [__USE_XOPEN2K8] (vdprintf): Likewise.
39074 [__USE_GNU] (__dprintf_chk): Not under this condition.
39075 [__USE_GNU] (__vdprintf_chk): Likewise.
39076 [__USE_GNU] (dprintf): Likewise.
39077 [__USE_GNU] (vdprintf): Likewise.
39078
d3dfcc41
RM
390792012-05-03 Roland McGrath <roland@hack.frob.com>
39080
39081 * elf/Makefile (common-generated): Set this instead of generated for
39082 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39083 $(all-built-dso)-derived lists.
39084
7ac30cc5
AJ
390852012-05-03 Andreas Jaeger <aj@suse.de>
39086
0c51e550
AJ
39087 * sysdeps/i386/fpu/libm-test-ulps: Update.
39088
7ac30cc5
AJ
39089 * FAQ: Removed.
39090 * FAQ.in: Likewise.
39091 * scripts/gen-FAQ.pl: Likewise.
39092 * manual/install.texi (Installation): Point to online location of
39093 FAQ.
39094 * Makefile (files-for-dist): Remove FAQ.
39095 (FAQ): Remove.
39096
d4c2917f
AM
390972012-05-02 Allan McRae <allan@archlinux.org>
39098
39099 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39100 (LDFLAGS-reldepmod5.so): Likewise.
39101 (LDFLAGS-reldep6mod1.so): Likewise.
39102 (LDFLAGS-reldep6mod4.so): Likewise.
39103 (LDFLAGS-reldep8mod3.so): Likewise.
39104 (LDFLAGS-unload4mod1.so): Likewise.
39105 (LDFLAGS-unload4mod2.so): Likewise.
39106 (LDFLAGS-tst-initorder): Likewise.
39107 (LDFLAGS-tst-initordera2.so): Likewise.
39108 (LDFLAGS-tst-initordera3.so): Likewise.
39109 (LDFLAGS-tst-initordera4.so): Likewise.
39110 (LDFLAGS-tst-initorderb2.so): Likewise.
39111 (LDFLAGS-noload): Likewise.
39112 (LDFLAGS-next): Likewise.
39113 (LDFLAGS-order2mod1.so): Likewise.
39114 (LDFLAGS-order2mod2.so): Likewise.
39115 (LDFLAGS-tst-initorder2): Likewise.
39116 (LDFLAGS-tst-initorder2a.so): Likewise.
39117 (LDFLAGS-tst-initorder2b.so): Likewise.
39118 (LDFLAGS-tst-initorder2c.so): Likewise.
39119 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39120
d77f993f
DM
391212012-05-02 David S. Miller <davem@davemloft.net>
39122
39123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39124
171a70b4
PP
391252012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39126
39127 [BZ #14055]
39128 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39129
0be196ad
AJ
391302012-05-02 Andreas Jaeger <aj@suse.de>
39131
39132 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39133 since we manipulate rounding mode.
39134 (CPPFLAGS-test-idouble.c): Likewise.
39135 (CPPFLAGS-test-ifloat.c): Likewise.
39136 (CFLAGS-test-ldouble.c): Likewise.
39137 (CFLAGS-test-double.c): Likewise.
39138 (CFLAGS-test-float.c): Likewise.
39139 (CFLAGS-test-misc.c): Likewise.
39140 (CFLAGS-test-test-fenv.c): Likewise.
39141
4f9d04aa
AZ
391422012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39143
2b942cb7
RM
39144 [BZ #2550]
39145 [BZ #2570]
39146 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39147 comparisons to determine direction to adjust input.
4f9d04aa 39148
82a79e7d
RM
391492012-05-01 Roland McGrath <roland@hack.frob.com>
39150
f5a01ca9
RM
39151 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39152 output to the target.
39153
90fe4186
RM
39154 * scripts/localplt.awk: New file.
39155 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39156 (check-localplt-CFLAGS): Variable removed.
39157 ($(all-built-dso:=.jmprel)): New static pattern rule.
39158 (generated): Add those targets.
39159 (localplt-built-dso): New variable.
39160 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39161
39162 * elf/check-localplt.c: File removed.
39163
82397ed6
RM
39164 * scripts/check-execstack.awk: New file.
39165 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39166 (check-execstack-CFLAGS): Variable removed.
39167 ($(objpfx)check-execstack.h): Target removed.
39168 ($(objpfx)execstack-default): New target.
39169 (generated): Add that instead of check-execstack.h.
39170 ($(all-built-dso:=.phdr)): New static pattern rule.
39171 (generated): Add those targets.
39172 * elf/check-execstack.c: File removed.
39173
82a79e7d
RM
39174 * scripts/check-textrel.awk: New file.
39175 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39176 (check-textrel-CFLAGS): Variable removed.
39177 (all-built-dso): Use := to define.o
39178 ($(all-built-dso:=.dyn)): New static pattern rule.
39179 (generated): Add those targets.
39180 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39181 * config.make.in (READELF): New substituted variable.
39182 * elf/check-textrel.c: File removed.
39183
62fde54f 391842012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39185
615605c9
JM
39186 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39187 allow.
39188 * conform/data/ctype.h-data [C99-based standards] (isblank):
39189 Expect function.
39190 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39191 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39193 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39194 Specify type. Require positive value.
39195 (EILSEQ): Likewise.
39196 (ERANGE): Likewise.
39197 [ISO || POSIX] (EILSEQ): Do not expect.
39198 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39199 Specify type. Require positive value.
39200 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39201 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39202 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39203 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39204 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39205 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39206 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39207 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39208 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39209 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39210 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39211 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39212 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39213 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39214 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39215 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39216 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39217 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39218 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39219 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39220 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39221 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39222 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39223 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39224 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39225 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39226 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39227 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39228 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39229 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39230 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39231 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39232 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39233 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39234 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39235 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39236 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39237 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39238 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39239 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39240 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39241 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39242 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39243 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39244 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39245 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39246 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39247 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39248 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39249 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39250 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39251 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39252 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39253 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39254 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39255 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39256 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39257 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39258 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39259 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39260 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39261 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39262 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39263 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39264 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39265 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39266 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39267 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39268 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39269 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39270 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39271 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39272 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39273 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39274 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39275 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39276 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39277 Require >= 2.
39278 (FLT_ROUNDS): Expect as macro, not constant.
39279 (FLT_MANT_DIG): Use macro-int-constant.
39280 (DBL_MANT_DIG): Likewise.
39281 (LDBL_MANT_DIG): Likewise.
39282 (FLT_DIG): Likewise.
39283 (DBL_DIG): Likewise.
39284 (LDBL_DIG): Likewise.
39285 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39286 (DBL_MIN_EXP): Likewise.
39287 (LDBL_MIN_EXP): Likewise.
39288 (FLT_MAX_EXP): Use macro-int-constant.
39289 (DBL_MAX_EXP): Likewise.
39290 (LDBL_MAX_EXP): Likewise.
39291 (FLT_MAX_10_EXP): Likewise.
39292 (DBL_MAX_10_EXP): Likewise.
39293 (LDBL_MAX_10_EXP): Likewise.
39294 (FLT_MAX): Use macro-constant.
39295 (DBL_MAX): Likewise.
39296 (LDBL_MAX): Likewise.
39297 (FLT_EPSILON): Use macro-constant. Give upper bound.
39298 (DBL_EPSILON): Likewise.
39299 (LDBL_EPSILON): Likewise.
39300 (FLT_MIN): Likewise.
39301 (DBL_MIN): Likewise.
39302 (LDBL_MIN): Likewise.
39303 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39304 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39305 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39306 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39307 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39308 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39309 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39310 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39311 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39312 [ISO11] (FLT_TRUE_MIN): Likewise.
39313 [ISO11] (LDBL_TRUE_MIN): Likewise.
39314 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39315 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39316 (SCHAR_MIN): Use macro-int-constant. Specify type.
39317 (SCHAR_MAX): Likewise.
39318 (UCHAR_MAX): Likewise.
39319 (CHAR_MIN): Likewise.
39320 (CHAR_MAX): Likewise.
39321 (MB_LEN_MAX): Use macro-int-constant.
39322 (SHRT_MIN): Use macro-int-constant. Specify type.
39323 (SHRT_MAX): Likewise.
39324 (USHRT_MAX): Likewise.
39325 (INT_MAX): Likewise.
39326 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39327 bound negative.
39328 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39329 bound with "U".
39330 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39331 bound with "L".
39332 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39333 bound negative. Suffix upper bound with "L".
39334 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39335 bound with "UL".
39336 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39337 Specify type.
39338 [C99-based standards] (LLONG_MAX): Likewise.
39339 [C99-based standards] (ULLONG_MAX): Likewise.
39340 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39341 == 0.
39342 [ISO11] (max_align_t): Require type.
39343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39344
c9140a62
JM
39345 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39346 from $CFLAGS, without defining away __attribute__ calls.
39347 (checknamespace): Use $CFLAGS_namespace.
39348
9af0bf29
JM
39349 * conform/conformtest.pl (@keywords): Only include C99 keywords
39350 for standards based on C99 or C11.
39351
343222a2
JM
39352 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39353 Disable tests.
39354 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39355 UNIX98]: Likewise.
39356
661f8cf0
JM
39357 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39358 usability of symbols in #if.
39359
ee74b9cb
JM
39360 * conform/conformtest.pl: If macro or constant types start
39361 "promoted:", expect the symbol to be of the following type
39362 promoted by the integer promotions.
62fde54f 39363
aafc49b3
JM
39364 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39365 in one place. Also handle "macro-constant".
39366
fefdf574
JM
39367 * conform/conformtest.pl: Only accept expected macro values with
39368 "==". Parse all "macro" lines in one place.
39369 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39370
f2d922fe
JM
39371 * conform/conformtest.pl: Handle braced types on "constant" lines
39372 instead of handling "typed-constant".
39373 * conform/data/signal.h-data: Use "constant" instead of
39374 "typed-constant".
39375
d22956c9
JM
39376 * conform/conformtest.pl: Handle "optional-" at start of lines in
39377 one place rather than duplicating several cases. Handle each
39378 format of "macro" line with initial "optional-".
39379
028e2e38
JM
39380 * conform/conformtest.pl: Only accept expected constant or
39381 optional-constant values with "==". Parse all "constant" lines in
39382 one place. Parse all "optional-constant" lines in one place.
39383 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39384 * conform/data/fmtmsg.h-data: Likewise.
39385 * conform/data/netinet/in.h-data: Likewise.
39386 * conform/data/tar.h-data: Likewise.
39387 * conform/data/limits.h-data: Use "==" form on "constant" and
39388 "optional-constant" lines.
39389
1b8f2850
JM
39390 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39391 Use -std=c99 for XOPEN2K.
39392 (@knownproblems): Remove.
39393 (newtoken): Don't check %isknown.
39394
a05a144b
JM
39395 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39396 Do not expect macro.
39397 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39398 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39399 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39400 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39401 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39402 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39403 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39404 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39405 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39406 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39407 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39408 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39409 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39410 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39411 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39412 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39413 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39414 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39415 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39416 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39417 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39418 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39419 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39420 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39421 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39422 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39423 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39424 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39425 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39426 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39427 [XPG3] (acosh): Likewise.
39428 [XPG3] (asinh): Likewise.
39429 [XPG3] (atanh): Likewise.
39430 [XPG3] (cbrt): Likewise.
39431 [XPG3] (expm1): Likewise.
39432 [XPG3] (ilogb): Likewise.
39433 [XPG3] (log1p): Likewise.
39434 [XPG3] (logb): Likewise.
39435 [XPG3] (nextafter): Likewise.
39436 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39437 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39438 [XPG3] (remainder): Likewise.
39439 [XPG3] (rint): Likewise.
39440 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39441 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39442 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39443 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39444 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39445 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39446 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39447 [UNIX98 || XOPEN2K] (scalb): Expect.
39448 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39449 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39450 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39451 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39452 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39453 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39454 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39455 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39456 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39457 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39458 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39459 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39460 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39461 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39462 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39463 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39464 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39465 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39466 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39467 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39468 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39469 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39470 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39471 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39472 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39473 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39474 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39475 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39476 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39477 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39478 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39479 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39480 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39481 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39482 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39483 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39484 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39485 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39486 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39487 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39488 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39489 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39490 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39491 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39492 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39493 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39494 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39495 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39496 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39497 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39498 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39499 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39500 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39501 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39502 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39503 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39504 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39505 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39506 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39507 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39508 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39509 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39510 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39511 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39512 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39513 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39514 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39515 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39516 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39517 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39518 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39519 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39520 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39521 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39522 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39523 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39524 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39525 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39526 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39527 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39528 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39529 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39530 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39531 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39532 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39533 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39534 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39535 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39536 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39537 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39538 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39539 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39540 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39541 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39542 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39543 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39544 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39545 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39546 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39547 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39548 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39549 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39550 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39551 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39552 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39553 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39554 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39555 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39556 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39557 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39558 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39559 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39560 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39561 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39562 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39563 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39564 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39565 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39566 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39567 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39568 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39569 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39570 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39571 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39572 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39573 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39574 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39575 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39576 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39577 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39578 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39579 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39580 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39581 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39582 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39583 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39584 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39585
73c5ebe3
JM
39586 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39587 _XOPEN_SOURCE_EXTENDED for XPG4.
39588
39c33b6c
JM
39589 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39590
62fde54f
JM
39591 * Makeconfig (localtime): Remove variable.
39592 (inst_localtime-file): Likewise.
39593
0741d64c
AS
395942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39595
39596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39597 Update.
39598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39599 Update.
39600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39601 Update.
39602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39603 Update.
39604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39605 Update.
39606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39607 Update.
39608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39609 Update.
39610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39611 Update.
39612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39613 Update.
39614
7cb029ee
JM
396152012-05-01 Joseph Myers <joseph@codesourcery.com>
39616
39617 [BZ #2550]
39618 [BZ #2570]
39619 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39620 comparisons to determine direction to adjust input.
39621 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39622 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39623 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39624 Likewise.
39625 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39626 Likewise.
39627 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39628 Likewise.
39629 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39630 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39631 Likewise.
39632 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39633 Likewise.
39634 * math/libm-test.inc (nexttoward_test): Add more tests.
39635
412bd966
AS
396362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39637
39638 [BZ #14040]
39639 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39640 in version GLIBC_2.1, not GLIBC_2.0.
39641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39642 Likewise.
39643
9568c0c2
JM
396442012-04-30 Joseph Myers <joseph@codesourcery.com>
39645
adfbc8ac
JM
39646 [BZ #13942]
39647 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39648 (1 - x) * (1 + x).
39649 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39650 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39651 * math/libm-test.inc (acos_test): Add more tests.
39652 (asin_test): Likewise.
39653 * sysdeps/i386/fpu/libm-test-ulps: Update.
39654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39655
5ba3cc69
JM
39656 [BZ #14034]
39657 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39658 of square root.
39659 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39660 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39661 * math/libm-test.inc (acos_test_tonearest): New function.
39662 (acos_test_towardzero): Likewise.
39663 (acos_test_downward): Likewise.
39664 (acos_test_upward): Likewise.
39665 (asin_test_tonearest): Likewise.
39666 (asin_test_towardzero): Likewise.
39667 (asin_test_downward): Likewise.
39668 (asin_test_upward): Likewise.
39669 (main): Call the new functions.
39670 * sysdeps/i386/fpu/libm-test-ulps: Update.
39671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39672
9568c0c2
JM
39673 [BZ #13884]
39674 [BZ #13924]
39675 * math/e_exp10.c: Include <float.h>.
39676 (__ieee754_exp10): Handle underflow here rather than multiplying
39677 large negative argument by M_LN10.
39678 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39679 of __ieee754_expf.
39680 * math/e_exp10l.c: Include <float.h>.
39681 (__ieee754_exp10l): Handle underflow here rather than multiplying
39682 large negative argument by M_LN10l.
39683 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39684 spurious overflow exception on underflow.
39685
5ac3ea17
MP
396862012-04-29 Marek Polacek <polacek@redhat.com>
39687
39688 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39689 (__fortify_function): New macro.
39690 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39691 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39692 __extern_always_inline.
39693 * libio/bits/stdio2.h: Likewise.
39694 * libio/bits/stdio.h: Likewise.
39695 * string/string.h: Likewise.
39696 * string/bits/string3.h: Likewise.
39697 * include/stdio.h: Likewise.
39698 * stdlib/bits/stdlib.h: Likewise.
39699 * stdlib/stdlib.h: Likewise.
39700 * rt/bits/mqueue2.h: Likewise.
39701 * rt/mqueue.h: Likewise.
39702 * posix/bits/unistd.h: Likewise.
39703 * posix/unistd.h: Likewise.
39704 * io/bits/poll2.h: Likewise.
39705 * io/bits/fcntl2.h: Likewise.
39706 * io/fcntl.h: Likewise.
39707 * io/sys/poll.h: Likewise.
39708 * misc/bits/syslog.h: Likewise.
39709 * misc/bits/syslog-ldbl.h: Likewise.
39710 * misc/sys/syslog.h: Likewise.
39711 * socket/bits/socket2.h: Likewise.
39712 * socket/sys/socket.h: Likewise.
39713 * debug/tst-chk1.c: Likewise.
39714 * wcsmbs/bits/wchar2.h: Likewise.
39715 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39716 * wcsmbs/wchar.h: Likewise.
39717
ecf0ebfb
AJ
397182012-04-29 Andreas Jaeger <aj@suse.de>
39719
39720 * Makerules (tests): Remove enable-check-abi protection.
39721 (check-abi-warn): Remove.
39722 (check-abi-%): Remove check-abi-warn usage.
39723
39724 * configure.in: Remove check-abi configure option.
39725 * configure: Regenerated.
39726 * config.make.in (enable-check-abi): Remove.
39727
6d5c57fa
AS
397282012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39729
24c5d07e 39730 [BZ #14033]
ded5180a
AS
39731 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39732 double functions to double *_finite functions.
39733
7e0d315d
AS
39734 [BZ #13941]
39735 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39736 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39737 LDBL_MIN_EXP.
39738 * stdio-common/Makefile (tests): Add tst-sprintf3.
39739 * stdio-common/tst-sprintf3.c: New file.
39740
6d5c57fa
AS
39741 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39742 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39743
0749ff8b
JM
397442012-04-28 Joseph Myers <joseph@codesourcery.com>
39745
39746 * conform/conformtest.pl: Remove duplicate typed-constant
39747 handling.
39748
8dbd5d7b
DM
397492012-04-28 David S. Miller <davem@davemloft.net>
39750
39751 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39752 (check-abi-%): Remove AWK script prerequisite and explicit
39753 abilist directory.
39754 (check-abi): Rewrite to just diff the symlist with the abilist.
39755 (config-tls, config-abi-config): Delete, no longer used.
39756 (update-abi-%): Remove AWK script and explicit abilist directory.
39757 (update-abi): Rewrite to simply compare and conditionally copy the
39758 symlist and the sysdep abilist file. Remove update-abi-config
39759 checks.
39760 * abilist/ld.abilist: Remove.
39761 * abilist/libBrokenLocale.abilist: Remove.
39762 * abilist/libanl.abilist: Remove.
39763 * abilist/libcrypt.abilist: Remove.
39764 * abilist/libdl.abilist: Remove.
39765 * abilist/librt.abilist: Remove.
39766 * abilist/libthread_db.abilist: Remove.
39767 * abilist/libutil.abilist: Remove.
39768 * scripts/extract-abilist.awk: Remove.
39769 * scripts/merge-abilist.awk: Remove.
39770 * sysdeps/generic/libcidn.abilist: New file.
39771 * sysdeps/generic/libnss_compat.abilist: New file.
39772 * sysdeps/generic/libnss_db.abilist: New file.
39773 * sysdeps/generic/libnss_dns.abilist: New file.
39774 * sysdeps/generic/libnss_files.abilist: New file.
39775 * sysdeps/generic/libnss_hesiod.abilist: New file.
39776 * sysdeps/generic/libnss_nis.abilist: New file.
39777 * sysdeps/generic/libnss_nisplus.abilist: New file.
39778 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39779 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39780 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39781 file.
39782 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39783 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39784 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39785 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39786 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39787 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39788 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39789 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39790 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39791 file.
39792 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39793 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39794 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39795 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39796 file.
39797 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39798 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39799 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39800 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39801 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39802 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39803 file.
39804 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39805 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39806 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39807 file.
39808 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39810 New file.
39811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39812 New file.
39813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39814 New file.
39815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39816 New file.
39817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39818 New file.
39819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39820 New file.
39821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39822 New file.
39823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39824 New file.
39825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39826 New file.
39827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39828 New file.
39829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39830 New file.
39831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39832 New file.
39833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39834 New file.
39835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39836 file.
39837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39838 New file.
39839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39840 New file.
39841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39842 file.
39843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39844 New file.
39845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39846 New file.
39847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39848 file.
39849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39850 New file.
39851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39852 New file.
39853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39854 New file.
39855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39856 New file.
39857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39858 New file.
39859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39860 New file.
39861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39863 file.
39864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39865 New file.
39866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39867 file.
39868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39869 file.
39870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39871 file.
39872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39873 file.
39874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39875 file.
39876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39877 New file.
39878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39879 file.
39880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39881 file.
39882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39883 New file.
39884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39885 file.
39886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39888 file.
39889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39890 New file.
39891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39892 file.
39893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39894 file.
39895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39896 file.
39897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39898 file.
39899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39900 file.
39901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39902 New file.
39903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39904 file.
39905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39906 file.
39907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39908 New file.
39909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39910 file.
39911 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39912 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39913 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39914 file.
39915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39916 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39917 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39918 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39919 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39920 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39921 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39922 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39923 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39924 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39927 file.
39928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39929 New file.
39930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39931 file.
39932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39933 file.
39934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39935 file.
39936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39937 file.
39938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39939 file.
39940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39941 New file.
39942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39943 New file.
39944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39945 file.
39946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39947 New file.
39948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39949 file.
39950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39952 file.
39953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39954 New file.
39955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39956 file.
39957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39958 file.
39959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39960 file.
39961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39962 file.
39963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39964 file.
39965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39966 New file.
39967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39968 New file.
39969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39970 file.
39971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39972 New file.
39973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39974 file.
39975
41d73a1b
JM
399762012-04-28 Joseph Myers <joseph@codesourcery.com>
39977
39978 * conform/conformtest.pl: Fix typo in handling typed-constant from
39979 allow-header.
39980
28aeeda4
JM
399812012-04-27 Joseph Myers <joseph@codesourcery.com>
39982
adae8f5e
JM
39983 * README: Cut down references to pre-2.6 Linux kernels and
39984 Linuxthreads. Update lists of configurations in libc and ports
39985 and sort alphabetically. Say "or newer" with Linux kernel version
39986 requirements.
39987
28aeeda4
JM
39988 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39989
a462cb63
RA
399902012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39991
39992 [BZ #887]
39993 * math/libm-test.inc (logb_test_downward): New test to expose
39994 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39995 rounding mode.
39996
6ad3493e
JM
399972012-04-27 Joseph Myers <joseph@codesourcery.com>
39998
39999 [BZ #14027]
40000 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40001 to be done.
40002 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40003 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40004
2ce4f015
JM
400052012-04-26 Joseph Myers <joseph@codesourcery.com>
40006
5aeb141a
JM
40007 * sysdeps/unix/i386/brk.S: Remove file.
40008 * sysdeps/unix/i386/dl-brk.S: Likewise.
40009 * sysdeps/unix/i386/pipe.S: Likewise.
40010 * sysdeps/unix/i386/sigreturn.S: Likewise.
40011 * sysdeps/unix/i386/syscall.S: Likewise.
40012 * sysdeps/unix/i386/vfork.S: Likewise.
40013 * sysdeps/unix/i386/wait.S: Likewise.
40014
7143acae
JM
40015 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40016 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40017
2ce4f015
JM
40018 * configure.in (arm*-none*): Do not allow without
40019 --enable-hacker-mode.
40020 (netbsd*): Remove case setting base_os.
40021 (386bsd*): Likewise.
40022 (freebsd*): Likewise.
40023 (bsdi*): Likewise.
40024 (osf*): Likewise.
40025 (sunos*): Likewise.
40026 (ultrix*): Likewise.
40027 (newsos*): Likewise.
40028 (dynix*): Likewise.
40029 (*bsd*): Likewise.
40030 (sysv*): Likewise.
40031 (isc*): Likewise.
40032 (esix*): Likewise.
40033 (sco*): Likewise.
40034 (minix*): Likewise.
40035 (irix4*): Likewise.
40036 (irix6*): Likewise.
40037 (solaris[2-9]*): Likewise.
40038 (none): Likewise.
40039 * configure: Regenerated.
40040
0ac229c8
AZ
400412012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40042
40043 [BZ #11521]
40044 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40045 overflow or cancellation in calculating denominator.
40046 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40047 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40048 down expression to avoid unexpected rounding in newer GCCs.
40049 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40050
33f244f4
DM
400512012-04-26 David S. Miller <davem@davemloft.net>
40052
40053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40054 long-double compat symbols.
40055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40068
cfa1f3e8
DM
400692012-04-25 David S. Miller <davem@davemloft.net>
40070
40071 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40072 HWCAP_* values only after the memory barriers have been defined.
40073 (atomic_full_barrier): Define.
40074 (atomic_read_barrier): Define.
40075 (atomic_write_barrier): Define.
40076
6e236b92
SP
400772012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40078
40079 * shlib-versions: Add libgcc_s version information.
40080 * sysdeps/generic/libgcc_s.h: Remove.
40081 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40082 libgcc_s.h.
40083 * sysdeps/gnu/unwind-resume.c: Likewise.
40084 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40085
aab39a09
DM
400862012-04-25 David S. Miller <davem@davemloft.net>
40087
40088 * sysdeps/unix/sparc/brk.S: Delete.
40089 * sysdeps/unix/sparc/dl-brk.S: Delete.
40090 * sysdeps/unix/sparc/pipe.S: Delete.
40091 * sysdeps/unix/sparc/sysdep.S: Delete.
40092 * sysdeps/unix/sparc/sysdep.h: Delete.
40093 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40094 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40095 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40097 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40098 (JUMPTARGET): Remove.
40099 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40100 sysdeps/unix/sparc/sysdep.h
40101 (ENTRY, END): Remove.
40102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40103
a3cc4f48
JM
401042012-04-25 Joseph Myers <joseph@codesourcery.com>
40105
2ed8cda2
JM
40106 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40107 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40108 -DIS_IN_build.
40109
35d76d59
JM
40110 * timezone/README: Update upstream location and email address for
40111 tzcode and tzdata.
40112 * timezone/zdump.c: Update from tzcode 2012b.
40113 * timezone/zic.c: Likewise.
40114
a3cc4f48
JM
40115 * configure.in (libc_cv_as_needed): Remove test.
40116 * configure: Regenerated.
40117 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40118 conditional definition.
40119 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40120 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40121 * config.make.in (have-as-needed): Remove variable.
40122
ceab42c3
SP
401232012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40124 Paul Pluzhnikov <ppluzhnikov@google.com>
40125
40126 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40127 strings correctly.
40128
3ce2865f
CLT
401292012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40130
40131 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40132 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40133 * sysdeps/sh/strlen.S: Likewise.
40134
f37e0d68
JM
401352012-04-24 Joseph Myers <joseph@codesourcery.com>
40136
ae186e9a
JM
40137 * sysdeps/unix/fork.S: Remove file.
40138 * sysdeps/unix/i386/fork.S: Likewise.
40139 * sysdeps/unix/sparc/fork.S: Likewise.
40140
b96914af
JM
40141 * sysdeps/unix/system.c: Remove file.
40142 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40143
f37e0d68
JM
40144 * sysdeps/unix/getegid.S: Remove file.
40145 * sysdeps/unix/geteuid.S: Likewise.
40146
87ef29ca
RM
401472012-04-24 Roland McGrath <roland@hack.frob.com>
40148
83bcd236
RM
40149 * scripts/check-localplt.awk: New file.
40150 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40151 of diff.
40152 * scripts/data/localplt-generic.data: Add a comment.
40153
87ef29ca
RM
40154 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40155 NODE when __dir_mkfile failed.
40156 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40157 Reported by Ludovic Courtès <ludo@gnu.org>.
40158
e5a6e567
AJ
401592012-04-24 Andreas Jaeger <aj@suse.de>
40160
40161 * Makerules (common-clean): Also remove gen-as-const-headers
40162 files.
40163
c1820385
JM
401642012-04-24 Joseph Myers <joseph@codesourcery.com>
40165
40166 * Makerules (native-compile): Do not change working directory for
40167 build. Use $(OUTPUT_OPTION) in command.
40168 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40169
94e02fc4
AZ
401702012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40171
40172 [BZ #13886]
40173 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40174 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40175 * math/libm-test.inc (floor_test): Add more tests.
40176 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40177
3a533ca3
JM
401782012-04-24 Joseph Myers <joseph@codesourcery.com>
40179
940ab4b3
JM
40180 * sysdeps/unix/getdents.c: Remove file.
40181 * sysdeps/unix/sysv/getdents.c: Likewise.
40182 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40183
90e037bd
JM
40184 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40185 sysdeps/unix/mman/syscalls.list.
40186 (mmap): Likewise.
40187 (mprotect): Likewise.
40188 (msync): Likewise.
40189 (munmap): Likewise.
40190 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40191 * sysdeps/unix/mman/syscalls.list: Remove.
40192 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40193
3a533ca3
JM
40194 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40195 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40196 * configure: Regenerated.
40197 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40198 $(libgcc_s_suffix).
40199 * config.make.in (libgcc_s_suffix): Remove variable.
40200
1ad743de
JM
402012012-04-23 Joseph Myers <joseph@codesourcery.com>
40202
4ad451e2
JM
40203 * sysdeps/unix/sysv/gethostname.c: Move to ...
40204 * sysdeps/posix/gethostname.c: ... here.
40205
5e37ce39
JM
40206 * sysdeps/unix/execve.S: Remove file.
40207
1ad743de
JM
40208 * sysdeps/unix/_exit.S: Remove file.
40209
4e681b5b
AJ
402102012-04-23 Andreas Jaeger <aj@suse.de>
40211
40212 [BZ #13739]
40213 * manual/Makefile: Remove make dist support, there's no
40214 need for a stand-alone documentation tar ball.
40215 (TEXI2DVI): Define always, it's not in Makeconfig.
40216 (dist): Removed.
40217 (tar-it): Removed.
40218 (edition): Removed.
40219 (glibc-doc-$(edition).tar): Removed
40220 (%.Z): Removed.
40221 (%.gz): Removed.
40222 (%.uu): Removed.
40223 (ETAGS): Remove, it's in Makeconfig.
40224 (move-if-change): Remove, it's in Makeconfig.
40225
38686a03 402262012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40227
40228 [BZ #13970]
40229 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40230 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40231 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40232 (strtod_l, strtof_l, strtold_l): Remove __wur.
40233 It is not necessarily an error to ignore strtol's return value.
40234 One can reliably look at the stored endptr to decide whether
40235 the number had valid syntax.
40236
7c0616fa
AJ
402372012-04-21 Andreas Jaeger <aj@suse.de>
40238
803cb6b7 40239 [BZ #13739]
7c0616fa
AJ
40240 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40241
b0fe253f
JM
402422012-04-21 Joseph Myers <joseph@codesourcery.com>
40243
40244 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40245 * sysdeps/unix/sysv/Versions: Remove file.
40246
8280f22d
MT
402472012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40248
40249 [BZ #13927]
40250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40251
75ce411f 402522012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40253
40254 [BZ #7064]
40255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40256 version from __vm86.
40257
097d59fa
JM
402582012-04-20 Joseph Myers <joseph@codesourcery.com>
40259
a90f3bcb
JM
40260 * sysdeps/unix/common/lxstat.c: Remove file.
40261 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40262
edc7ea78
JM
40263 * sysdeps/unix/sysv/Makefile: Remove file.
40264
cb78c221
JM
40265 * sysdeps/unix/sysv/direct.h: Remove file.
40266
efa6a45f
JM
40267 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40268 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40269 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40270 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40271 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40272 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40273 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40274
9c9f2d0c
JM
40275 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40276
4541c83b
JM
40277 * sysdeps/unix/xmknod.c: Remove file.
40278 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40279
f5d153a0
JM
40280 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40281
aa746595
JM
40282 * sysdeps/unix/sysv/i386/time.S: Remove file.
40283
cce5905e
JM
40284 * sysdeps/unix/fxstat.c: Remove file.
40285 * sysdeps/unix/xstat.c: Likewise.
40286 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40287
37fa3841
JM
40288 * sysdeps/unix/sysv/sigaction.c: Remove file.
40289
ff1962a3
JM
40290 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40291 (sysdep_headers): Remove variable.
40292 [termio.h not in sysdep_headers] (generated): Likewise.
40293 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40294 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40295 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40296 * sysdeps/unix/sysv/tcflow.c: Likewise.
40297 * sysdeps/unix/sysv/tcflush.c: Likewise.
40298 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40299 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40300 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40301 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40302 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40303
e7740d31
JM
40304 * sysdeps/unix/siglist.c: Remove file.
40305
ee06f18b
JM
40306 * sysdeps/unix/getppid.S: Remove file.
40307
097d59fa
JM
40308 * sysdeps/unix/mkdir.c: Remove file.
40309 * sysdeps/unix/rmdir.c: Likewise.
40310
ff3d51ec
AS
403112012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40312
40313 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40314 ERR_MAX value.
40315 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40316 errlist-compat value.
40317
50f81fd7
DM
403182012-04-18 David S. Miller <davem@davemloft.net>
40319
40320 * sysdeps/generic/memcopy.h (reg_char): Delete.
40321 * debug/strcat_chk.c: Use char, not reg_char.
40322 * debug/strcpy_chk.c: Likewise.
40323 * debug/strncat_chk.c: Likewise.
40324 * debug/strncpy_chk.c: Likewise.
40325 * string/memchr.c: Likewise.
40326 * string/memrchr.c: Likewise.
40327 * string/rawmemchr.c: Likewise.
40328 * string/strcat.c: Likewise.
40329 * string/strchr.c: Likewise.
40330 * string/strchrnul.c: Likewise.
40331 * string/strcmp.c: Likewise.
40332 * string/strcpy.c: Likewise.
40333 * string/strncat.c: Likewise.
40334 * string/strncmp.c: Likewise.
40335 * string/strncpy.c: Likewise.
40336
8ff41c46
WS
403372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40338
40339 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40340 __builtin_memcopy is called when src and dest ranges are known to not
40341 overlap.
40342
6b652f46
WS
403432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40344
40345 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40346 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40347 fwd_align_merge macro call.
40348 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40349 bwd_align_merge macro call.
40350 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40351
b282631e
WS
403522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40353
40354 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40355 bwd_align_merge macros.
40356 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40357 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40358 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40359
95aa737c
DM
403602012-04-18 David S. Miller <davem@davemloft.net>
40361
40362 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40363
7a99a614
AJ
403642012-04-18 Andreas Jaeger <aj@suse.de>
40365
40366 [BZ# 6794]
40367 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40368 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40369 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40370
40371 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40372 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40373 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40374
40375 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40376 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40377 Adjust for changed ldbl-128 files.
40378
40379 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40380 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40381 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40382
e5270c23
DM
403832012-04-17 David S. Miller <davem@davemloft.net>
40384
40385 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40386
fb5e92c9
AS
403872012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40388
40389 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40390 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40391 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40392 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40393 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40394 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40395
76da7265
AZ
403962012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40397
40398 [BZ #6794]
40399 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40400 * math/libm-test.inc: Add ilogb errno and exception tests.
40401 * math/w_ilogb.c: New file: ilogb wrapper.
40402 * math/w_ilogbf.c: New file: ilogbf wrapper.
40403 * math/w_ilogbl.c: New file: ilogbl wrapper.
40404 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40405 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40406 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40407 exception being thrown with 0.0 as argument.
40408 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40409 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40410 exception being thrown with 0.0 as argument.
40411 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40412 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40413 exception being thrown with 0.0 as argument.
40414 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40415 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40416 exception being thrown with 0.0 as argument.
40417 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40418 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40419 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40420 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40421 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40422 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40423 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40424 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40425 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40426
0396e69d
PB
404272012-04-17 Petr Baudis <pasky@ucw.cz>
40428
40429 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40430 with altivec.
40431
750b5926
MP
404322012-04-16 Marek Polacek <polacek@redhat.com>
40433
40434 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40435
751728a1
MP
404362012-04-16 Marek Polacek <polacek@redhat.com>
40437
40438 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40439 operands of fdivp instruction.
40440
34a27407
L
404412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40442
40443 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40444 * elf/tst-auditmod3b.c: Likewise.
40445 * elf/tst-auditmod4b.c: Likewise.
40446 * elf/tst-auditmod5b.c: Likewise.
40447 * elf/tst-auditmod6b.c: Likewise.
40448 * elf/tst-auditmod6c.c: Likewise.
40449 * elf/tst-auditmod7b.c: Likewise.
40450 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40451 * sysdeps/x86_64/preconfigure.in: Likewise.
40452 * sysdeps/x86_64/preconfigure: Regenerated.
40453
7e73e17d
L
404542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40455
40456 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40457 __ILP32__.
40458
c7a6ab72
AB
404592012-04-13 Antoine Balestrat <merkil33@gmail.com>
40460
40461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40462 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40463
a9e8e0e0
CL
404642012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40465
40466 [BZ #13973]
40467 * locale/iso-639.def: Fix gl language name. Spotted by
40468 Yaron Shahrabani.
40469
ec98af7d
RM
404702012-04-12 Roland McGrath <roland@hack.frob.com>
40471
40472 [BZ #2074]
40473 * libio/libio.h (__io_write_fn): Update comment.
40474
247c3ede
PB
404752012-04-12 Petr Baudis <pasky@ucw.cz>
40476
40477 [BZ #2074]
40478 * stdio.texi (Hook Functions): The user provided writer function
40479 is not allowed to return -1.
40480
55939d6d
DM
404812012-04-11 David S. Miller <davem@davemloft.net>
40482
40483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40484
90020f5a
MF
404852012-04-11 Mike Frysinger <vapier@gentoo.org>
40486
40487 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40488 Add a leading slash to rtkaio.
40489
288f9098
JM
404902012-04-11 Jim Meyering <meyering@redhat.com>
40491
90020f5a
MF
40492 [BZ #11959]
40493 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40494 It is not necessarily an error to ignore fwrite's return
40495 value. One can reliably use ferror to test for errors after
40496 the fact.
288f9098 40497
4be2b570
L
404982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40499
40500 * bits/types.h (__snseconds_t): New type.
40501 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40502
40503 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40505 (__SNSECONDS_T_TYPE): Likewise.
40506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40507 (__SNSECONDS_T_TYPE): Likewise.
40508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40509 (__SNSECONDS_T_TYPE): Likewise.
40510
288f9098 405112012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40512
40513 [BZ #2636]
40514 * manual/time.texi (Processor Time): Return type of times is
40515 elapsed real time since an arbitrary point in the past.
40516 (CPU Time): Move CLK_TCK from here...
40517 (Processor Time): ...to here. Correct description.
40518 * manual/conf.texi (Constants for Sysconf): Correct description of
40519 _SC_CLK_TCK.
40520
d7dd4413
DM
405212012-04-10 David S. Miller <davem@davemloft.net>
40522
40523 [BZ #13967]
40524 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40525 where the is a gap between DT_REL(A) and DT_JMPREL.
40526
b46068fc
L
405272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40528
40529 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40530 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40531 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40532
73d65cc3
SP
405332012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40534
40535 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40536 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40537 (dl_main): Handle --inhibit-cache.
40538 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40539 _dl_inhibit_cache.
40540 * elf/dl-load.c (_dl_map_object): Use it.
40541 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40542
bcc8d661
JM
405432012-04-09 Joseph Myers <joseph@codesourcery.com>
40544
8f9a2fae
JM
40545 [BZ #13872]
40546 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40547 (__ieee754_powl): Saturate large exponents rather than testing for
40548 overflow of y*log2(x).
40549 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40550 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40551 exceptions.
40552
bcc8d661
JM
40553 [BZ #11521]
40554 * math/s_ctan.c: Include <float.h>.
40555 (__ctan): Avoid internal overflow or cancellation in calculating
40556 denominator.
40557 * math/s_ctanf.c: Likewise.
40558 * math/s_ctanl.c: Likewise.
40559 * math/s_ctanh.c: Likewise.
40560 * math/s_ctanhf.c: Likewise.
40561 * math/s_ctanhl.c: Likewise.
40562 * math/libm-test.inc (ctan_test): Add more tests.
40563 (ctanh_test): Likewise.
40564 * sysdeps/i386/fpu/libm-test-ulps: Update.
40565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40566
823fbbb4
AJ
405672012-04-09 Andreas Jaeger <aj@suse.de>
40568
03879793
AJ
40569 [BZ #6894]
40570 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40571 is an optional BSD extension.
40572
823fbbb4
AJ
40573 [BZ #10254]
40574 * manual/stdio.texi (Opening Streams): Document additional fopen
40575 parameters.
40576
8de131cb
RM
405772012-04-09 Roland McGrath <roland@hack.frob.com>
40578
40579 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40580 %eax without telling the compiler.
40581
c0ed9d7d
CD
405822012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40583
40584 [BZ # 13963]
40585 * manual/install.texi: Use sourceware.org.
40586
c483f6b4
JM
405872012-04-09 Joseph Myers <joseph@codesourcery.com>
40588
d7dd9453
JM
40589 [BZ #13873]
40590 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40591 (__ieee754_pow): Generate overflow and underflow using huge*huge
40592 and tiny*tiny rather than just returning constant infinity or zero
40593 for large exponents.
40594 * math/libm-test.inc (pow_test): Require overflow exceptions for
40595 applicable cases of large exponents.
40596
c483f6b4
JM
40597 [BZ #706]
40598 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40599 (__ieee754_pow): Use iterative multiplication algorithm only for
40600 integer exponents with absolute value below 1024. Check for odd
40601 integer exponents when using algorithm for real exponents.
40602 * math/libm-test.inc (pow_test): Add more tests.
40603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40604
d2de7579
JM
406052012-04-08 Joseph Myers <joseph@codesourcery.com>
40606
40607 [BZ #13705]
40608 * math/libm-test.inc (exp_test): Do not allow overflow exception
40609 on underflow test.
40610
f77f1232
AJ
406112012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40612
40613 [BZ #13705]
40614 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40615 instead of __kernel_standard_f.
40616
3884932b
MF
406172012-04-08 Mike Frysinger <vapier@gentoo.org>
40618
40619 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40620 * sysdeps/x86_64/memset_chk.S: Likewise.
40621
54472e9c
AJ
406222012-04-08 Andreas Jaeger <aj@suse.de>
40623
6ab0fbfc
AJ
40624 [BZ #10153]
40625 * manual/startup.texi (Environment Access): Describe return value
40626 for putenv and setenv.
40627
61efba8c
AJ
40628 [BZ #6895]
40629 * manual/filesys.texi (Directory Entries): Add description for
40630 DT_LNK.
40631
95c3f29a
AJ
40632 [BZ #6890]
40633 * manual/filesys.texi (Directory Entries): Clarify that it's file
40634 system not operating system in the description of DT_UNKNOWN.
40635
54472e9c
AJ
40636 [BZ #6578]
40637 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40638
624254b1
SC
406392012-04-08 Stephen Compall <s11@member.fsf.org>
40640
40641 [BZ #6649]
40642 * manual/llio.texi (Opening and Closing Files): Add cross
40643 reference to explain mode argument.
40644
1e4920e0
MF
406452012-04-07 Mike Frysinger <vapier@gentoo.org>
40646
40647 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40648 * sysdeps/x86_64/memset_chk.S: Likewise.
40649
5ed848f3
DM
406502012-04-07 David S. Miller <davem@davemloft.net>
40651
40652 * elf/elf.h (R_SPARC_WDISP10): Define.
40653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40654 R_SPARC_SIZE32.
40655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40656 R_SPARC_SIZE64 and R_SPARC_H34.
40657
96154cd8
CD
406582012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40659
40660 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40661 conditions and remove no longer applicable assertion.
40662
9904dc47
L
406632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40664
40665 * bits/byteswap.h: Include <features.h>.
40666 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40667 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40668
f8887d0a
L
406692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40670
40671 * bits/byteswap.h (__bswap_16): Removed.
40672 Include <bits/byteswap-16.h> to get __bswap_16.
40673 * sysdeps/i386/bits/byteswap.h: Likewise.
40674 * sysdeps/s390/bits/byteswap.h: Likewise.
40675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40676 * bits/byteswap-16.h: New file.
40677 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40678 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40679 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40680 * string/Makefile (headers): Add bits/byteswap-16.h.
40681
62470f60
PP
406822012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40683
40684 [BZ #13895]
40685 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40686 extra indirection.
40687 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40688 * nss/tst-nss-static.c: New.
40689
4dad7bab
RM
406902012-04-06 Robert Millan <rmh@gnu.org>
40691
40692 [BZ #6486]
40693 * manual/llio.texi (File Position Primitive): lseek
40694 refers to WHENCE when it really means OFFSET.
40695
e9142a17
AJ
406962012-04-06 Andreas Jaeger <aj@suse.de>
40697
2c040eff
AJ
40698 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40699 strncmp declarations.
40700
e9142a17
AJ
40701 * abilist/libc.abilist: Add __poll and __ppoll.
40702
ff9f1c5f
DM
407032012-04-05 David S. Miller <davem@davemloft.net>
40704
dcd2ae90
DM
40705 * scripts/check-local-headers.sh: Accept a host triplet in the
40706 path matched by the exclude regexp.
40707
993eb054
DM
40708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40709 definition.
40710 * sysdeps/powerpc/powerpc32/dl-machine.h
40711 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40712 * sysdeps/s390/s390-32/dl-machine.h
40713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40714 * sysdeps/sparc/sparc32/dl-machine.h
40715 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40716 * sysdeps/sparc/sparc64/dl-machine.h
40717 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40718
ff9f1c5f
DM
40719 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40720 lazy binding.
48e2e132 40721 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40722 undefined symbol errors.
40723
48e2e132 40724 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40725 DT_NEEDED entries.
40726
e80d6f94
MM
407272012-04-05 Michael Matz <matz@suse.de>
40728
40729 [BZ #13592]
40730 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40731
349fa79f
AJ
407322012-04-05 Andreas Jaeger <aj@suse.de>
40733
40734 [BZ #13908]
40735 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40736 comment.
40737
f402708f
KK
407382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40739
40740 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40741 which ROUND is no valid rounding mode.
40742
2ecccfc9
KK
407432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40744
40745 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40746 read again.
40747 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40748
8a53f50f
KK
407492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40750
40751 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40752 an exception using FPU order intentionally.
40753
407542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40755
40756 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40757 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40758 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40759 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40760
d653abb7
SJ
407612012-04-05 Simon Josefsson <simon@josefsson.org>
40762
40763 [BZ #12340]
40764 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40765 EINVAL when BUFLEN is too smal.
40766
c3b1bf7d
TS
407672012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40768
40769 [BZ #13553]
40770 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40771 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40772
b1aa60f3
AJ
407732012-04-03 Andreas Jaeger <aj@suse.de>
40774
c3b1bf7d 40775 [BZ #13938]
67f60a26
AJ
40776 * manual/setjmp.texi (System V contexts): Fix sentence.
40777
b1aa60f3
AJ
40778 [BZ #13926]
40779 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40780 New macro for this case.
40781 [!__GNUC__] (__bswap_64): New inline function for this case.
40782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40783 * bits/byteswap.h: Likewise.
40784 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40785 ull, guard with __GLIBC_HAVE_LONG_LONG.
40786
40787 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40788 __GLIBC_HAVE_LONG_LONG.
40789
40790 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40791 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40792
39c59c35
TMQMF
407932012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40794
40795 [BZ #13691]
40796 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40797 inptr and inend, rather than using last_ch.
40798
135ffda8
DM
407992012-04-02 David S. Miller <davem@davemloft.net>
40800
40801 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40802 * stdio-common/printf-parse.h (read_int): Change return type to
40803 'int', return -1 on INT_MAX overflow.
40804 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40805 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40806 overflows INT_MAX. Check for overflow of in-format-string precision
40807 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40808 SIZE_MAX not INT_MAX for integer overflow test.
40809 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40810 skip the construct in the format string but do not record anything.
40811 * stdio-common/bug22.c: Adjust to test both width/prevision
40812 INT_MAX overflow as well as total length INT_MAX overflow. Check
40813 explicitly for proper errno values.
40814
228c019e
TS
408152012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40816
302cadd3
TS
40817 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40818 CHAR_MAX.
40819 * string/test-strcmp.c [! WIDE]: Likewise.
40820 * time/tst-mktime2.c: Likewise for INT_MAX.
40821 * string/test-string.h: #include <sys/param.h> for MIN.
40822
228c019e
TS
40823 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40824 * sysdeps/i386/init-first.c (init): Likewise.
40825 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40826 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40827 * sysdeps/sh/init-first.c (init): Likewise.
40828
cfa633f5
UD
408292012-04-01 Ulrich Drepper <drepper@gmail.com>
40830
40831 * po/ru.po: Update from translation team.
d1635ef8 40832 * po/vi.po: Likewise.
cfa633f5 40833
6cd0a5ea
SP
408342012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40835
40836 * resolv/nss_dns/dns-host.c: Merge copyright years.
40837
4b43400f
LD
408382012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40839
40840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40841 Optimize memcpy with prefetch if
40842 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40843 src, dst pointers have unequal 16 byte alignments.
40844
48c41d04
SP
408452012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40846
40847 [BZ #13928]
40848 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40849 from a CNAME entry and return the minimum ttl for the query.
40850 (gaih_getanswer_slice): Likewise.
40851
b8dc394d
JL
408522012-03-30 Jeff Law <law@redhat.com>
40853
40854 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40855 due to long keys.
40856 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40857 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40858
2f5a5ed0
JL
40859 * resolv/nss_dns/dns-host.c: Update copyright year.
40860
1d39e359
UD
408612012-03-30 Ulrich Drepper <drepper@gmail.com>
40862
c030f70c 40863 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40864 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40865
1d39e359
UD
40866 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40867 comments for sendmmsg.
40868
408692012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40870
40871 [BZ #13691]
40872 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40873 with only 1 character between 0x0041 and 0x01b0.
40874 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40875 * wcsmbs/tst-mbsnrtowcs.c: New file.
40876
20fde227
DM
408772012-03-29 David S. Miller <davem@davemloft.net>
40878
40879 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40880 small copies by hand.
40881
984a4237
JL
408822012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40883
40884 [BZ #13761]
57f41c40
AS
40885 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40886 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40887 group memberships.
984a4237 40888
18c9d62b
DM
408892012-03-28 David S. Miller <davem@davemloft.net>
40890
88d85d4f
DM
40891 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40892 that branches into memcpy.
40893 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40894 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40895 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40896 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40898 bits.
40899 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40900 implementation too.
40901 * sysdeps/sparc/mempcpy.S: New file.
40902
e5aa83e1
DM
40903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40904 the IFUNC routine in the libc case.
40905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40906
88570753
DM
40907 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40908 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40909 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40910 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40911 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40912 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40913 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40914 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40915
249d7567
DM
40916 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40917 loop to 256 bytes instead of 64 bytes and fix test signedness.
40918
18c9d62b
DM
40919 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40920 * sysdeps/sparc/sparc32/Makefile: rather than here...
40921 * sysdeps/sparc/sparc64/Makefile: and here.
40922
05f3d1f6
UD
409232012-03-28 Ulrich Drepper <drepper@gmail.com>
40924
40925 * malloc/mallocbug.c: Avoid warnings about unused variables.
40926
86ae07a8
JL
409272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40928
40929 [BZ #13760]
40930 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40931 in the right place. Discard and retry query if response is
40932 larger than input buffer size.
40933
41bf21a1
JM
409342012-03-28 Joseph Myers <joseph@codesourcery.com>
40935
d6270972
JM
40936 [BZ #369]
40937 [BZ #2678]
40938 [BZ #3866]
40939 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40940 x for large integer exponent.
40941 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40942 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40943 sign of result as needed afterwards.
40944 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40945 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40946 result for underflowing pow the same as for overflow.
40947 (__kernel_standard_l): Handle powl overflow and underflow here
40948 rather than calling __kernel_standard.
40949 * math/libm-test.inc (pow_test): Add more tests.
40950
414fca03 40951 [BZ #3868]
41bf21a1
JM
40952 [BZ #13879]
40953 [BZ #13910]
40954 [BZ #13911]
40955 [BZ #13912]
40956 [BZ #13913]
40957 [BZ #13915]
40958 [BZ #13916]
40959 [BZ #13917]
40960 [BZ #13918]
40961 [BZ #13919]
40962 [BZ #13920]
40963 [BZ #13921]
40964 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40965 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40966 (__kernel_standard_l): New function.
40967 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40968 __kernel_standard.
40969 * math/w_acosl.c (__acosl): Likewise.
40970 * math/w_asinl.c (__asinl): Likewise.
40971 * math/w_atan2l.c (__atan2l): Likewise.
40972 * math/w_atanhl.c (__atanhl): Likewise.
40973 * math/w_coshl.c (__coshl): Likewise.
40974 * math/w_exp10l.c (__exp10l): Likewise.
40975 * math/w_exp2l.c (__exp2l): Likewise.
40976 * math/w_fmodl.c (__fmodl): Likewise.
40977 * math/w_hypotl.c (__hypotl): Likewise.
40978 * math/w_j0l.c (__j0l, __y0l): Likewise.
40979 * math/w_j1l.c (__j1l, __y1l): Likewise.
40980 * math/w_jnl.c (__jnl, __ynl): Likewise.
40981 * math/w_lgammal.c (__lgammal): Likewise.
40982 * math/w_log10l.c (__log10l): Likewise.
40983 * math/w_log2l.c (__log2l): Likewise.
40984 * math/w_logl.c (__logl): Likewise.
40985 * math/w_powl.c (__powl): Likewise.
40986 * math/w_remainderl.c (__remainderl): Likewise.
40987 * math/w_scalbl.c (sysv_scalbl): Likewise.
40988 * math/w_sinhl.c (__sinhl): Likewise.
40989 * math/w_sqrtl.c (__sqrtl): Likewise.
40990 * math/w_tgammal.c (__tgammal): Likewise.
40991 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40992 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40993 * math/libm-test.inc (acos_test): Add more tests.
40994 (acosh_test): Likewise.
40995 (asin_test): Likewise.
40996 (atanh_test): Likewise.
40997 (exp_test): Likewise.
40998 (exp10_test): Likewise.
40999 (exp2_test): Likewise.
41000 (expm1_test): Likewise.
41001 (lgamma_test): Likewise.
41002 (log_test): Likewise.
41003 (log10_test): Likewise.
41004 (log1p_test): Likewise.
41005 (log2_test): Likewise.
41006 (pow_test): Do not allow some spurious overflow exceptions.
41007 (sqrt_test): Add more tests.
41008 (tgamma_test): Likewise.
41009 (y0_test): Likewise.
41010 (y1_test): Likewise.
41011 (yn_test): Likewise.
41012
dd62fda6
AB
410132012-03-27 Anton Blanchard <anton@samba.org>
41014
41015 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41016 MAP_HUGETLB.
41017 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41018 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41019 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41020
1e3cdfda
AJ
410212012-03-27 David S. Miller <davem@davemloft.net>
41022
b855ab85
DM
41023 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41024
1e3cdfda
AJ
41025 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41026 have-as-vis3 check.
41027
410282012-03-27 Andreas Jaeger <aj@suse.de>
41029
41030 * sysdeps/x86_64/elf/configure.in: Moved to ...
41031 * sysdeps/x86_64/configure.in: ... here.
41032 * sysdeps/x86_64/elf/start.S: Moved to ...
41033 * sysdeps/x86_64/start.S: ... here.
41034 * sysdeps/x86_64/elf/configure: Delete.
41035
41036 * sysdeps/x86_64/configure.in: Merge contents from
41037 sysdeps/i386/configure.in (without i686 check).
41038
41039 * sysdeps/i386/elf/Versions: Merge into ...
41040 * sysdeps/i386/Versions: ... this.
41041 * sysdeps/i386/elf/Versions: Delete file.
41042 * sysdeps/i386/elf/start.S: Moved to ...
41043 * sysdeps/i386/start.S: ...here.
41044 * sysdeps/i386/elf/configure.in: Merge into...
41045 * sysdeps/i386/configure.in: ...here.
41046 * sysdeps/i386/elf/configure.in: Delete file.
41047 * sysdeps/i386/elf/configure: Delete file.
41048
41049 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41050 * debug/backtracesyms.c: ... here.
41051 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41052 * debug/backtracesymsfd.c: ... here.
41053 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41054 * sysdeps/generic/ifunc-sel.h: ... here.
41055
41056 * sysdeps/unix/i386/start.c: Delete file.
41057 * sysdeps/unix/sparc/start.c: Delete file.
41058 * sysdeps/unix/start.c: Delete file.
41059
41060 * sysdeps/sh/elf/configure.in: Moved to ...
41061 * sysdeps/sh/configure.in: ... here.
41062 * sysdeps/sh/elf/start.S: Moved to ...
41063 * sysdeps/sh/start.S: ... here.
41064 * sysdeps/sh/elf/configure: Delete file.
41065
41066 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41067 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41068 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41069 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41070 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41071 * sysdeps/powerpc/powerpc64/start.S: here.
41072 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41073 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41074 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41075 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41076 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41077
41078 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41079 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41080 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41081 * sysdeps/powerpc/powerpc32/start.S: ... here.
41082 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41083 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41084 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41085
41086 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41087 * sysdeps/powerpc/ifunc-sel.h: ... here.
41088 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41089 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41090
41091 * sysdeps/sparc/elf/configure.in: Moved to ...
41092 * sysdeps/sparc/configure.in: ... here.
41093 * sysdeps/sparc/elf/configure: Delete file.
41094 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41095 * sysdeps/sparc/sparc32/start.S: ... here.
41096 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41097 * sysdeps/sparc/sparc64/start.S: ... here.
41098 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41099 * sysdeps/sparc/sparc32/Makefile: ... this.
41100 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41101 * sysdeps/sparc/sparc64/Makefile: ... this.
41102
41103 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41104 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41105 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41106 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41107 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41108 * sysdeps/s390/s390-32/setjmp.S: ... here.
41109 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41110 * sysdeps/s390/s390-32/configure.in: ... here.
41111 * sysdeps/s390/s390-32/elf/configure: Delete file.
41112 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41113 * sysdeps/s390/s390-32/start.S: ... here.
41114
41115 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41116 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41117 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41118 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41119 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41120 * sysdeps/s390/s390-64/setjmp.S: ... here.
41121 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41122 * sysdeps/s390/s390-64/configure.in: ... here
41123 * sysdeps/s390/s390-64/elf/configure: Delete file.
41124 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41125 * sysdeps/s390/s390-64/start.S: ... here.
41126 * sysdeps/s390/s390-64/elf/configure: Delete.
41127
41128 * configure.in: Remove support for elf directories in sysdeps.
41129
41130 * configure: Regenerated.
41131 * sysdeps/i386/configure: Regenerated.
41132 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41133 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41134 * sysdeps/s390/s390-32/configure: Regenerated.
41135 * sysdeps/s390/s390-64/configure: Regenerated.
41136 * sysdeps/sh/configure: Regenerated.
41137 * sysdeps/sparc/configure: Regenerated.
41138 * sysdeps/x86_64/configure: Regenerated.
41139
a3f61311
AS
411402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41141
c876e002
AS
41142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41143
a3f61311
AS
41144 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41145 denormal result into account.
41146
ac4c54f0
RM
411472012-03-25 Roland McGrath <roland@hack.frob.com>
41148
41149 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41150 Reported by Allan McRae <allan@archlinux.org>.
41151
6a9b9c02
JL
411522012-03-23 Jeff Law <law@redhat.com>
41153
41154 * nss/getnssent.c (__nss_getent): Fix typo.
41155
4c42a0c1
DM
411562012-03-23 David S. Miller <davem@davemloft.net>
41157
41158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41159
1532c7ac
L
411602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41161
41162 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41163 to pad to uint64_t for each field.
41164 (dl_tls_index): Replace unsigned long with uint64_t.
41165
3ff42526
PP
411662012-03-23 Daniel Jacobowitz <dmj@google.com>
41167 Paul Pluzhnikov <ppluzhnikov@google.com>
41168
41169 [BZ #6528]
41170 * grp/Makefile (otherlibs): Don't set it.
41171 * inet/Makefile (otherlibs): Likewise.
41172 * login/Makefile (otherlibs): Likewise.
41173 * nscd/Makefile (otherlibs): Likewise.
41174 * posix/Makefile (otherlibs): Likewise.
41175 * pwd/Makefile (otherlibs): Likewise.
41176 * rt/Makefile (otherlibs): Likewise.
41177 * sunrpc/Makefile (otherlibs): Likewise.
41178 * nss/Makefile (otherlibs): Likewise.
41179 Add libnss_files to routines and static-only-routines.
41180 ($(objpfx)getent): Remove rule.
41181 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41182 static-only-routines.
41183
7c69cd14
JM
411842012-03-22 Joseph Myers <joseph@codesourcery.com>
41185
41186 [BZ #13892]
41187 * math/s_cexp.c: Include <float.h>.
41188 (__cexp): Handle exp result overflowing not necessarily
41189 overflowing both real and imaginary parts of result.
41190 * math/s_cexpf.c: Likewise.
41191 * math/s_cexpl.c: Likewise.
41192 * math/libm-test.inc (cexp_test): Add more tests.
41193 * sysdeps/i386/fpu/libm-test-ulps: Update.
41194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41195
81b035fe
L
411962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41197
41198 * include/link.h (ELFW): New macro.
41199 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41200 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41201
1da7940c
L
412022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41203
41204 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41205 with uint64_t.
41206
b749dbb9
L
412072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41208
41209 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41210 declaration.
41211 (struct La_x32_retval): Likewise.
41212
2ff87f3f
L
412132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41214
41215 * sysdeps/x86_64/preconfigure.in: New file.
41216 * sysdeps/x86_64/preconfigure: New generated file.
41217
c0df8e69
JM
412182012-03-22 Joseph Myers <joseph@codesourcery.com>
41219
48e44791
JM
41220 [BZ #13824]
41221 * math/e_exp2l.c: Include <float.h>.
41222 (__ieee754_exp2l): Handle overflow and underflow cases
41223 separately. Only pass fractional part of argument to
41224 __ieee754_expl.
41225 * math/libm-test.inc (exp2_test): Add more tests.
41226
c0df8e69
JM
41227 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41228 negating x to take absolute value.
41229 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41230 Likewise.
41231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41233 Likewise.
41234 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41235 computing low part if x was negated.
41236 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41237
c8e43ba7
L
412382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41239
41240 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41241 la_x32_gnu_pltexit.
41242 (pltexit): Cast int_retval to ptrdiff_t.
41243 * elf/tst-auditmod3b.c: Likewise.
41244 * elf/tst-auditmod4b.c: Likewise.
41245 * elf/tst-auditmod5b.c: Likewise.
41246 * elf/tst-auditmod6b.c: Likewise.
41247 * elf/tst-auditmod6c.c: Likewise.
41248 * elf/tst-auditmod7b.c: Likewise.
41249
41250 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41251 and x32_gnu_pltexit.
41252
41253 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41254 __ELF_NATIVE_CLASS.
41255 (La_x32_regs): New macro.
41256 (La_x32_retval): Likewise.
41257 (la_x32_gnu_pltenter): New function prototype.
41258 (la_x32_gnu_pltexit): Likewise.
41259
7998fa78
AS
412602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41261
dcb33988
AS
41262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41263 exponent.
41264
233fc563
AS
41265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41266
7998fa78
AS
41267 * configure.in (libc_cv_cc_nofma): Check for option to disable
41268 generation of FMA instructions.
41269 * configure: Regenerate.
41270 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41271 * sysdeps/ieee754/dbl-64/Makefile: New file.
41272 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41273 Remove brandred-fma4.
41274 (CFLAGS-brandred-fma4.c): Remove.
41275 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41276 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41277 define.
41278 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41279 define.
41280
8e95c99a
L
412812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41282
41283 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41284 LLONG_MAX != LONG_MAX.
41285 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41286 (_fitoa_word): Likewise.
41287 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41288 LLONG_MAX != LONG_MAX.
41289 * stdio-common/_itowa.h: Include <_itoa.h>.
41290 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41291 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41292 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41293 only if not defined.
41294 (_ITOA_WORD_TYPE): Likewise.
41295 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41296 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41297
6f4db457
DM
412982012-03-21 David S. Miller <davem@davemloft.net>
41299
41300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41301
7785fe5a
L
413022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41303
41304 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41305 of x86_64 when setting libc_cv_slibdir, libdir and
41306 libc_cv_localedir.
41307 * sysdeps/unix/sysv/linux/configure: Regenerated.
41308
4535cd55
JM
413092012-03-21 Joseph Myers <joseph@codesourcery.com>
41310
41311 * manual/lang.texi (Old Varargs): Remove section.
41312 (How Variadic): Update menu.
41313 (va_start): Do not mention varargs.h.
41314
17228132
TS
413152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41316 Joseph Myers <joseph@codesourcery.com>
41317
41318 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41319 link test.
41320 * configure: Regenerated.
41321
8149f976
TS
413222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41323
05f3d1f6
UD
41324 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41325 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41326 conformtest.pl
8149f976 41327
1a4ac776
JM
413282012-03-21 Joseph Myers <joseph@codesourcery.com>
41329
be22ce65
JM
41330 * NOTES: Remove.
41331 * Makefile (files-for-dist): Remove NOTES.
41332 (NOTES): Remove rule.
41333 * README: Don't refer to NOTES.
41334 * manual/creature.texi: Don't include macros.texi.
41335 * manual/intro.texi (creature.texi): Remove comment referring to
41336 NOTES.
41337
40b601fb
JM
41338 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41339 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41340 * configure: Regenerated.
41341 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41342 LIBC_TRY_CC_OPTION.
41343 (libc_cv_as_i686): Likewise.
41344 (libc_cv_cc_avx): Likewise.
41345 (libc_cv_cc_sse2avx): Likewise.
41346 (libc_cv_cc_fma4): Likewise.
41347 (libc_cv_cc_novzeroupper): Likewise.
41348 * sysdeps/i386/configure: Regenerated.
41349
1a4ac776
JM
41350 [BZ #13883]
41351 * sysdeps/i386/fpu/s_cexp.S: Remove.
41352 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41353 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41354 * math/libm-test.inc (cexp_test): Add more tests.
41355 * sysdeps/i386/fpu/libm-test-ulps: Update.
41356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41357
a458e7fe
AM
413582012-03-21 Allan McRae <allan@archlinux.org>
41359
41360 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41361
0cb7efc5
JM
413622012-03-21 Joseph Myers <joseph@codesourcery.com>
41363
41364 [BZ #13871]
41365 * math/w_exp2.c: Do not include <float.h>.
41366 (o_threshold, u_threshold): Remove.
41367 (__exp2): Calculate result before checking finiteness and calling
41368 __kernel_standard.
41369 * math/w_exp2f.c: Likewise.
41370 * math/w_exp2l.c: Likewise.
41371 * math/libm-test.inc (exp2_test): Require overflow exception for
41372 1e6 input.
2460d3aa
JM
41373
41374 [BZ #3866]
41375 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41376 range of signed 64-bit integers before using fistpll. Remove
41377 checks for whether integers fit in mantissa bits.
41378 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41379 the range of signed 32-bit integers before using fistpl. Remove
41380 checks for whether integers fit in mantissa bits.
41381 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41382 (__ieee754_powl): Test for y outside the range of signed 64-bit
41383 integers before using fistpll. Reduce 64-bit values to 63-bit
41384 ones as needed.
41385 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41386 divide-by-zero is raised for zero to large negative powers.
41387 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41388 (__ieee754_powl): Test for y outside the range of signed 64-bit
41389 integers before using fistpll. Reduce 64-bit values to 63-bit
41390 ones as needed.
41391 * math/libm-test.inc (pow_test): Add more tests.
41392
eb96ffb0
L
413932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41394
41395 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41396 <stdio-common/_itoa.h>.
41397 * debug/segfault.c: Likewise.
41398 * elf/dl-cache.c: Likewise.
41399 * elf/dl-minimal.c: Likewise.
41400 * elf/dl-misc.c: Likewise.
41401 * elf/dl-sysdep.c: Likewise.
41402 * elf/dl-version.c: Likewise.
41403 * elf/rtld.c: Likewise.
41404 * hurd/hurdsock.c: Likewise.
41405 * hurd/lookup-retry.c: Likewise.
41406 * malloc/malloc.c: Likewise.
41407 * malloc/mtrace.c: Likewise.
41408 * nscd/nscd_getgr_r.c: Likewise.
41409 * nscd/nscd_getpw_r.c: Likewise.
41410 * nscd/nscd_getserv_r.c: Likewise.
41411 * posix/getopt_init.c: Likewise.
41412 * posix/wordexp.c: Likewise.
41413 * stdio-common/_itoa.c: Likewise.
41414 * stdio-common/printf_fphex.c: Likewise.
41415 * stdio-common/vfprintf.c: Likewise.
41416 * string/_strerror.c: Likewise.
41417 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41418 * sysdeps/i386/i686/hp-timing.h: Likewise.
41419 * sysdeps/mach/_strerror.c: Likewise.
41420 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41421 * sysdeps/mach/hurd/sethostid.c: Likewise.
41422 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41423 * sysdeps/mach/xpg-strerror.c: Likewise.
41424 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41425 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41426 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41427 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41428 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41429 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41430 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41431 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41432 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41433 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41434 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41435 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41436 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41437 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41438 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41439 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41440 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41441 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41442 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41443 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41444 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41445
41446 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41447
41448 * stdio-common/_itoa.h: Moved to ...
41449 * sysdeps/generic/_itoa.h: Here.
41450
41451 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41452
41453 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41454 instead of "_itoa.h" and "_itowa.h".
41455 * stdio-common/vfprintf.: Likewise.
41456
d1af992d
L
414572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41458
41459 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41460 <bits/wordsize.h>.
41461 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41462 (__signbit): Likwise.
41463 (llrintf): Likwise.
41464 (llrint): Likwise.
41465
114883e0
L
414662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41467
41468 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41469 __WORDSIZE != 64.
41470
c135cc1b
JM
414712012-03-20 Joseph Myers <joseph@codesourcery.com>
41472
41473 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41474 OVERFLOW_EXCEPTION_OK.
41475 * math/libm-test.inc ("Philosophy"): Update comment about
41476 exception testing.
41477 (OVERFLOW_EXCEPTION): Define.
41478 (OVERFLOW_EXCEPTION_OK): Likewise.
41479 (INVALID_EXCEPTION_OK): Renumber.
41480 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41481 (IGNORE_ZERO_INF_SIGN): Likewise.
41482 (test_exceptions): Handle FE_OVERFLOW.
41483 (exp10_test): Expect overflow exceptions.
41484 (exp2_test): Likewise.
41485 (expm1_test): Likewise.
41486 (nextafter_test): Likewise.
41487 (pow_test): Likewise.
41488 (scalbn_test): Likewise.
41489 (scalbln_test): Likewise.
41490
95443d88
L
414912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41492
41493 * sysdeps/x86_64/bits/atomic.h
41494 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41495 64bit integer.
41496 (atomic_exchange_acq): Likewise.
41497 (__arch_exchange_and_add_body): Likewise.
41498 (__arch_add_body): Likewise.
41499 (atomic_add_negative): Likewise.
41500 (atomic_add_zero): Likewise.
41501
490df6c4
L
415022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41503
c2722551 41504 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41505 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41506
5e52b189
L
415072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41508
41509 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41510 Check __x86_64__ instead of __WORDSIZE.
41511
a9879d4c
L
415122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41513
41514 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41515
5df98260
DM
415162012-03-19 David S. Miller <davem@davemloft.net>
41517
e1497744
DM
41518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41519
5df98260
DM
41520 * sysdeps/sparc/fpu/fenv_private.h: New file.
41521 * sysdeps/sparc/fpu/math_private.h: Use it.
41522 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41523 Remove.
57f41c40 41524 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41525 (libc_feholdexcept_setroundl): Remove.
41526 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41527 Remove.
41528 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41529 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41530
b4c35121
L
415312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41532
41533 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41534 int64_t instead of long int.
41535 (INSERT_WORDS64): Likwise.
41536
56965fd7
L
415372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41538
41539 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41540 _Unwind_GetCFA return to _Unwind_Ptr first.
41541
83d1aec8
JM
415422012-03-19 Joseph Myers <joseph@codesourcery.com>
41543
1897ad44
JM
41544 [BZ #13629]
41545 * math/s_clog.c: Include <float.h>.
41546 (__clog): Scale large or subnormal inputs.
41547 * math/s_clogf.c: Likewise.
41548 * math/s_clogl.c: Likewise.
41549 * math/s_clog10.c: Include <float.h>.
41550 (M_LOG10_2): Define.
41551 (__clog10): Scale large or subnormal inputs.
41552 * math/s_clog10f.c: Likewise.
41553 * math/s_clog10l.c: Likewise.
41554 * math/libm-test.inc (clog_test): Add more tests.
41555 (clog10_test): Likewise.
41556 * sysdeps/i386/fpu/libm-test-ulps: Update.
41557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41558
7726d6a9
JM
41559 [BZ #11451]
41560 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41561 x and y.
41562 * math/libm-test.inc (atan2_test): Add another test.
41563
83d1aec8
JM
41564 * Makerules (common-objdir-compile): Remove.
41565 * sysdeps/unix/Makefile (config-generated): Do not add
41566 $(unix-generated) to variable.
41567 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41568 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41569 Remove rule.
41570 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41571 Likewise.
41572 [generic bits/local_lim.h] (before-compile): Do not append to
41573 variable.
41574 [generic bits/local_lim.h] (common-generated): Likewise.
41575 [generic sys/param.h] (before-compile): Do not append to variable.
41576 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41577 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41578 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41579 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41580 include.
41581 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41582 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41583 [generic sys/param.h] ($(addprefix
41584 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41585 [generic sys/param.h] (common-generated): Do not append to
41586 variable.
41587 [generic sys/param.h] (sysdep_headers): Likewise.
41588 [generic bits/errno.h] (before-compile): Do not append to
41589 variable.
41590 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41591 rule.
41592 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41593 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41594 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41595 [generic bits/errno.h] (common-generated): Do not append to
41596 variable.
41597 [generic bits/ioctls.h] (before-compile): Do not append to
41598 variable.
41599 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41600 rule.
41601 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41602 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41603 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41604 rule.
41605 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41606 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41607 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41608 [generic bits/ioctls.h] (common-generated): Do not append to
41609 variable.
41610 [generic sys/syscall.h] (syscall.h): Remove variable.
41611 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41612 rule.
41613 [generic sys/syscall.h] (before-compile): Do not append to
41614 variable.
41615 [generic sys/syscall.h] (common-generated): Likewise.
41616 * sysdeps/unix/errnos-tmpl.c: Remove file.
41617 * sysdeps/unix/errnos.awk: Likewise.
41618 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41619 * sysdeps/unix/ioctls.awk: Likewise.
41620 * sysdeps/unix/mk-local_lim.c: Likewise.
41621 * sysdeps/unix/snarf-ioctls: Likewise.
41622
4851a949
RH
416232012-03-19 Richard Henderson <rth@twiddle.net>
41624
bd37f2ee
RH
41625 * sysdeps/i386/fpu/fenv_private.h: New file.
41626 * sysdeps/i386/fpu/math_private.h: Use it.
41627 (math_opt_barrier, math_force_eval): Remove.
41628 (libc_feholdexcept_setround_53bit): Remove.
41629 (libc_feupdateenv_53bit): Remove.
41630 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41631 (math_opt_barrier, math_force_eval): Remove.
41632 (libc_feholdexcept): Remove.
41633 (libc_feholdexcept_setround): Remove.
41634 (libc_fetestexcept, libc_fesetenv): Remove.
41635 (libc_feupdateenv_test): Remove.
41636 (libc_feupdateenv, libc_feholdsetround): Remove.
41637 (libc_feresetround): Remove.
41638
d0adc922
RH
41639 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41640 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41641
0fe0f1f8
RH
41642 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41643 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41644 (libc_feupdateenv_testl): New.
41645 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41646 (libc_feupdateenv_testf): New.
41647 (libc_feupdateenv): Use libc_feupdateenv_test.
41648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41649 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41650
eb92c487
RH
41651 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41652 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41653 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41654 (libc_feresetround_noex): New.
41655 (libc_feresetround_noexf): New.
41656 (libc_feresetround_noexl): New.
41657 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41658 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41659 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41661 SET_RESTORE_ROUND.
41662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41663 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41664 (__cos): Likewise.
41665 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41666 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41667 SET_RESTORE_ROUND_NOEX.
41668 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41669 SET_RESTORE_ROUND_NOEXF.
41670 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41671 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41672 (libc_feholdsetroundf): New.
41673 (libc_feresetround, libc_feresetroundf): New.
41674
7d2e8012
RH
41675 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41676 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41677 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41678
b4dabbb4
RH
41679 * sysdeps/generic/math_private.h: Include <fenv.h>.
41680 (default_libc_feholdexcept): New.
41681 (default_libc_feholdexcept_setround): New.
41682 (default_libc_fesetenv, default_libc_feupdateenv): New.
41683 (libc_feholdexcept): Only define if undefined.
41684 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41685 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41686 (libc_feholdexcept_setroundl): Likewise.
41687 (libc_feholdexcept_setround_53bit): Likewise.
41688 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41689 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41690 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41691 (libc_feupdateenv_53bit): Likewise.
41692 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41693 (libc_feholdexcept): Convert from macro to inline function.
41694 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41695 (libc_fesetenv, libc_feupdateenv): Likewise.
41696
4851a949
RH
41697 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41698 not previously defined.
41699 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41700 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41701 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41702 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41703 * sysdeps/ieee754/flt-32/math_private.h: New file.
41704 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41705 math_private.h below SET_FLOAT_WORD.
41706 (__isnan, __isinf_ns, __finite): Remove.
41707 (__isnanf, __isinf_nsf, __finitef): Remove.
41708
e79d442e
AS
417092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41710
41711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41712
90b80344
DM
417132012-03-17 David S. Miller <davem@davemloft.net>
41714
41715 [BZ #6471]
41716 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41717 for 2.16.
41718
edc21804
DM
417192012-03-16 David S. Miller <davem@davemloft.net>
41720
77e927af
DM
41721 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41722 warnings.
41723
374976dd
DM
41724 [BZ #6471]
41725 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41726 properly.
41727 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41728 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41729 sysdep_routines when subdir is sysvipc.
41730 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41731 __getshmlba helper.
41732
edc21804
DM
41733 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41734
473c3ef3
L
417352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41736
41737 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41738 [__LP64__].
41739
eb0f39b6
L
417402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41741
41742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41743 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41744 (__lround): Renamed to ...
41745 (__llround): This. Replace long int with long long int.
41746 Define lround functions as aliases of llround functions.
41747 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41748
6b6cd74b
L
417492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41750
41751 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41752 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41753 adresses to uintptr_t. Replace "long int" and "unsigned long
41754 int" with "greg_t" on va_arg.
41755
f1a77b01
L
417562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41757
41758 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41759 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41760
41761 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41762 Move e_machine check before EI_CLASS check. Handle x32
41763 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41764 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41765 SKIP_EM_IA_64 and include
41766 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41767
41768 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41769 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41770 (add_system_dir): New macro.
41771
41772 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41773 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41774
11b90b9f
JM
417752012-03-16 Joseph Myers <joseph@codesourcery.com>
41776
c36e1d23
JM
41777 [BZ #2551]
41778 [BZ #2552]
41779 [BZ #2553]
41780 [BZ #2554]
41781 [BZ #2562]
41782 [BZ #2563]
41783 [BZ #2565]
41784 [BZ #2566]
41785 [BZ #2576]
41786 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41787 (y0): Likewise.
41788 * math/w_j0f.c (j0f): Likewise.
41789 (y0f): Likewise.
41790 * math/w_j0l.c (__j0l): Likewise.
41791 (__y0l): Likewise.
41792 * math/w_j1.c (j1): Likewise.
41793 (y1): Likewise.
41794 * math/w_j1f.c (j1f): Likewise.
41795 (y1f): Likewise.
41796 * math/w_j1l.c (__j1l): Likewise.
41797 (__y1l): Likewise.
41798 * math/w_jn.c (jn): Likewise.
41799 (yn): Likewise.
41800 * math/w_jnf.c (jnf): Likewise.
41801 (ynf): Likewise.
41802 * math/w_jnl.c (__jnl): Likewise.
41803 (__ynl): Likewise.
41804 * math/libm-test.inc (j0_test): Add more tests.
41805 (j1_test): Likewise.
41806 (jn_test): Likewise. Add trailing semicolon to existing test.
41807 (y0_test): Likewise.
41808 (y1_test): Likewise.
41809 * sysdeps/i386/fpu/libm-test-ulps: Update.
41810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41811
11b90b9f
JM
41812 [BZ #13851]
41813 [BZ #13854]
41814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41815 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41816 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41817 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41818 (__tanl): Set errno for infinite argument.
41819 * sysdeps/i386/fpu/mptan.c: Remove.
41820 * sysdeps/i386/fpu/s_tan.S: Likewise.
41821 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41822 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41823 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41824 * math/libm-test.inc (tan_test): Add more tests and enable more
41825 tests for double and long double.
41826 * sysdeps/i386/fpu/libm-test-ulps: Update.
41827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41828
6a1bd2a1
JK
418292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41830
41831 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41832 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41833
10a803e0
RM
418342012-03-16 Roland McGrath <roland@hack.frob.com>
41835
41836 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41837 * configure.in: Use it for both main tree and add-ons.
41838 * configure: Regenerated.
41839
f196c7f7
L
418402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41841
41842 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41843
8848d99d
JM
418442012-03-16 Joseph Myers <joseph@codesourcery.com>
41845
96cbe7f4
JM
41846 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41847 in comment.
41848
8848d99d
JM
41849 [BZ #13851]
41850 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41851 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41852 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41853 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41854 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41855 infinite argument.
41856 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41857 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41858 != 0 for prec == 2.
41859 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41860 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41861 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41862 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41863 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41864 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41865 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41866 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41867 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41868 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41869 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41870 * math/libm-test.inc (cos_test): Add more tests and enable more
41871 tests for long double.
41872 (sin_test): Likewise.
41873 (sincos_test): Likewise.
41874 * sysdeps/i386/fpu/libm-test-ulps: Update.
41875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41876
dd7f4703
DM
418772012-03-16 David S. Miller <davem@davemloft.net>
41878
41879 * sysdeps/sparc/fpu/math_private.h: New file.
41880
006f1daa
DM
418812012-03-15 David S. Miller <davem@davemloft.net>
41882
c0c83bc8
DM
41883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41884 file.
e6a62e18 41885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41887 file.
e6a62e18
DM
41888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41894 sysdep routines.
41895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41896
88cb87d9
DM
41897 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41898 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41899
006f1daa 41900 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41902 sparc-ifunc.h
006f1daa 41903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41905 Likewise.
41906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41907 Likewise.
006f1daa
DM
41908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41912 Likewise.
006f1daa
DM
41913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41918 Likewise.
41919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41920 Likewise.
006f1daa
DM
41921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41945
11e0098e
AS
419462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41947
41948 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41949 scaling.
41950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41951
e85b09d0
AJ
419522012-03-15 Andreas Jaeger <aj@suse.de>
41953
41954 [BZ #13852]
41955 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41956 ieee754/flt-32 implementation for sin, cos and sincos.
41957 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41958 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41959 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41960 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41961 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41962 ieee754/flt-32 implementation for tan.
41963
41964 * math/libm-test.inc (cos_test): Enable some large input tests for
41965 float as well
41966 (sin_test): Likewise.
41967 (sincos_test): Likewise.
41968 (tan_test): Add tests for large input.
41969
41970 * sysdeps/i386/fpu/libm-test-ulps: Update.
41971
81c64153
AJ
419722012-03-15 Andreas Jaeger <aj@suse.de>
41973
41974 [BZ #13658]
41975 * math/libm-test.inc (cos_test): Add more test cases.
41976 (sin_test): Likewise.
41977 (sincos_test): Likewise.
41978
7bbfa5c6
AJ
419792012-03-15 Andreas Jaeger <aj@suse.de>
41980
41981 [BZ #13837]
41982 * math/libm-test.inc (cos_test): Add a test case for large input
41983 value.
41984 (sin_test): Likewise.
41985 (sincos_test): Likewise.
41986
57f41c40
AS
419872012-03-15 Andreas Jaeger <aj@suse.de>
41988 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41989
41990 [BZ #13658]
0671f479 41991 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41992 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41993 * sysdeps/i386/fpu/branred.c: Likewise.
41994 * sysdeps/i386/fpu/dosincos.c: Likewise.
41995 * sysdeps/i386/fpu/mpa.c: Likewise.
41996 * sysdeps/i386/fpu/s_cos.S: Likewise.
41997 * sysdeps/i386/fpu/s_sin.S: Likewise.
41998 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41999 * sysdeps/i386/fpu/sincos32.c: Likewise.
42000
42001 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42002 Define.
42003 (libc_feupdateenv_53bit): Define.
42004 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42005 Define.
42006 (libc_feupdateenv_53bit): Define.
42007
42008 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42009 53 bit (without extend i386 double precision).
42010
42011 * math/libm-test.inc (sincos_test): Add tests for large input.
42012 (sin): Likewise.
42013 (cos): Likewise.
42014
42015 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42016
9cad04ea
AS
420172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42018
42019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42020
f7062b9a
DM
420212012-03-15 David S. Miller <davem@davemloft.net>
42022
42023 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42024 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42025 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42026 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42039 file.
f7062b9a 42040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42042 file.
f7062b9a 42043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42045 file.
f7062b9a 42046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42048 file.
f7062b9a
DM
42049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42051 fmin/fmax sysdep routines.
42052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42053
7bd951ff
DM
420542012-03-14 David S. Miller <davem@davemloft.net>
42055
559398ab
DM
42056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42085 routines.
42086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42087 file.
559398ab 42088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42090 file.
559398ab 42091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42093 file.
559398ab 42094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42096 file.
559398ab 42097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42099 file.
559398ab 42100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42102 file.
42103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42104 file.
42105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42106 file.
42107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42108 file.
42109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42110 New file.
42111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42112 file.
42113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42114 file.
559398ab 42115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42117 file.
559398ab 42118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42120 file.
559398ab 42121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42123 file.
559398ab 42124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42126 VIS3 routines.
559398ab
DM
42127
42128 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42129 New file.
42130
5a1c1e32
DM
42131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42132
eae47a36
DM
42133 * sysdeps/sparc/configure.in: New file.
42134 * sysdeps/sparc/configure: Generate.
42135 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42136 * configure: Regenerate.
42137 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42138 * config.make.in (have-as-vis3): New.
42139 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42140 available use -Av9d instead of -Av9a.
42141 * sysdeps/sparc/sparc64/Makefile: Likewise.
42142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42144 New file.
42145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42146 file.
42147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42148 New file.
42149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42150 file.
eae47a36
DM
42151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42155 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42156
c0c83bc8
DM
42157 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42158 fzeros/fnegs to load 0x80000000 into a float register instead of
42159 using the stack.
7bd951ff
DM
42160 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42161
bd951ccb
JM
421622012-03-14 Joseph Myers <joseph@codesourcery.com>
42163
42164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42165 bits/syscall.h.
42166 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42167 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42168 ($(inst_includedir)/bits/syscall.h): Remove rule.
42169 ($(objpfx)bits/syscall.d): Include instead of
42170 $(objpfx)syscall-list.d.
42171 (generated): Change syscall-list.h and syscall-list.d to
42172 bits/syscall.h and bits/syscall.d.
42173
bb4e6db2
RM
421742012-03-14 Roland McGrath <roland@hack.frob.com>
42175
42176 [BZ #13846]
42177 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42178
aa4a2ae1
JM
421792012-03-14 Joseph Myers <joseph@codesourcery.com>
42180
e456826d
JM
42181 [BZ #13841]
42182 * math/s_csqrt.c: Include <float.h>.
42183 (__csqrt): Scale large or subnormal inputs.
42184 * math/s_csqrtf.c: Likewise.
42185 * math/s_csqrtl.c: Likewise.
42186 * math/libm-test.inc (csqrt_test): Add more tests.
42187 * sysdeps/i386/fpu/libm-test-ulps: Update.
42188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42189
aa4a2ae1
JM
42190 [BZ #13840]
42191 * math/libm-test.inc (hypot_test): Add more tests.
42192
7c10fd35
DM
421932012-03-13 David S. Miller <davem@davemloft.net>
42194
42195 [BZ #13840]
42196 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42197 double-precision for the calculation instead of scaling.
42198
f453b98b
JM
421992012-03-13 Joseph Myers <joseph@codesourcery.com>
42200
42201 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42202 manipulate bits before adding and subtracting TWO52[sx].
42203 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42204 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42205 Likewise.
42206 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42207
09a3453f
DM
422082012-03-13 David S. Miller <davem@davemloft.net>
42209
8e59da90
DM
42210 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42211 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42212 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42213 rtld-global-offsets.h
42214 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42215
2a8ab7f2
DM
42216 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42217 large parameters.
42218
10f62770
DM
42219 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42220
5f0bdb18
DM
42221 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42222 'err' in the ifdef scope in which it is actually used.
42223
09a3453f
DM
42224 * nss/nss_db/db-init.c: Include string.h
42225
b4b2eb5e
DM
422262012-03-12 David S. Miller <davem@davemloft.net>
42227
98bb2f1c
DM
42228 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42229 masking out of the most significant byte of random value used.
42230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42231 Fix coding style in previous change.
42232
b4b2eb5e
DM
42233 * sysdeps/unix/sysv/linux/kernel-features.h
42234 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42235 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42236 expression.
42237 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42238 later.
42239
6e226b09
DM
422402012-03-11 David S. Miller <davem@davemloft.net>
42241
a1bcbd40
DM
42242 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42243 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42245 for 'resultvar' otherwise things get truncated on 64-bit.
42246
cb9d6174
DM
42247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42248 Fix masking out of the most significant byte of random value used.
42249
6e226b09
DM
42250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42251
058c132d
AS
422522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42253
42254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42255
2d2cd515
DM
422562012-03-09 David S. Miller <davem@davemloft.net>
42257
42258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42259 variables with appropriate CPP guards.
57f41c40
AS
42260 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42261 from the frame pointer, not the stack pointer. Correct layout
42262 comments. Fix test on resulting framesize and the management of
42263 the outregs buffer for pltexit. Preserve floating point return
42264 values across _dl_call_pltexit call.
2d2cd515
DM
42265 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42266 framesize and the management of the outregs buffer for pltexit.
42267 Preserve floating point return values across _dl_call_pltexit
42268 call.
57f41c40
AS
42269 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42270 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42271 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42272 (print_exit): Fix format string for return register value.
42273
9a07f9d0
JM
422742012-03-10 Joseph Myers <joseph@codesourcery.com>
42275
42276 * sunrpc/Makefile (others): Add rpcgen.
42277 ($(objpfx)rpcgen): Remove special build rule and dependency on
42278 libc.
42279 * sunrpc/rpcgen.c: New file.
42280
547b5e30
PE
422812012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42282
c524201a
PE
42283 [BZ #13673]
42284 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42285 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42286 * sysdeps/i386/crti.S: Likewise.
42287 * sysdeps/i386/crtn.S: Likewise.
42288 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42289 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42290 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42291 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42292 * sysdeps/sh/crti.S: Likewise.
42293 * sysdeps/sh/crtn.S: Likewise.
42294 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42295
7b6235f2
PE
42296 [BZ #13673]
42297 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42298 with URL.
42299 * locale/programs/locfile-kw.gperf: Likewise.
42300 * locale/programs/charmap-kw.h: Regenerated.
42301 * locale/programs/locfile-kw.h: Likewise.
42302
547b5e30
PE
42303 [BZ #13673]
42304 * intl/plural.y: Replace FSF snail mail address with URL.
42305 * intl/plural.c: Regenerated.
42306
5f0a5dae
RH
423072012-03-09 Richard Henderson <rth@twiddle.net>
42308
42309 * include/math_private.h: Remove file.
42310 * math/math_private.h: Move file ...
42311 * sysdeps/generic/math_private.h: ... here.
42312
b8c03620
RH
42313 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42314 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42315 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42316
4e234f5d 42317 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42318 and <math_private.h>.
42319 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42320 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42321 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42322 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42323 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42324 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42325 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42326 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42327 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42330 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42331 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42333 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42334 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42336 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42337 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42338 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42340 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42341 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42343 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42344 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42346 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42348 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42349 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42351 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42352 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42353 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42354 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42355 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42356 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42357 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42359 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42360 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42361 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42362 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42363 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42364 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42365 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42366 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42367 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42368 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42369 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42370 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42371 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42372 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42373 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42374 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42375 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42376 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42377 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42378 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42379 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42380 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42382 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42383 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42384 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42385 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42386 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42387 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42388 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42389 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42390 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42392 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42393 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42398 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42399 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42400 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42401 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42402 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42403 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42404 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42406 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42407 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42408 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42409 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42410 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42411 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42412 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42413 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42414 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42415 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42416 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42418 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42419 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42420 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42421 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42422 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42423 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42424 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42425 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42426 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42427 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42428 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42429 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42430 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42431 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42432 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42433 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42434 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42436 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42437 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42438 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42440 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42441 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42442 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42443 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42444 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42445 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42446 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42447 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42448 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42449 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42450 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42451 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42452 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42453 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42454 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42455 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42456 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42457 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42458 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42459 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42460 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42461 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42462 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42463 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42464 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42465 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42466 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42467 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42468 * sysdeps/ieee754/k_standard.c: Likewise.
42469 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42471 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42472 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42473 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42474 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42475 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42476 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42477 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42478 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42479 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42480 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42481 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42482 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42483 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42484 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42485 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42486 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42487 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42488 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42489 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42490 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42491 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42492 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42493 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42494 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42495 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42496 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42497 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42499 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42500 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42501 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42502 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42503 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42504 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42505 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42506 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42507 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42508 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42509 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42510 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42512 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42513 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42514 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42515 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42516 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42517 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42518 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42519 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42520 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42521 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42522 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42523 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42525 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42526 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42527 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42528 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42529 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42530 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42531 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42532 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42535 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42536 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42537 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42538 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42539 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42541 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42542 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42543 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42545 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42546 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42547 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42548 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42549 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42550 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42552 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42554 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42555 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42556 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42557 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42558 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42559 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42560 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42561 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42562 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42563 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42564 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42565 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42566 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42567 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42568 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42570 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42571 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42572 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42573 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42574 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42575 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42576 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42577 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42578 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42579 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42580 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42582 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42583 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42584 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42585 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42586 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42587 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42588 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42589 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42590 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42591 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42592 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42593 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42594 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42595 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42596 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42597 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42598 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42599 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42600 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42601 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42602 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42603 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42604 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42605 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42606 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42608 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42609 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42610 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42611 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42612 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42613 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42618 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42619 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42620 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42623 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42624 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42625 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42626 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42627 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42628 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42629 * sysdeps/ieee754/s_lib_version.c: Likewise.
42630 * sysdeps/ieee754/s_matherr.c: Likewise.
42631 * sysdeps/ieee754/s_signgam.c: Likewise.
42632 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42633 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42634 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42635 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42636 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42637 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42638 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42639 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42640 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42641 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42642 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42643 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42644 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42645 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42646 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42647 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42648 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42649 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42650 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42653
1991fa03
JM
426542012-03-09 Joseph Myers <joseph@codesourcery.com>
42655
42656 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42657 * sunrpc/rpc_main.c: Likewise.
42658 * sunrpc/rpc_svcout.c: Likewise.
42659
60d6f5a6
DM
426602012-03-09 David S. Miller <davem@davemloft.net>
42661
42662 * include/math_private.h: New file.
42663
4962050e
JM
426642012-03-09 Joseph Myers <joseph@codesourcery.com>
42665
02a6f887
JM
42666 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42667 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42668 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42669 from <bits/socket_type.h>.
42670 (enum __socket_type): Don't define here.
42671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42673 bits/socket_type.h.
42674
c6e013c1
JM
42675 [BZ #13566]
42676 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42677 checking __USE_GNU.
42678
4962050e
JM
42679 * Makerules ($(inst_includedir)/%.h): New rule.
42680 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42681 (install-others): Remove variable setting.
42682 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42683
38842f45
RH
426842012-03-08 Richard Henderson <rth@twiddle.net>
42685
67bb6da6
RH
42686 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42687 from macro to inline function; merge with the
42688 !__LIBC_INTERNAL_MATH_INLINES version.
42689 (__ieee754_sqrtf): Likewise.
42690
15194b4b
RH
42691 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42692 to inline function.
42693 (__rintf, __floor, __floorf): Likewise.
42694
64e21ede
RH
42695 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42696 macro to inline function.
42697 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42698
38842f45
RH
42699 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42700 not <math/math_private.h>.
42701
c64bf5fe
DM
427022012-03-08 David S. Miller <davem@davemloft.net>
42703
42704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42705 copyright year.
42706 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42707
82d86f28
TS
427082012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42709
42710 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42711 normalization.
42712 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42713 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42714
aea5d727
UD
427152012-03-08 Ulrich Drepper <drepper@gmail.com>
42716
42717 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42718 be defined individually, they must be defined as a block. Define
42719 S for printing a string instead of hidint the different by using a
42720 macro for adding the 'l'.
42721 * stdio-common/tst-fphex-wide.c: Adjust.
42722
70bca0a3
MP
427232012-03-07 Marek Polacek <polacek@redhat.com>
42724
42725 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42726
65b81130
MP
427272012-03-08 Marek Polacek <polacek@redhat.com>
42728
42729 [BZ #13806]
42730 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42731 * stdio-common/tst-fphex.c: Define a few macros to make the
42732 test reusable. Use them.
42733 * stdio-common/tst-fphex-wide.c: New file.
42734
07037eeb
JM
427352012-03-08 Joseph Myers <joseph@codesourcery.com>
42736
a7a93d50
JM
42737 [BZ #6911]
42738 * manual/macros.texi (gnusystems): New macro.
42739 (nongnusystems): Likewise.
42740 (gnulinuxhurdsystems): Likewise.
42741 (gnuhurdsystems): Likewise..
42742 (gnulinuxsystems): Likewise.
42743 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42744 variants of the GNU system, not "GNU system".
42745 * manual/conf.texi: Likewise.
42746 * manual/errno.texi: Likewise. Update example of errno macro
42747 expansion.
42748 * manual/filesys.texi: Likewise.
42749 (getumask): Document as specific to GNU/Hurd.
42750 * manual/install.texi: Likewise. Reword some references to
42751 GNU/Linux.
42752 * manual/intro.texi: Likewise.
42753 * manual/io.texi: Likewise.
42754 (File Name Portability): Detail which constraints are inapplicable
42755 to all GNU systems and which are only inapplicable to GNU/Hurd.
42756 * manual/job.texi: Likewise.
42757 * manual/llio.texi: Likewise.
42758 (O_NOCTTY): Document as present on GNU/Linux.
42759 * manual/maint.texi: Likewise.
42760 * manual/memory.texi: Likewise.
42761 * manual/pattern.texi: Likewise.
42762 * manual/pipe.texi: Likewise.
42763 * manual/process.texi: Likewise.
42764 * manual/resource.texi: Likewise.
42765 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42766 child on GNU/Hurd.
42767 * manual/setjmp.texi: Likewise.
42768 * manual/signal.texi: Likewise.
42769 * manual/startup.texi: Likewise.
42770 * manual/stdio.texi: Likewise.
42771 * manual/terminal.texi: Likewise.
42772 (ONLCR): Document as POSIX.
42773 (OXTABS): Document availability on GNU/Linux as XTABS.
42774 (ONOEOT): Document availability separately from other bits.
42775 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42776 * manual/time.texi: Likewise.
42777 * manual/users.texi: Likewise.
42778 * INSTALL: Regenerated.
42779 * sysdeps/gnu/errlist.c: Regenerated.
42780
07037eeb
JM
42781 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42782 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42783 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42784 puts.
42785 * configure: Regenerated.
42786
d1d3431a
JM
427872012-03-07 Joseph Myers <joseph@codesourcery.com>
42788
af6a1e37
JM
42789 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42790 default includes instead of AC_HEADER_CHECK.
42791 * sysdeps/i386/configure: Regenerated.
42792
d1d3431a
JM
42793 [BZ #10716]
42794 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42795 * math/s_cacoshf.c (__cacoshf): Likewise.
42796 * math/s_cacoshl.c (__cacoshl): Likewise.
42797 * math/s_casinh.c (__casinh): Set signs of result from argument.
42798 * math/s_casinhf.c (__casinhf): Likewise.
42799 * math/s_casinhl.c (__casinhl): Likewise.
42800 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42801 (casinh_test): Add more tests.
42802 * sysdeps/i386/fpu/libm-test-ulps: Update.
42803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42804
482ff4da
UD
428052012-03-07 Ulrich Drepper <drepper@gmail.com>
42806
872fda05
UD
42807 * po/zh_TW.po: Update from translation team.
42808
a4300c7a
UD
42809 * login/Makefile (distribute): Remove variable.
42810 * catgets/Makefile: Likewise.
42811 * mach/Makefile: Likewise.
42812 * malloc/Makefile: Likewise.
42813 * misc/Makefile: Likewise.
42814 * iconv/Makefile: Likewise.
42815 * nscd/Makefile: Likewise.
42816 * hurd/Makefile: Likewise.
42817 * manual/Makefile: Likewise.
42818 * locale/Makefile: Likewise.
42819 * intl/Makefile: Likewise.
42820 * conform/Makefile: Likewise.
42821 * nss/Makefile: Likewise.
42822 * time/Makefile: Likewise.
42823 * soft-fp/Makefile: Likewise.
42824 * dirent/Makefile: Likewise.
42825 * gmon/Makefile: Likewise.
42826 * po/Makefile: Likewise.
42827 * rt/Makefile: Likewise.
42828 * socket/Makefile: Likewise.
42829 * math/Makefile: Likewise.
42830 * signal/Makefile: Likewise.
42831 * debug/Makefile: Likewise.
42832 * elf/Makefile: Likewise.
42833 * timezone/Makefile: Likewise.
42834 * stdlib/Makefile: Likewise.
42835 * iconvdata/Makefile: Likewise.
42836 * sunrpc/Makefile: Likewise.
42837 * io/Makefile: Likewise.
42838 * argp/Makefile: Likewise.
42839 * inet/Makefile: Likewise.
42840 * hesiod/Makefile: Likewise.
42841 * grp/Makefile: Likewise.
42842 * csu/Makefile: Likewise.
42843 * wctype/Makefile: Likewise.
42844 * crypt/Makefile: Likewise.
42845 * libio/Makefile: Likewise.
42846 * string/Makefile: Likewise.
42847 * nis/Makefile: Likewise.
42848 * resolv/Makefile: Likewise.
42849 * stdio-common/Makefile: Likewise.
42850 * wcsmbs/Makefile: Likewise.
42851 * dlfcn/Makefile: Likewise.
42852 * posix/Makefile: Likewise.
42853
3b7c4e74 42854 [BZ #6959]
482ff4da
UD
42855 * timezone/Makefile: Don't install timezone files, just the programs
42856 and scripts.
42857
f72ed77d
UD
428582012-03-06 Ulrich Drepper <drepper@gmail.com>
42859
a000466f
UD
42860 * nss/databases.def: Add missing gshadow entry.
42861
f72ed77d
UD
42862 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42863
a53b7a4e
MP
428642012-03-06 Marek Polacek <polacek@redhat.com>
42865
42866 [BZ #13726]
42867 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42868 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42869 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42870 * stdio-common/tst-long-dbl-fphex.c: New file.
42871
e9258400
DM
428722012-03-06 David S. Miller <davem@davemloft.net>
42873
42874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42875 (set_obp_int): New function.
42876 (get_obp_int): New function.
42877 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42878 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42879 Avoid unused variable warnings on 'val' and use builtin_expect.
42880 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42881 __builtin_expect.
e9258400
DM
42882 (INLINE_CLONE_SYSCALL): Likewise.
42883
3bd2c723
DM
428842012-03-05 David S. Miller <davem@davemloft.net>
42885
42886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42887
bbb78d03
AS
428882012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42889
884c5db4
AS
42890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42891
bbb78d03
AS
42892 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42893 only for |x| >= 40.
42894 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42895
1c9f702a 428962012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42897
42898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42899 Replace gettimeofday with __vdso_gettimeofday.
42900
7be16f82
RM
42901 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42902 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42903 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42904
42905 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42906 time with __vdso_time.
42907
ed58a00f
JM
429082012-03-05 Joseph Myers <joseph@codesourcery.com>
42909
42910 * manual/lang.texi (size_t): Note types to which size_t may be
42911 equivalent with the GNU C Library, but do not describe when
42912 differences between them are significant.
42913
30ee4ced
AJ
429142012-03-05 Andreas Jaeger <aj@suse.de>
42915
42916 * sysdeps/i386/fpu/libm-test-ulps: Update.
42917
b7cd39e8
JM
429182012-03-05 Joseph Myers <joseph@codesourcery.com>
42919
42920 [BZ #3976]
42921 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42922 (__ieee754_pow): Save and restore rounding mode and use
42923 round-to-nearest for main computations.
42924 * math/libm-test.inc (pow_test_tonearest): New function.
42925 (pow_test_towardzero): Likewise.
42926 (pow_test_downward): Likewise.
42927 (pow_test_upward): Likewise.
42928 (main): Call the new functions.
42929 * sysdeps/i386/fpu/libm-test-ulps: Update.
42930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42931
42932 [BZ #3976]
42933 * math/libm-test.inc (cosh_test_tonearest): New function.
42934 (cosh_test_towardzero): Likewise.
42935 (cosh_test_downward): Likewise.
42936 (cosh_test_upward): Likewise.
42937 (sinh_test_tonearest): Likewise.
42938 (sinh_test_towardzero): Likewise.
42939 (sinh_test_downward): Likewise.
42940 (sinh_test_upward): Likewise.
42941 (main): Call the new functions.
42942 * sysdeps/i386/fpu/libm-test-ulps: Update.
42943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42944
6c6a98c9
TV
429452012-03-05 Tom de Vries <tom@codesourcery.com>
42946
42947 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42948 default stack guard is set in last bytes.
42949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42950
21bb2d2e 429512012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42952
21bb2d2e 42953 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42954
21bb2d2e
AJ
42955 [BZ #13656]
42956 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42957 possibly allocate from heap instead of stack.
42958 * stdio-common/bug-vfprintf-nargs.c: New file.
42959 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42960
c6922934
AS
429612012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42962
42963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42964
bc957d53
MP
429652012-03-03 Marek Polacek <polacek@redhat.com>
42966
42967 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42968 * math/math_private.h: Likewise.
42969 * stdlib/tst-strtod.c: Likewise.
42970 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42971 * sysdeps/x86_64/bits/atomic.h: Likewise.
42972
6358490d
DM
429732012-03-02 David S. Miller <davem@davemloft.net>
42974
42975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42979 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42980 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42981 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42982 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42983
01ae168d
RM
429842012-03-02 Roland McGrath <roland@hack.frob.com>
42985
d9a17c07
RM
42986 [BZ #13792]
42987 * manual/examples/README: New file, says the example source files
42988 can be used under GPL>=2.
42989 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42990 line containing just "*/".
42991 * manual/examples/add.c: Add copyright header (GPL>=2).
42992 * manual/examples/argp-ex1.c: Likewise.
42993 * manual/examples/argp-ex2.c: Likewise.
42994 * manual/examples/argp-ex3.c: Likewise.
42995 * manual/examples/argp-ex4.c: Likewise.
42996 * manual/examples/atexit.c: Likewise.
42997 * manual/examples/db.c: Likewise.
42998 * manual/examples/dir.c: Likewise.
42999 * manual/examples/dir2.c: Likewise.
43000 * manual/examples/execinfo.c: Likewise.
43001 * manual/examples/filecli.c: Likewise.
43002 * manual/examples/filesrv.c: Likewise.
43003 * manual/examples/fmtmsgexpl.c: Likewise.
43004 * manual/examples/genpass.c: Likewise.
43005 * manual/examples/inetcli.c: Likewise.
43006 * manual/examples/inetsrv.c: Likewise.
43007 * manual/examples/isockad.c: Likewise.
43008 * manual/examples/longopt.c: Likewise.
43009 * manual/examples/memopen.c: Likewise.
43010 * manual/examples/memstrm.c: Likewise.
43011 * manual/examples/mkfsock.c: Likewise.
43012 * manual/examples/mkisock.c: Likewise.
43013 * manual/examples/mygetpass.c: Likewise.
43014 * manual/examples/pipe.c: Likewise.
43015 * manual/examples/popen.c: Likewise.
43016 * manual/examples/rprintf.c: Likewise.
43017 * manual/examples/search.c: Likewise.
43018 * manual/examples/select.c: Likewise.
43019 * manual/examples/setjmp.c: Likewise.
43020 * manual/examples/sigh1.c: Likewise.
43021 * manual/examples/sigusr.c: Likewise.
43022 * manual/examples/stpcpy.c: Likewise.
43023 * manual/examples/strdupa.c: Likewise.
43024 * manual/examples/strftim.c: Likewise.
43025 * manual/examples/strncat.c: Likewise.
43026 * manual/examples/subopt.c: Likewise.
43027 * manual/examples/swapcontext.c: Likewise.
43028 * manual/examples/termios.c: Likewise.
43029 * manual/examples/testopt.c: Likewise.
43030 * manual/examples/testpass.c: Likewise.
43031 * manual/examples/timeval_subtract.c: Likewise.
43032
01ae168d
RM
43033 [BZ #13792]
43034 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43035 function to ...
43036 * manual/timeval_subtract.c.texi: ... here, new file.
43037
49efa33d
DM
430382012-03-02 David S. Miller <davem@davemloft.net>
43039
43040 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43041
28afd92d
JM
430422012-03-02 Joseph Myers <joseph@codesourcery.com>
43043
804360ed
JM
43044 [BZ #3976]
43045 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43046 (__sin): Save and restore rounding mode and use round-to-nearest
43047 for all computations.
43048 (__cos): Save and restore rounding mode and use round-to-nearest
43049 for all computations.
43050 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43051 <fenv.h>.
43052 (tan): Save and restore rounding mode and use round-to-nearest for
43053 all computations.
43054 * math/libm-test.inc (cos_test_tonearest): New function.
43055 (cos_test_towardzero): Likewise.
43056 (cos_test_downward): Likewise.
43057 (cos_test_upward): Likewise.
43058 (sin_test_tonearest): Likewise.
43059 (sin_test_towardzero): Likewise.
43060 (sin_test_downward): Likewise.
43061 (sin_test_upward): Likewise.
43062 (tan_test_tonearest): Likewise.
43063 (tan_test_towardzero): Likewise.
43064 (tan_test_downward): Likewise.
43065 (tan_test_upward): Likewise.
43066 (main): Call the new functions.
43067 * sysdeps/i386/fpu/libm-test-ulps: Update.
43068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43069
a6d06d7b
JM
43070 [BZ #10135]
43071 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43072 small n, then large n, before computing and testing k+n.
43073 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43075 Likewise.
43076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43077 Likewise.
43078 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43079 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43080 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43081 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43084 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43085 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43086 * math/libm-test.inc (scalbn_test): Add more tests.
43087 (scalbln_test): Likewise.
43088
07e12bb3
JM
43089 * manual/filesys.texi (mode_t): Describe constraints on size and
43090 signedness, not exact equivalence to a particular type.
43091 (ino_t): Likewise.
43092 (ino64_t): Likewise.
43093 (dev_t): Likewise.
43094 (nlink_t): Likewise.
43095 (blkcnt_t): Likewise.
43096 (blkcnt64_t): Likewise.
43097 * manual/llio.texi (off_t): Likewise.
43098
28afd92d
JM
43099 [BZ #3976]
43100 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43101 (__ieee754_exp): Save and restore rounding mode and use
43102 round-to-nearest for all computations.
43103 * math/libm-test.inc (exp_test_tonearest): New function.
43104 (exp_test_towardzero): Likewise.
43105 (exp_test_downward): Likewise.
43106 (exp_test_upward): Likewise.
43107 (main): Call the new functions.
43108 * sysdeps/i386/fpu/libm-test-ulps: Update.
43109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43110
b1eeb65d
CD
431112012-03-01 Chris Demetriou <cgd@google.com>
43112
43113 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43114 have predictable order.
43115
53362a4b
DM
431162012-03-01 David S. Miller <davem@davemloft.net>
43117
3c969083
DM
43118 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43119
759707de
DM
43120 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43121 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43122 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43123 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43124
dfdb8ff2
DM
43125 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43126 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43127 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43129 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43130 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43131 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43132 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43133 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43134
ead89f96
DM
43135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43136
7f66bd07
DM
43137 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43138 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43139 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43140
53362a4b
DM
43141 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43142 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43143 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43144 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43145 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43146 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43147 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43148 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43149 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43150 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43151 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43152 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43154 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43155 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43157 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43158 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43159 * sysdeps/sparc/elf/configure: Regenerated.
43160
7b1902cb
JM
431612012-03-01 Joseph Myers <joseph@codesourcery.com>
43162
bec039bc
JM
43163 * configure.in (AS, LD): Require binutils 2.20 or later.
43164 * configure: Regenerated.
43165 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43166 as required minimum version.
43167 * INSTALL: Regenerated.
43168
7b1902cb
JM
43169 [BZ #2541]
43170 [BZ #4108]
43171 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43172 before squaring exponent.
43173 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43174 bottom long double and 27 bits of top long double before squaring
43175 exponent.
43176 * math/libm-test.inc (erfc_test): Add more tests.
43177 * sysdeps/i386/fpu/libm-test-ulps: Update.
43178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43180
f775c276
KT
431812012-03-01 Kai Tietz <ktietz@redhat.com>
43182
43183 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43184 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43185 containing bit-fields.
43186 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43187 * soft-fp/single.h (_FP_UNION_S): Likewise.
43188 * soft-fp/double.h (_FP_UNION_D): Likewise.
43189
5b8a4d4a
JM
431902012-02-29 Joseph Myers <joseph@codesourcery.com>
43191
0bab47b6
JM
43192 [BZ #13786]
43193 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43194 not include ../strcmp.S.
43195 [USE_AS_STRNCASECMP_L]: Likewise.
43196 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43197 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43198 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43199 (__strncasecmp_l_ia32): Define as alias to
43200 __strncasecmp_l_nonascii.
43201
0fcad3e2
JM
43202 [BZ #5794]
43203 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43204 * sysdeps/i386/fpu/libm-test-ulps: Update.
43205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43206
5b8a4d4a
JM
43207 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43209
8fdceb2e
JL
432102012-02-29 Jeff Law <law@redhat.com>
43211
43212 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43213 out of bounds read.
43214
1f393a11
MP
432152012-02-29 Marek Polacek <polacek@redhat.com>
43216
43217 [BZ #13706]
43218 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43219 * elf/Makefile: Add rules to run tst-unused-dep.out.
43220
8847f037
DM
432212012-02-28 David S. Miller <davem@davemloft.net>
43222
43223 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43224 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43225 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43226 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43227 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43228 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43229
169d7f11
JM
432302012-02-29 Joseph Myers <joseph@codesourcery.com>
43231
43232 * math/libm-test.inc (llround_test): Move one test from
43233 lround_test. Use TEST_f_L in moved test.
43234 (lround_test): Move misplaced test to llround_test. Add testcase
43235 from bug 2561.
43236
39adf059
UD
432372012-02-28 Ulrich Drepper <drepper@gmail.com>
43238
43239 * sysdeps/x86_64/fpu/e_expf.S: New file.
43240 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43241
71b5d1c5
SB
432422012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43243
43244 [BZ #13637]
43245 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43246 of remain_len that may cause incomplete multi-byte character and
43247 false match.
43248 * posix/bug-regex33.c: New file.
43249 * posix/Makefile (tests): Add bug-regex33.
43250
1f77f049
JM
432512012-02-28 Joseph Myers <joseph@codesourcery.com>
43252
43253 * manual/macros.texi: New file.
43254 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43255 * manual/libc.texinfo: Include macros.texi.
43256 * manual/creatute.texi: Likewise.
43257 * manual/install.texi: Likewise.
43258 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43259 @glibcadj{} in references to the GNU C Library.
43260 * manual/charset.texi: Likewise.
43261 * manual/conf.texi: Likewise.
43262 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43263 when not using those macros.
43264 * manual/creature.texi: Likewise.
43265 * manual/crypt.texi: Likewise.
43266 * manual/errno.texi: Likewise.
43267 * manual/filesys.texi: Likewise.
43268 * manual/header.texi: Likewise.
43269 * manual/install.texi: Likewise.
43270 * manual/intro.texi: Likewise.
43271 * manual/io.texi: Likewise.
43272 * manual/job.texi: Likewise.
43273 * manual/lang.texi: Likewise.
43274 * manual/libc.texiinfo: Likewise.
43275 * manual/llio.texi: Likewise.
43276 * manual/locale.texi: Likewise.
43277 * manual/maint.texi: Likewise.
43278 * manual/math.texi: Likewise.
43279 * manual/memory.texi: Likewise.
43280 * manual/message.texi: Likewise.
43281 * manual/nss.texi: Likewise.
43282 * manual/pattern.texi: Likewise.
43283 * manual/process.texi: Likewise.
43284 * manual/resource.texi: Likewise.
43285 * manual/search.texi: Likewise.
43286 * manual/setjmp.texi: Likewise.
43287 * manual/signal.texi: Likewise.
43288 * manual/socket.texi: Likewise.
43289 * manual/startup.texi: Likewise.
43290 * manual/stdio.texi: Likewise.
43291 * manual/string.texi: Likewise.
43292 * manual/sysinfo.texi: Likewise.
43293 * manual/syslog.texi: Likewise.
43294 * manual/terminal.texi: Likewise.
43295 * manual/time.texi: Likewise.
43296 * manual/users.texi: Likewise.
43297 * INSTALL: Regenerated.
43298 * NOTES: Regenerated.
d40c5d54 43299 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43300
450bf206
AS
433012012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43302
43303 * include/dirent.h: Include <dirstream.h> before
43304 <dirent/dirent.h>.
43305
741a235b
DM
433062012-02-28 David S. Miller <davem@davemloft.net>
43307
43308 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43309 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43310 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43311 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43312
d6b5aa58
DM
433132012-02-27 David S. Miller <davem@davemloft.net>
43314
1aff59a3
DM
43315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43317 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43318 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43319
d6b5aa58
DM
43320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43321 frame pointer instead of stack pointer relative arg slot.
43322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43323 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43324 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43325
433f48bf
CD
433262012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43327
43328 [BZ #3992]
43329 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43330
d674b76d
DM
433312012-02-27 David S. Miller <davem@davemloft.net>
43332
43333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43337 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43338 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43339 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43340 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43341
0e7727f7
JM
433422012-02-27 Joseph Myers <joseph@codesourcery.com>
43343
43344 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43345 later. Allow versions 5-9.
43be4ca2 43346 * configure: Regenerated.
0e7727f7
JM
43347 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43348 required minimum version and 4.6 as recommended version. Do not
43349 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43350 * INSTALL: Regenerated.
0e7727f7 43351
a78bc654
DM
433522012-02-27 David S. Miller <davem@davemloft.net>
43353
428d5830
DM
43354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43358 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43359 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43360 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43361 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43362
a78bc654
DM
43363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43364 manipulate bits before adding and subtracting TWO112[sx].
43365 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43366
4579f81c
RM
433672012-02-27 Roland McGrath <roland@hack.frob.com>
43368
36c8acb4
RM
43369 [BZ #13775]
43370 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43371 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43372 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43373 being in POSIX, because they are in 1003.1-2008.
43374
84ad622b
RM
43375 * rt/tst-aio.c: Include <fcntl.h>.
43376 * rt/tst-aio7.c: Likewise.
43377 * rt/tst-aio64.c: Likewise.
43378
4579f81c
RM
43379 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43380
abd923db
JM
433812012-02-27 Joseph Myers <joseph@codesourcery.com>
43382
43383 * manual/install.texi (--with-headers): Describe headers as
43384 interface headers, not private headers.
43385 (Specific advice for GNU/Linux systems): Describe use of headers
43386 from "make headers_install", not private headers from older
43387 kernels.
43be4ca2 43388 * INSTALL: Regenerated.
abd923db
JM
43389 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43390 Change to 2.6.19.
43391 * sysdeps/unix/sysv/linux/configure: Regenerated.
43392
6664049b
JM
43393 * manual/llio.texi (fclean): Remove documentation.
43394
bb8b6697
JM
43395 * manual/Makefile (libc-texi-generated): New variable. Include
43396 version.texi.
43397 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43398 $(libc-texi-generated), not duplicated list of files.
43399 (version.texi, stamp-version): New rules.
43400 (realclean): Remove $(libc-texi-generated), not individual files
43401 from that list. Do not remove dir-add.texinfo.
43402 * manual/libc.texinfo: Comment out uses of edition numbers and
43403 references to printed manual. Remove last-updated dates.
43404 (EDITION): Comment out.
43405 (ISBN): Likewise.
43406 (VERSION, UPDATED): Remove.
43407 (version.texi): Include.
43408
12e5c3b9
AS
434092012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43410
43411 * sysdeps/posix/spawni.c: Include <signal.h>.
43412 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43413 * sysdeps/pthread/aio_fsync.c: Likewise.
43414
4efeffc1 434152012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43416
ba63ba08
UD
43417 * conform/Makefile (tests): Run only when not cross-compiling and
43418 when fast-check is not defined.
43419
d94a4670
UD
43420 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43421 * conform/data/limits.h-data: Fixes for POSIX2008.
43422 * conform/run-conformtest.sh: Run all tests.
43423 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43424 headers.
43425 * include/bits/dlfcn.h: Likewise.
43426 * include/langinfo.h: Likewise.
43427 * include/monetary.h: Likewise.
43428 * include/sys/poll.h: Likewise.
43429
43430 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43431 for __USE_GNU.
43432 * posix/spawn.h: Define __need_sigset_t.
43433 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43434 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43435 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43436 to get sigevent_t only.
43437 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43438 only for __USE_GNU.
43439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43440 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43441 process_vm_writev only for __USE_GNU.
43442 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43443
43444 * conform/Makefile: For now ignore errors from run-conformtest.
43445 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43446 POSIX to avoid namespace pollution. Don't prepend headers.
43447 * conform/data/aio.h-data: Fixes for POSIX testing.
43448 * conform/data/fcntl.h-data: Likewise.
43449 * conform/data/glob.h-data: Likewise.
43450 * conform/data/grp.h-data: Likewise.
43451 * conform/data/pthread.h-data: Likewise.
43452 * conform/data/pwd.h-data: Likewise.
43453 * conform/data/signal.h-data: Likewise.
43454 * conform/data/spawn.h-data: Likewise.
43455 * conform/data/stdio.h-data: Likewise.
43456 * conform/data/stdlib.h-data: Likewise.
43457 * conform/data/stropts.h-data: Likewise.
43458 * conform/data/sys/mman.h-data: Likewise.
43459 * conform/data/sys/stat.h-data: Likewise.
43460 * conform/data/sys/types.h-data: Likewise.
43461 * conform/data/sys/wait.h-data: Likewise.
43462 * conform/data/time.h-data: Likewise.
43463 * conform/data/unistd.h-data: Likewise.
43464 * conform/data/utime.h-data: Likewise.
43465
43466 * io/sys/stat.h: fchmod was always in POSIX.
43467 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43468 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43469 * rt/aio.h: Define __need_timespec before including <time.h>.
43470 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43471 struct. Add forward declaration of pthread_attr_t and use it in
43472 sigevent.
43473 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43475 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43476 always remove CLK_TCK definition.
43477
c20105c3
AS
434782012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43479
43480 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43481
7a270350
UD
434822012-02-25 Ulrich Drepper <drepper@gmail.com>
43483
31341567
UD
43484 * conform/run-conformtest.sh: New file.
43485 * conform/Makefile: Run run-conformtest for tests.
43486 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43487 support.
43488
43489 * conform/data/uchar.h-data: New file.
43490 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43491 * conform/data/arpa/inet.h-data: Likewise.
43492 * conform/data/assert.h-data: Likewise.
43493 * conform/data/complex.h-data: Likewise.
43494 * conform/data/cpio.h-data: Likewise.
43495 * conform/data/ctype.h-data: Likewise.
43496 * conform/data/dirent.h-data: Likewise.
43497 * conform/data/dlfcn.h-data: Likewise.
43498 * conform/data/errno.h-data: Likewise.
43499 * conform/data/fcntl.h-data: Likewise.
43500 * conform/data/float.h-data: Likewise.
43501 * conform/data/fmtmsg.h-data: Likewise.
43502 * conform/data/fnmatch.h-data: Likewise.
43503 * conform/data/ftw.h-data: Likewise.
43504 * conform/data/glob.h-data: Likewise.
43505 * conform/data/grp.h-data: Likewise.
43506 * conform/data/iconv.h-data: Likewise.
43507 * conform/data/inttypes.h-data: Likewise.
43508 * conform/data/langinfo.h-data: Likewise.
43509 * conform/data/libgen.h-data: Likewise.
43510 * conform/data/limits.h-data: Likewise.
43511 * conform/data/locale.h-data: Likewise.
43512 * conform/data/math.h-data: Likewise.
43513 * conform/data/monetary.h-data: Likewise.
43514 * conform/data/mqueue.h-data: Likewise.
43515 * conform/data/ndbm.h-data: Likewise.
43516 * conform/data/net/if.h-data: Likewise.
43517 * conform/data/netdb.h-data: Likewise.
43518 * conform/data/netinet/in.h-data: Likewise.
43519 * conform/data/nl_types.h-data: Likewise.
43520 * conform/data/poll.h-data: Likewise.
43521 * conform/data/pthread.h-data: Likewise.
43522 * conform/data/pwd.h-data: Likewise.
43523 * conform/data/regex.h-data: Likewise.
43524 * conform/data/sched.h-data: Likewise.
43525 * conform/data/search.h-data: Likewise.
43526 * conform/data/semaphore.h-data: Likewise.
43527 * conform/data/setjmp.h-data: Likewise.
43528 * conform/data/signal.h-data: Likewise.
43529 * conform/data/spawn.h-data: Likewise.
43530 * conform/data/stdarg.h-data: Likewise.
43531 * conform/data/stdio.h-data: Likewise.
43532 * conform/data/stdlib.h-data: Likewise.
43533 * conform/data/string.h-data: Likewise.
43534 * conform/data/strings.h-data: Likewise.
43535 * conform/data/stropts.h-data: Likewise.
43536 * conform/data/sys/ipc.h-data: Likewise.
43537 * conform/data/sys/mman.h-data: Likewise.
43538 * conform/data/sys/msg.h-data: Likewise.
43539 * conform/data/sys/resource.h-data: Likewise.
43540 * conform/data/sys/select.h-data: Likewise.
43541 * conform/data/sys/sem.h-data: Likewise.
43542 * conform/data/sys/shm.h-data: Likewise.
43543 * conform/data/sys/socket.h-data: Likewise.
43544 * conform/data/sys/stat.h-data: Likewise.
43545 * conform/data/sys/statvfs.h-data: Likewise.
43546 * conform/data/sys/time.h-data: Likewise.
43547 * conform/data/sys/timeb.h-data: Likewise.
43548 * conform/data/sys/times.h-data: Likewise.
43549 * conform/data/sys/types.h-data: Likewise.
43550 * conform/data/sys/uio.h-data: Likewise.
43551 * conform/data/sys/un.h-data: Likewise.
43552 * conform/data/sys/utsname.h-data: Likewise.
43553 * conform/data/sys/wait.h-data: Likewise.
43554 * conform/data/syslog.h-data: Likewise.
43555 * conform/data/tar.h-data: Likewise.
43556 * conform/data/termios.h-data: Likewise.
43557 * conform/data/utime.h-data: Likewise.
43558 * conform/data/utmpx.h-data: Likewise.
43559 * conform/data/varargs.h-data: Likewise.
43560 * conform/data/wchar.h-data: Likewise.
43561 * conform/data/wctype.h-data: Likewise.
43562 * conform/data/wordexp.h-data: Likewise.
43563
43564 * include/stropts.h: New file.
43565 * include/uchar.h: New file.
43566 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43567 * include/assert.h: Likewise.
43568 * include/ctype.h: Likewise.
43569 * include/dirent.h: Likewise.
43570 * include/dlfcn.h: Likewise.
43571 * include/fcntl.h: Likewise.
43572 * include/fnmatch.h: Likewise.
43573 * include/glob.h: Likewise.
43574 * include/grp.h: Likewise.
43575 * include/libio.h: Likewise.
43576 * include/locale.h: Likewise.
43577 * include/math.h: Likewise.
43578 * include/net/if.h: Likewise.
43579 * include/netdb.h: Likewise.
43580 * include/netinet/in.h: Likewise.
43581 * include/pthread.h: Likewise.
43582 * include/pwd.h: Likewise.
43583 * include/regex.h: Likewise.
43584 * include/sched.h: Likewise.
43585 * include/search.h: Likewise.
43586 * include/setjmp.h: Likewise.
43587 * include/signal.h: Likewise.
43588 * include/stdio.h: Likewise.
43589 * include/stdlib.h: Likewise.
43590 * include/string.h: Likewise.
43591 * include/sys/cdefs.h: Likewise.
43592 * include/sys/mman.h: Likewise.
43593 * include/sys/msg.h: Likewise.
43594 * include/sys/resource.h: Likewise.
43595 * include/sys/select.h: Likewise.
43596 * include/sys/socket.h: Likewise.
43597 * include/sys/stat.h: Likewise.
43598 * include/sys/statvfs.h: Likewise.
43599 * include/sys/time.h: Likewise.
43600 * include/sys/times.h: Likewise.
43601 * include/sys/uio.h: Likewise.
43602 * include/sys/utsname.h: Likewise.
43603 * include/sys/wait.h: Likewise.
43604 * include/termios.h: Likewise.
43605 * include/time.h: Likewise.
43606 * include/ulimit.h: Likewise.
43607 * include/unistd.h: Likewise.
43608 * include/utime.h: Likewise.
43609 * include/wchar.h: Likewise.
43610 * include/wctype.h: Likewise.
43611 * include/wordexp.h: Likewise.
43612
43613 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43614
7a270350
UD
43615 * time/time.h: TIME_UTC must be a macro.
43616 Make timespec_get available for ISO C11 only as well.
43617
7724defc
UD
436182012-02-24 Ulrich Drepper <drepper@gmail.com>
43619
43620 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43621 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43622
6b1d1d46
JM
436232012-02-24 Joseph Myers <joseph@codesourcery.com>
43624
43625 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43626
0f8bbd69
JM
436272012-02-24 Joseph Myers <joseph@codesourcery.com>
43628
43629 * manual/texinfo.tex: Update to version 2012-01-19.16.
43630
66ab80bc
JM
436312012-02-24 Joseph Myers <joseph@codesourcery.com>
43632
43633 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43634
74981cc5
RM
436352012-02-24 Roland McGrath <roland@hack.frob.com>
43636
ee968201
RM
43637 [BZ #13738]
43638 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43639 * manual/fdl-1.3.texi: New file.
43640 * manual/fdl-1.1.texi: File removed.
43641
74981cc5
RM
43642 [BZ #13738]
43643 * manual/libc.texinfo (FDL_VERSION): New @set.
43644 Use it for mention of FDL in cover text.
43645 (Documentation License): Use it in @include file name.
43646
7bb764bc
JM
436472012-02-22 Joseph Myers <joseph@codesourcery.com>
43648 Roland McGrath <roland@hack.frob.com>
43649
43650 [BZ #5461]
57f41c40
AS
43651 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43652 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43653 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43654 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43655 name.
43656 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43657
6cbeae47
JM
436582012-02-22 Joseph Myers <joseph@codesourcery.com>
43659
43660 [BZ #2547]
43661 [BZ #11365]
43662 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43663 manipulate bits before adding and subtracting TWO23[sx].
43664 * math/libm-test.inc (nearbyint_test): Add more tests.
43665
fe45ce09
JM
436662012-02-22 Joseph Myers <joseph@codesourcery.com>
43667
43668 [BZ #2548]
43669 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43670 bits before adding and subtracting TWO23[sx].
43671 * math/libm-test.inc (rint_test): Add more tests.
43672 (rint_test_tonearest): Likewise.
43673 (rint_test_towardzero): Likewise.
43674 (rint_test_downward): Likewise.
43675 (rint_test_upward: Likewise.
43676
ff3b3d82
JM
436772012-02-22 Joseph Myers <joseph@codesourcery.com>
43678
43679 [BZ #10110]
43680 * include/stdc-predef.h: New file. Extracted from features.h.
43681 * include/features.h: Include stdc-predef.h.
43682 * Makefile (headers): Add stdc-predef.h.
43683 * CONFORMANCE (Compiler limitations): Update.
43684
ef0aab35
JM
436852012-02-22 Joseph Myers <joseph@codesourcery.com>
43686
43687 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43688
58639409
DM
436892012-02-21 David S. Miller <davem@davemloft.net>
43690
43691 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43692 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43693
c0e70b25
DM
436942012-02-20 David S. Miller <davem@davemloft.net>
43695
43696 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43697 using a normal save/restore sequence, rather than allocating a
43698 dummy stack frame just to store a frame pointer and restore.
43699 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43700
fb06851d
JM
437012012-02-21 Joseph Myers <joseph@codesourcery.com>
43702
43703 * manual/install.texi: Fix stray word in line-wrapped comment.
43704
7a8b71c3
DM
437052012-02-20 David S. Miller <davem@davemloft.net>
43706
d510c123
DM
43707 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43708 both binutils and gcc support GOTDATA.
43709
0722d7c2
DM
43710 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43711 "rd %pc" in the PIC register setup sequences.
43712
3d2b3019
DM
43713 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43714 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43715 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43716 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43717 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43719 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43720 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43722 (SYSCALL_ERROR_HANDLER): Likewise.
43723 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43724 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43726 (SYSCALL_ERROR_HANDLER): Likewise.
43727
c80098a9
DM
43728 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43729 (HAVE_GCC_GOTDATA): New.
43730 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43731 relocation support in both binutils and gcc.
43732 * sysdeps/sparc/elf/configure: Regenerate.
43733
3a2545a0
DM
43734 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43735 * sysdeps/sparc/sparc32/elf/configure: Delete.
43736 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43737 * sysdeps/sparc/sparc64/elf/configure: Delete.
43738 * sysdeps/sparc/elf/configure.in: New file.
43739 * sysdeps/sparc/elf/configure: Generate.
43740
7a8b71c3
DM
43741 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43742 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43743 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43744 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43745 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43746
f1e86fca
JM
437472012-02-21 Joseph Myers <joseph@codesourcery.com>
43748
43749 * manual/install.texi: Do not mention specific glibc version
43750 numbers.
43751 * manual/libc.texinfo (VERSION, UPDATED): Update.
43752 (@copying): Use @copyright{} and range of years.
43753
0e7dfaef
JM
437542012-02-21 Joseph Myers <joseph@codesourcery.com>
43755
43756 [BZ #13695]
43757 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43758 [crti.S not in sysdirs] (generated): Do not append.
43759 [crti.S not in sysdirs] (omit-deps): Likewise.
43760 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43761 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43762 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43763 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43764 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43765 Likewise.
43766 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43767 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43768 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43769 * csu/defs.awk: Remove file.
43770 * sysdeps/generic/initfini.c: Likewise.
43771 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43772 variable.
43773 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43774 Likewise.
43775
599af3ca
JM
437762012-02-20 Joseph Myers <joseph@codesourcery.com>
43777
43778 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43779 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43780 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43781 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43782 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43783 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43784 <bits/epoll.h>.
43785 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43786 (__EPOLL_PACKED): Define to empty if not defined by
43787 <bits/epoll.h>.
43788 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43790 bits/epoll.h.
43791
0e499750
JM
437922012-02-20 Joseph Myers <joseph@codesourcery.com>
43793
43794 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43795 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43796 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43797 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43798 <bits/timerfd.h>.
43799 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43801 bits/timerfd.h.
43802
5ad91f6e
JM
438032012-02-20 Joseph Myers <joseph@codesourcery.com>
43804
43805 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43806 in C locale.
43807 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43808 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43809 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43811
06b99b02
AJ
438122012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43813
43814 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43815 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43816
7638c0fd
AS
438172012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43818
43819 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43820 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43821 defined.
43822 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43823 Likewise.
43824 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43825 entry for 2.16.
43826
92221550
AJ
438272012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43828
43829 * math/w_acos.c: Use non-signaling floating-point comparisons.
43830 * math/w_acosf.c: Likewise.
43831 * math/w_acosh.c: Likewise.
43832 * math/w_acoshf.c: Likewise.
43833 * math/w_acoshl.c: Likewise.
43834 * math/w_acosl.c: Likewise.
43835 * math/w_asin.c: Likewise.
43836 * math/w_asinf.c: Likewise.
43837 * math/w_asinl.c: Likewise.
43838 * math/w_atanh.c: Likewise.
43839 * math/w_atanhf.c: Likewise.
43840 * math/w_atanhl.c: Likewise.
43841 * math/w_exp2.c: Likewise.
43842 * math/w_exp2f.c: Likewise.
43843 * math/w_exp2l.c: Likewise.
43844 * math/w_j0.c: Likewise.
43845 * math/w_j0f.c: Likewise.
43846 * math/w_j0l.c: Likewise.
43847 * math/w_j1.c: Likewise.
43848 * math/w_j1f.c: Likewise.
43849 * math/w_j1l.c: Likewise.
43850 * math/w_jn.c: Likewise.
43851 * math/w_jnf.c: Likewise.
43852 * math/w_log.c: Likewise.
43853 * math/w_log10.c: Likewise.
43854 * math/w_log10f.c: Likewise.
43855 * math/w_log10l.c: Likewise.
43856 * math/w_log2.c: Likewise.
43857 * math/w_log2f.c: Likewise.
43858 * math/w_log2l.c: Likewise.
43859 * math/w_logf.c: Likewise.
43860 * math/w_logl.c: Likewise.
43861 * math/w_sqrt.c: Likewise.
43862 * math/w_sqrtf.c: Likewise.
43863 * math/w_sqrtl.c: Likewise.
43864 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43866 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43867 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43868 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43869
ebaf36eb
JM
438702012-02-19 Joseph Myers <joseph@codesourcery.com>
43871
43872 [BZ #9739]
43873 * manual/string.texi (strnlen): Use correct parameter name in
43874 equivalent expression.
43875
71c254a6
JM
438762012-02-19 Joseph Myers <joseph@codesourcery.com>
43877
43878 [BZ #11174]
43879 * manual/users.texi (seteuid): Consistently use neweuid for
43880 argument name.
43881
16d2c631
JM
438822012-02-19 Joseph Myers <joseph@codesourcery.com>
43883
43884 [BZ #13704]
43885 * manual/nss.texi (Services in the NSS configuration): Correct
43886 list of services in example configuration file.
43887
cd837b09
NB
438882012-02-19 Nick Bowler <nbowler@draconx.ca>
43889
43890 [BZ #11322]
43891 * manual/arith.texi: Remove statements about negative zero
43892 behaving identically to zero.
43893
02c4bbad
JM
438942012-02-18 Joseph Myers <joseph@codesourcery.com>
43895
43896 [BZ #5993]
43897 * manual/install.texi: Do not document upgrading from libc5.
43898
366842e7
JM
438992012-02-18 Joseph Myers <joseph@codesourcery.com>
43900
43901 [BZ #4596]
43902 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43903
dd54084d
DM
439042012-02-18 David S. Miller <davem@davemloft.net>
43905
43906 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43907 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43908 %o7 across the call.
43909 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43910 instead.
43911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43912 SETUP_PIC_REG_LEAF.
43913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43914 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43915 * sysdeps/sparc/crtn.S: Likewise.
43916
2bcc53a3
UD
439172012-02-17 Ulrich Drepper <drepper@gmail.com>
43918
43919 * aout/Makefile: Remove.
43920
09c093b5
RK
439212012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43922
43923 [BZ #13058]
43924 * manual/examples/argp-ex1.c (main): Format definition in GNU
43925 style.
43926 * manual/examples/argp-ex2.c (main): Likewise.
43927 * manual/examples/argp-ex3.c (main): Likewise.
43928 * manual/examples/argp-ex4.c (main): Likewise.
43929 * manual/examples/longopt.c (main): Use new-style prototype
43930 definition.
43931 * manual/examples/strncat.c (main): Specify return type and use
43932 (void) for arguments.
43933 * manual/examples/subopt.c (main): Use char **argv argument.
43934
2ee633a2
JM
439352012-02-17 Joseph Myers <joseph@codesourcery.com>
43936
43937 [BZ #5077]
43938 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43939 rounding modes.
43940
0520adde
FB
439412012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43942
43943 [BZ #6907]
43944 * manual/string.texi (strchr): Change when strchrnul is
43945 recommended.
43946
3f4081cd
DGM
439472012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43948
43949 [BZ #174]
43950 * manual/locale.texi (setlocale): Document LOCPATH.
43951
d1b10e78
JM
439522012-02-17 Joseph Myers <joseph@codesourcery.com>
43953
43954 [BZ #10210]
43955 * manual/process.texi (execle): Move @dots{} before last argument.
43956
79c6869c
PB
439572012-02-17 Paul Bolle <pebolle@tiscali.nl>
43958
43959 [BZ #12047]
43960 * manual/charset.texi (Generic Charset Conversion): Fix typo
43961 (LC_TYPE -> LC_CTYPE).
43962
cc6e48bc
NB
439632012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43964
43965 [BZ #5805]
43966 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43967 (scalbnf): Likewise.
43968 (scalbnl): Likewise.
43969 (scalbln): Likewise.
43970 (scalblnf): Likewise.
43971 (scalblnl): Likewise.
43972 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43973 (vwarnx): Likewise.
43974 (verr): Likewise.
43975 (verrx): Likewise.
43976 * manual/filesys.texi (telldir): Use braces around return type.
43977 * manual/llio.texi (mmap): Add space after comma.
43978 (mmap64): Likewise.
43979 * manual/math.texi (jn): Use @var{} on parameter names.
43980 (jnf): Likewise.
43981 (jnl): Likewise.
43982 (yn): Likewise.
43983 (ynf): Likewise.
43984 (ynl): Likewise.
43985 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43986 line.
43987 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43988 "...".
43989 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43990 (sched_get_priority_max): Likewise.
43991 * manual/signal.texi (sigvec): Add space after comma.
43992 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43993 names.
43994 (if_indextoname): Likewise.
43995 (if_freenameindex): Likewise.
43996 (sendto): Use ',' instead of '.' in prototype.
43997 * manual/startup.texi (syscall): Use @dots{} instead of literal
43998 "...".
43999 * manual/stdio.texi (__fpending): Separate initial words of
44000 paragraph from @deftypefun line.
44001 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44002 "...".
44003 (vsyslog): Use @var{} on parameter names.
44004 * manual/terminal.texi (stty): Use @var{} on parameter names.
44005 * manual/users.texi (getutmp): Use @var{} on parameter names.
44006 (getutmpx): Likewise.
44007
5b23062f
JM
440082012-02-17 Joseph Myers <joseph@codesourcery.com>
44009
44010 [BZ #6884]
44011 * manual/stdio.texi (fopen): Fix typos in description of
44012 ",ccs=STRING".
44013
8dee4833
AJ
440142012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44015
44016 [BZ #4026]
44017 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44018 get clock_id definition.
44019
9078ce93
TS
440202012-02-17 Thomas Schwinge <thomas@schwinge.name>
44021
44022 [BZ #4822]
44023 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44024 (madvise): Cast every argument to void on its own.
44025
3835c55f
JM
440262012-02-17 Joseph Myers <joseph@codesourcery.com>
44027
44028 [BZ #9902]
44029 * manual/startup.texi (Exit Status): Fix typo.
44030
35c47e37
JM
440312012-02-17 Joseph Myers <joseph@codesourcery.com>
44032
44033 [BZ #10140]
44034 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44035 * manual/examples/argp-ex2.c: Likewise.
44036 * manual/examples/argp-ex3.c: Likewise.
44037
e3b69ca7
RH
440382012-02-16 Richard Henderson <rth@redhat.com>
44039
44040 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44041 * sysdeps/s390/s390-32/initfini.c: Remove.
44042 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44043 * sysdeps/s390/s390-64/initfini.c: Remove.
44044
df83af67
KK
440452012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44046
44047 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44048 compiler output for sysdeps/generic/initfini.c.
44049 * sysdeps/sh/elf/initfini.c: Remove file.
44050
f63f3380
DM
440512012-02-16 David S. Miller <davem@davemloft.net>
44052
fb59b3a4
DM
44053 [BZ #11494]
44054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44055
f63f3380
DM
44056 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44057 * sysdeps/sparc/crti.S: New file.
44058 * sysdeps/sparc/crtn.S: New file.
44059 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44060 * sysdeps/sparc/sparc64/Makefile: Likewise.
44061
df6a4a4a
MF
440622012-02-15 Mike Frysinger <vapier@gentoo.org>
44063
6dd8f3dc 44064 [BZ #3335]
df6a4a4a
MF
44065 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44066
1cac7236
RM
440672012-02-15 Roland McGrath <roland@hack.frob.com>
44068
d2c736f8
RM
44069 [BZ #4822]
44070 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44071
1cac7236
RM
44072 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44073 (write, read, close): Likewise.
44074 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44075
8e475601
JM
440762012-02-15 Joseph Myers <joseph@codesourcery.com>
44077
44078 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44079 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44080 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44081 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44082 <bits/signalfd.h>.
44083 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44085 bits/signalfd.h.
44086
ed656b40
MP
440872012-02-14 Marek Polacek <polacek@redhat.com>
44088
44089 * sysdeps/x86_64/crti.S: New file.
44090 * sysdeps/x86_64/crtn.S: New file.
44091 * sysdeps/x86_64/elf/initfini.c: Remove file.
44092
2a979d3a
JM
440932012-02-13 Joseph Myers <joseph@codesourcery.com>
44094
44095 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44096 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44097 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44098 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44099 <bits/inotify.h>.
44100 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44102 bits/inotify.h.
44103
2a418ac3
JM
441042012-02-13 Joseph Myers <joseph@codesourcery.com>
44105
44106 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44107 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44108 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44109 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44110 <bits/eventfd.h>.
44111 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44113 bits/eventfd.h.
44114
fb779be7
TS
441152012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44116
e19e83c5
RM
44117 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44118 __feraiseexcept instead of feraiseexcept.
7c35ffed 44119
fb779be7
TS
44120 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44121 nanosleep invocations.
44122 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44123 strings, and add error checking for a nanosleep invocations.
44124
59ba27a6
PE
441252012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44126
44127 Replace FSF snail mail address with URLs, as per GNU coding standards.
44128 Most of the snail mail addresses were wrong anyway, and omitting
44129 them makes the source code easier to maintain. Almost all of the
44130 changes are to license notices and to locale LC_IDENTIFICATION
44131 addresses, except for this one:
44132 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44133 not its snail mail address.
44134
57b957eb
RH
441352012-02-09 Richard Henderson <rth@twiddle.net>
44136
af850b1c
RH
44137 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44138 of kernel-features.h.
44139
57b957eb
RH
44140 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44141
6b73181a
MP
441422012-02-08 Marek Polacek <polacek@redhat.com>
44143
44144 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44145 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44146 * sysdeps/gnu/_G_config.h: Likewise.
44147 * sysdeps/generic/_G_config.h: Likewise.
44148
26ecc33a
AS
441492012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44150
6c6dbc63
AS
44151 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44152 tests.
44153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44154
e216c012
AS
44155 * sysdeps/powerpc/powerpc32/crti.S: New file.
44156 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44157 * sysdeps/powerpc/powerpc64/crti.S: New file.
44158 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44159
26ecc33a
AS
44160 * Makeconfig (have-initfini): Don't set.
44161 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44162 * configure.in (nopic_initfini): Don't substitute.
44163 * config.h.in (HAVE_INITFINI): Don't #undef.
44164 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44165 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44166
3add8e13
JM
441672012-02-08 Joseph Myers <joseph@codesourcery.com>
44168
44169 Support crti.S and crtn.S provided directly by architectures.
44170 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44171 [crti.S in sysdirs] (omit-deps): Likewise.
44172 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44173 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44174 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44175 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44176 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44177 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44178 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44179 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44180 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44181 compiler output for sysdeps/generic/initfini.c.
44182 * sysdeps/i386/elf/Makefile: Remove file.
44183 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44184
a22f12b4
MP
441852012-02-07 Marek Polacek <polacek@redhat.com>
44186
44187 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44188 * sysdeps/gnu/_G_config.h: Likewise.
44189 * sysdeps/mach/hurd/_G_config.h: Likewise.
44190
148cf100
MP
441912012-02-07 Marek Polacek <polacek@redhat.com>
44192
44193 * math/Makefile (tests): Add tst-CMPLX2.
44194 * math/tst-CMPLX2.c: New file.
44195
cfdc0dd7
AS
441962012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44197
84ba42c4
AS
44198 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44199
cfdc0dd7
AS
44200 * math/libm-test.inc (jn_test): Add missing L suffix.
44201
622c86f4
MP
442022012-02-06 Marek Polacek <polacek@redhat.com>
44203
44204 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44205 * sysdeps/i386/fpu/e_powf.S: Likewise.
44206 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44207 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44208 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44209 * sysdeps/i386/fpu/e_pow.S: Likewise.
44210 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44211 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44212 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44213 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44214 * sysdeps/i386/fpu/e_log2.S: Likewise.
44215 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44216 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44217 * sysdeps/i386/fpu/e_powl.S: Likewise.
44218 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44219 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44220 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44221 * sysdeps/i386/fpu/e_logl.S: Likewise.
44222 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44223 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44224 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44225 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44226 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44227 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44228 * sysdeps/i386/fpu/e_log.S: Likewise.
44229 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44230 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44231 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44232 * sysdeps/i386/fpu/e_logf.S: Likewise.
44233 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44234 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44235 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44236 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44237 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44238 * sysdeps/i386/fpu/e_log10.S: Likewise.
44239 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44241 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44242 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44243 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44244 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44245 * sysdeps/i386/asm-syntax.h: Likewise.
44246 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44248 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44249 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44250 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44251 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44252 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44253 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44254 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44255 * sysdeps/powerpc/sysdep.h: Likewise.
44256 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44257 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44258
d4a54ac6
JM
442592012-02-06 Joseph Myers <joseph@codesourcery.com>
44260
44261 [BZ #411]
44262 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44263
314054ea
JM
442642012-02-06 Joseph Myers <joseph@codesourcery.com>
44265
44266 * sysdeps/i386/sysdep.h: Include <features.h>.
44267 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44268 version.
44269
d8e0ca50
JM
442702012-02-05 Joseph Myers <joseph@codesourcery.com>
44271
44272 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44273 Define.
44274 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44275 LOAD_PIC_REG_STR.
44276
b1da7dd9
JM
442772012-02-03 Joseph Myers <joseph@codesourcery.com>
44278
44279 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44280 (SETUP_PIC_REG): Use GET_PC_THUNK.
44281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44282 macro.
44283
9a1d9254
JM
442842012-02-03 Joseph Myers <joseph@codesourcery.com>
44285
44286 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44287 for non-PIC compilation.
44288 (SETUP_PIC_REG): Add .p2align directive.
44289 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44290 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44291 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44292 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44293 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44294 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44295 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44297 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44298 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44299 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44300 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44301 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44302 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44303 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44304 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44305 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44306 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44307 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44308 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44309 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44311 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44312 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44313 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44315 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44316 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44317 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44318 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44319 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44321 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44322 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44323 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44324 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44325 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44326 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44327 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44328 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44329 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44330
65dc3b75
JM
443312012-02-03 Joseph Myers <joseph@codesourcery.com>
44332
44333 * math/tst-CMPLX.c: Include <stdio.h>.
44334
d55bf177
JM
443352012-01-31 Joseph Myers <joseph@codesourcery.com>
44336
44337 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44338 float.
44339 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44340 * sysdeps/sparc/bits/mathdef.h: Likewise.
44341
69db4f8f
MP
443422012-01-31 Marek Polacek <polacek@redhat.com>
44343
44344 * libio/libio.h: Don't define _PARAMS.
44345 * locale/programs/config.h: Don't define PARAMS.
44346 * stdlib/strtol_l.c: Likewise.
44347 (__strtol_l): Remove PARAMS from the prototype.
44348
41b81892
UD
443492012-01-31 Ulrich Drepper <drepper@gmail.com>
44350
3b49edc0
UD
44351 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44352 names. Just use the correct names. Remove unnecessary wrapper
44353 functions.
44354 * malloc/arena.c: Likewise.
44355 * malloc/hooks.c: Likewise.
44356
41b81892
UD
44357 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44358 ARENA_TEST says not to. Simplify test for creation of a new arena.
44359 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44360
27a25b6e
UD
443612012-01-30 Ulrich Drepper <drepper@gmail.com>
44362
44363 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44364 into tail calls.
44365 (update_get_addr): New function.
44366 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44367 GET_ADDR_MODULE parameter.
44368
c8a89e7d
JM
443692012-01-30 Joseph Myers <joseph@codesourcery.com>
44370
44371 * crypt/cert.c: Remove __STDC__ conditionals.
44372 * crypt/crypt-entry.c: Likewise.
44373 * crypt/crypt_util.c: Likewise.
44374 * libio/filedoalloc.c: Likewise.
44375 * libio/fileops.c: Likewise.
44376 * libio/genops.c: Likewise.
44377 * libio/iofclose.c: Likewise.
44378 * libio/iofdopen.c: Likewise.
44379 * libio/iofopen.c: Likewise.
44380 * libio/iofopen64.c: Likewise.
44381 * libio/iogetdelim.c: Likewise.
44382 * libio/iopopen.c: Likewise.
44383 * libio/obprintf.c: Likewise.
44384 * libio/oldfileops.c: Likewise.
44385 * libio/oldiofclose.c: Likewise.
44386 * libio/oldiofdopen.c: Likewise.
44387 * libio/oldiofopen.c: Likewise.
44388 * libio/oldiopopen.c: Likewise.
44389 * libio/wfiledoalloc.c: Likewise.
44390 * libio/wgenops.c: Likewise.
44391 * locale/programs/xmalloc.c: Likewise.
44392 * misc/syslog.c: Likewise.
44393 * stdio-common/xbug.c: Likewise.
44394 * string/memchr.c: Likewise.
44395 * string/memcmp.c: Likewise.
44396 * string/memrchr.c: Likewise.
44397 * string/rawmemchr.c: Likewise.
44398 * sysdeps/posix/getcwd.c: Likewise.
44399 * time/strftime_l.c: Likewise.
44400
3b100462
JM
444012012-01-30 Joseph Myers <joseph@codesourcery.com>
44402
44403 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44404 * config.make.in (config-cflags-sse2avx): Define.
44405 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44406 Fix typo.
44407
607998af
CM
444082012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44409
44410 * scripts/config.guess: Update from upstream config git repository.
44411 * scripts/config.sub: Likewise.
44412
3601428f
CM
444132012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44414
3ac8b282
CM
44415 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44416 (EM_NUM): Update.
44417 (R_TILEPRO_*, R_TILEGX_*): New macros.
44418
e034841e
CM
44419 * scripts/firstversions.awk: Fix bug in version range handling.
44420
540d7568
CM
44421 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44422
3601428f
CM
44423 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44424
463de862
CM
44425 * include/sys/epoll.h: New file.
44426 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44427 libc_hidden_def.
44428
73139a76
UD
444292012-01-28 Ulrich Drepper <drepper@gmail.com>
44430
96bc5b45
UD
44431 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44432 Avoid unnecessary __WORDSIZE == 64 test.
44433 (fmaxf): Use VEX format if possible.
44434 (fmax): Likewise.
44435 (fminf): Likewise.
44436 (fmin): Likewise.
44437
56f6f6a2
UD
44438 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44439 * math/math_private.h: Remove libc_fegetround* and
44440 libc_fesetround*.
44441 * sysdeps/i386/configure.in: Check for -msse2avx.
44442 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44443 also if SSE2AVX is defined.
44444 Remove libc_fegetround* and libc_fesetround*.
44445 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44446 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44447 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44448 of HAS_YMM_USABLE.
44449 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44450 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44451 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44452 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44453 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44454
73139a76
UD
44455 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44456
d73f93a4
AZ
444572012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44458
44459 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44460 size is not set.
44461 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44462
6ee65ed6
UD
444632012-01-27 Ulrich Drepper <drepper@gmail.com>
44464
44465 [BZ #13618]
44466 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44467 relocation.
44468 * Makeconfig (libm): Define.
44469 * elf/Makefile: Add rules to build and run tst-relsort1.
44470 * elf/tst-relsort1.c: New file.
44471 * elf/tst-relsort1mod1.c: New file.
44472 * elf/tst-relsort1mod2.c: New file.
44473
8db21882
JM
444742012-01-27 Joseph Myers <joseph@codesourcery.com>
44475
44476 * math/s_ldexp.c: Remove __STDC__ conditionals.
44477 * math/s_ldexpf.c: Likewise.
44478 * math/s_ldexpl.c: Likewise.
44479 * math/s_nextafter.c: Likewise.
44480 * math/s_nexttowardf.c: Likewise.
44481 * math/s_significand.c: Likewise.
44482 * math/s_significandf.c: Likewise.
44483 * math/s_significandl.c: Likewise.
44484 * math/w_jnl.c: Likewise.
44485 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44486 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44487 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44488 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44489 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44490 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44491 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44492 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44493 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44494 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44495 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44497 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44498 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44499 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44500 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44501 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44502 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44504 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44505 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44506 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44507 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44508 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44509 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44510 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44511 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44512 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44513 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44514 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44515 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44516 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44517 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44518 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44519 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44520 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44521 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44522 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44523 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44524 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44525 * sysdeps/ieee754/k_standard.c: Likewise.
44526 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44527 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44528 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44530 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44531 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44533 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44535 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44536 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44538 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44539 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44540 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44542 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44543 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44544 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44545 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44546 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44547 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44548 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44549 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44550 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44551 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44552 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44555 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44558 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44559 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44561 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44562 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44563 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44564 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44565 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44566 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44568 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44569 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44570 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44571 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44572 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44573 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44574 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44575 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44576 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44577 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44578 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44579 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44580 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44581 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44582 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44583 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44584 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44585 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44586 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44587 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44588 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44590 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44591 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44592 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44593 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44594 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44595 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44596 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44597 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44598 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44599 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44600 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44601 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44602 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44603 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44604 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44605 * sysdeps/ieee754/s_matherr.c: Likewise.
44606 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44607 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44610
965a54a4
JM
446112012-01-26 Joseph Myers <joseph@codesourcery.com>
44612
44613 * crypt/md5.h: Remove __STDC__ conditionals.
44614 * libio/libioP.h: Likewise.
44615 * locale/programs/config.h: Likewise.
44616 * sysdeps/generic/sysdep.h: Likewise.
44617 * sysdeps/i386/asm-syntax.h: Likewise.
44618 * sysdeps/s390/asm-syntax.h: Likewise.
44619 * sysdeps/unix/sysdep.h: Likewise.
44620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44622
7071ad79
JM
446232012-01-26 Joseph Myers <joseph@codesourcery.com>
44624
44625 * libio/libio.h: Remove __STDC__ conditionals.
44626 * malloc/obstack.h: Likewise.
44627 * math/complex.h: Likewise.
44628 * math/math.h: Likewise.
44629 * sysdeps/generic/_G_config.h: Likewise.
44630 * sysdeps/gnu/_G_config.h: Likewise.
44631 * sysdeps/mach/hurd/_G_config.h: Likewise.
44632 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44633 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44634 * sysdeps/sparc/bits/mathdef.h: Likewise.
44635
afc5ed09
UD
446362012-01-26 Ulrich Drepper <drepper@gmail.com>
44637
44638 [BZ #13583]
44639 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44640 Clean up HAS_* macros.
afc5ed09 44641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44642 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44643 possible.
44644 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44645 HAS_AVX.
44646 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44647 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44648 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44649 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44650 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44651
bdb6de1d
JM
446522012-01-25 Joseph Myers <joseph@codesourcery.com>
44653
44654 * elf/tst-unique3.cc (gets): Remove declaration.
44655 * elf/tst-unique3lib.cc (gets): Likewise.
44656 * elf/tst-unique3lib2.cc (gets): Likewise.
44657 * elf/tst-unique4.cc (gets): Likewise.
44658
b15549e6
UD
446592012-01-24 Ulrich Drepper <drepper@gmail.com>
44660
44661 * include/stdio.h: Add C++ protection. Add gets declarations and
44662 definitions.
44663 * debug/tst-chk1.c: Don't declare gets here.
44664 * stdio-common/tst-gets.c: Likewise.
44665
a037381f
JM
446662012-01-24 Joseph Myers <joseph@codesourcery.com>
44667
44668 * posix/glob: Remove directory.
44669
f1d4aa75
JM
446702012-01-24 Joseph Myers <joseph@codesourcery.com>
44671
44672 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44673
81c0c964
PT
446742012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44675
44676 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44677 of the non-standard EPFNOSUPPORT.
44678
0ea698ae
ST
446792011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44680
44681 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44682 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44683 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44684
d220b117
UD
446852012-01-21 Ulrich Drepper <drepper@gmail.com>
44686
44687 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44688
3e1aa84e
UD
446892012-01-20 Ulrich Drepper <drepper@gmail.com>
44690
44691 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44692 transient errors.
44693 * nscd/grpcache.c (cache_addgr): Likewise.
44694 * nscd/hstcache.c (cache_addhst): Likewise.
44695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44696 * nscd/pwdcache.c (cache_addpw): Likewise.
44697 * nscd/servicescache.c (cache_addserv): Likewise.
44698
400aa020
UD
446992012-01-16 Ulrich Drepper <drepper@gmail.com>
44700
d77e7869
UD
44701 * malloc/malloc.c: Various cleanups.
44702 * malloc/hooks.c: Likewise.
44703
400aa020
UD
44704 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44705 * stdlib/bug-fmtmsg1.c: New file.
44706
44707 * stdlib/fmtmsg.c (init): Add missing unlock.
44708 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44709
e0a309cf
MP
447102012-01-12 Marek Polacek <polacek@redhat.com>
44711
44712 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44713 and _GNU_SOURCE.
44714
929d11c7
WS
447152012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44716
44717 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44718 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44719 macro to ensure uniqueness of label name.
44720 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44721 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44722
41d0e869
UD
447232012-01-11 Ulrich Drepper <drepper@gmail.com>
44724
0cc5ed3b
UD
44725 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44726
41d0e869
UD
44727 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44728 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44729 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44731
a47a831a
UD
447322012-01-10 Ulrich Drepper <drepper@gmail.com>
44733
daa891c0
UD
44734 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44735
44736 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44737 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44738 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44739
e58ef0f2
UD
44740 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44741
a47a831a 44742 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44743 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44744 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44745 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44746
44747 * math/bits/math-finite.h: Add ldexp support.
44748
a0bfc9c7
MP
447492012-01-10 Marek Polacek <polacek@redhat.com>
44750
44751 * locale/programs/localedef.h (show_archive_content): Add noreturn
44752 attribute.
44753
d6e97a1d
UD
447542012-01-09 Ulrich Drepper <drepper@gmail.com>
44755
44756 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44757
d5835c26
UD
447582012-01-08 Ulrich Drepper <drepper@gmail.com>
44759
e5f484c6
UD
44760 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44761
d5835c26
UD
44762 * io/Makefile (headers): Add bits/poll2.h.
44763
d1f741e9
WS
447642011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44765
44766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44767 typo #include statement.
44768
ec09c1c4
UD
447692012-01-08 Ulrich Drepper <drepper@gmail.com>
44770
44771 * include/sys/cdefs.h: Define __attribute_alloc_size.
44772 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44773 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44774 * elf/pldd.c: Likewise.
44775 * iconv/iconv_charmap.c: Likewise.
44776 * iconv/iconvconfig.c: Likewise.
44777 * iconv/strtab.c: Likewise.
44778 * locale/programs/locale.c: Likewise.
44779 * locale/programs/localedef.h: Likewise.
44780 * locale/programs/simple-hash.c: Likewise.
44781 * nscd/nscd.h: Likewise.
44782 * nss/makedb.c: Likewise.
44783 * sysdeps/generic/ldconfig.h: Likewise.
44784 * locale/programs/localedef.c: Remove xmalloc prototype.
44785 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44786
20b38e03
PP
447872012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44788
44789 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44790 appropriate.
44791
a0da5fe1
UD
447922012-01-08 Ulrich Drepper <drepper@gmail.com>
44793
1d5a644a 44794 * math/Makefile (tests): Add tst-CMPLX.
669704fd 44795 * math/tst-CMPLX.c: New file.
1d5a644a 44796
8784a6db
UD
44797 * math/complex.h (CMPLXL): Fix typo.
44798
d9a216c0
UD
44799 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44800 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44801 GLIBC_2.16.
44802 * debug/tst-chk1.c: Add poll and ppoll tests.
44803 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44804 * include/sys/poll.h: Add hidden proto for ppoll.
44805 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44806 * sysdeps/mach/hurd/ppoll.c: Likewise.
44807 * io/ppoll.c: Likewise.
44808 * debug/poll_chk.c: New file.
44809 * debug/ppoll_chk.c: New file.
44810 * include/bits/poll2.h: New file.
44811 * io/bits/poll2.h: New file.
44812
ac097f5c
UD
44813 [BZ #1350]
44814 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44815
2119dcfa
UD
44816 * configure.in: static is always set to yes. Remove.
44817 * config.make.in: Don't set build-static.
44818 * Makeconfig: Remove use of build-static.
44819 * dlfcn/Makefile: Likewise.
44820 * elf/Makefile: Likewise.
44821 * math/Makefile: Likewise.
44822 * misc/Makefile: Likewise.
44823 * nptl/Makefile: Likewise.
44824 * sysdeps/mach/hurd/Makefile: Likewise.
44825
121766a9
UD
44826 * configure.in: PWD_P is not used anymore.
44827 * config.make.in: Remove PWD_P entry.
44828
51a1d39c 44829 * configure.in: Remove last remnants of RANLIB.
8720d066 44830 No need to check for signed size_t anymore.
215f4bdc
UD
44831 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44832 and IA-64.
3857022a 44833 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
44834 * aclocal.m4: Likewise.
44835
d3ed7225
UD
44836 * wcsmbs/mbrtoc16.c: Implement using towc function.
44837 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44838 * wcsmbs/wcsmbsload.c: Likewise.
44839 * iconv/gconv_simple.c: Likewise.
44840 * iconv/gconv_int.h: Likewise.
44841 * iconv/gconv_builtin.h: Likewise.
44842 * iconv/iconv_prog.c: Remove CHAR16 handling.
44843
44844 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44845
44846 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44847
a0da5fe1
UD
44848 * configure.in: Remove --with-elf and --enable-bounded options.
44849 Dont set base_machine for ia64. More non-ELF conditions removed.
44850 Remove testing and setting of leading underscore information.
44851 * config.make.in (build-bounded): Set to no.
44852 * config.h.in: Remove NO_UNDERSCORES entry.
44853 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44854 them.
44855 * csu/start.c: Remove !NO_UNDERSCORE code.
44856 * locale/localeinfo.h: Likewise.
44857 * sysdeps/generic/machine-gmon.h: Likewise.
44858 * sysdeps/generic/sysdep.h: Likewise.
44859 * sysdeps/i386/sysdep.h: Likewise.
44860 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44861 * sysdeps/mach/sysdep.h: Likewise.
44862 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44863 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44864 * sysdeps/sh/sysdep.h: Likewise.
44865 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44866 * sysdeps/unix/i386/sysdep.S: Likewise.
44867 * sysdeps/unix/sparc/start.c: Likewise.
44868 * sysdeps/unix/sparc/sysdep.S: Likewise.
44869 * sysdeps/unix/sparc/sysdep.h: Likewise.
44870 * sysdeps/unix/start.c: Likewise.
44871 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44872 * sysdeps/x86_64/sysdep.h: Likewise.
44873
df78418a
UD
448742012-01-07 Ulrich Drepper <drepper@gmail.com>
44875
a784e502
UD
44876 [BZ #13553]
44877 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44878 for non-gcc.
44879 * argp/argp-fmtstream.h: Use const instead __const.
44880 * argp/argp.h: Likewise.
44881 * assert/assert.h: Likewise.
44882 * bits/fenv.h: Likewise.
44883 * bits/sched.h: Likewise.
44884 * bits/sigset.h: Likewise.
44885 * bits/sigthread.h: Likewise.
44886 * catgets/nl_types.h: Likewise.
44887 * conform/data/pthread.h-data: Likewise.
44888 * crypt/crypt-private.h: Likewise.
44889 * crypt/crypt.h: Likewise.
44890 * crypt/crypt_util.c: Likewise.
44891 * ctype/ctype.h: Likewise.
44892 * debug/execinfo.h: Likewise.
44893 * debug/mbsnrtowcs_chk.c: Likewise.
44894 * debug/mbsrtowcs_chk.c: Likewise.
44895 * debug/wcsnrtombs_chk.c: Likewise.
44896 * debug/wcsrtombs_chk.c: Likewise.
44897 * debug/wcstombs_chk.c: Likewise.
44898 * dirent/dirent.h: Likewise.
44899 * dlfcn/dlfcn.h: Likewise.
44900 * elf/neededtest4.c: Likewise.
44901 * grp/grp.h: Likewise.
44902 * gshadow/gshadow.h: Likewise.
44903 * iconv/gconv.h: Likewise.
44904 * iconv/gconv_int.h: Likewise.
44905 * iconv/gconv_simple.c: Likewise.
44906 * iconv/iconv.h: Likewise.
44907 * iconv/loop.c: Likewise.
44908 * iconv/skeleton.c: Likewise.
44909 * include/aio.h: Likewise.
44910 * include/aliases.h: Likewise.
44911 * include/argz.h: Likewise.
44912 * include/arpa/inet.h: Likewise.
44913 * include/assert.h: Likewise.
44914 * include/dirent.h: Likewise.
44915 * include/dlfcn.h: Likewise.
44916 * include/execinfo.h: Likewise.
44917 * include/fcntl.h: Likewise.
44918 * include/fenv.h: Likewise.
44919 * include/glob.h: Likewise.
44920 * include/grp.h: Likewise.
44921 * include/libintl.h: Likewise.
44922 * include/mntent.h: Likewise.
44923 * include/netdb.h: Likewise.
44924 * include/pwd.h: Likewise.
44925 * include/rpc/netdb.h: Likewise.
44926 * include/sched.h: Likewise.
44927 * include/search.h: Likewise.
44928 * include/shadow.h: Likewise.
44929 * include/signal.h: Likewise.
44930 * include/stdio.h: Likewise.
44931 * include/stdlib.h: Likewise.
44932 * include/string.h: Likewise.
44933 * include/sys/socket.h: Likewise.
44934 * include/sys/stat.h: Likewise.
44935 * include/sys/statfs.h: Likewise.
44936 * include/sys/statvfs.h: Likewise.
44937 * include/sys/syslog.h: Likewise.
44938 * include/sys/time.h: Likewise.
44939 * include/sys/uio.h: Likewise.
44940 * include/time.h: Likewise.
44941 * include/unistd.h: Likewise.
44942 * include/utmp.h: Likewise.
44943 * include/wchar.h: Likewise.
44944 * include/wctype.h: Likewise.
44945 * inet/aliases.h: Likewise.
44946 * inet/arpa/inet.h: Likewise.
44947 * inet/netinet/ether.h: Likewise.
44948 * inet/netinet/in.h: Likewise.
44949 * intl/libintl.h: Likewise.
44950 * io/bits/fcntl2.h: Likewise.
44951 * io/fcntl.h: Likewise.
44952 * io/ftw.h: Likewise.
44953 * io/sys/poll.h: Likewise.
44954 * io/sys/stat.h: Likewise.
44955 * io/sys/statfs.h: Likewise.
44956 * io/sys/statvfs.h: Likewise.
44957 * io/utime.h: Likewise.
44958 * libio/bits/stdio.h: Likewise.
44959 * libio/bits/stdio2.h: Likewise.
44960 * libio/libio.h: Likewise.
44961 * libio/libioP.h: Likewise.
44962 * libio/stdio.h: Likewise.
44963 * locale/lc-ctype.c: Likewise.
44964 * locale/locale.h: Likewise.
44965 * login/utmp.h: Likewise.
44966 * malloc/arena.c: Likewise.
44967 * malloc/malloc.c: Likewise.
44968 * malloc/malloc.h: Likewise.
44969 * malloc/mcheck.c: Likewise.
44970 * malloc/mtrace.c: Likewise.
44971 * math/bits/mathcalls.h: Likewise.
44972 * math/fenv.h: Likewise.
44973 * math/math_private.h: Likewise.
44974 * misc/bits/error.h: Likewise.
44975 * misc/bits/syslog.h: Likewise.
44976 * misc/err.h: Likewise.
44977 * misc/error.h: Likewise.
44978 * misc/fstab.h: Likewise.
44979 * misc/mntent.h: Likewise.
44980 * misc/regexp.h: Likewise.
44981 * misc/search.h: Likewise.
44982 * misc/sgtty.h: Likewise.
44983 * misc/sys/mman.h: Likewise.
44984 * misc/sys/syslog.h: Likewise.
44985 * misc/sys/uio.h: Likewise.
44986 * misc/sys/xattr.h: Likewise.
44987 * misc/ttyent.h: Likewise.
44988 * nis/rpcsvc/ypclnt.h: Likewise.
44989 * nss/nss.h: Likewise.
44990 * posix/bits/unistd.h: Likewise.
44991 * posix/fnmatch.h: Likewise.
44992 * posix/glob.h: Likewise.
44993 * posix/sched.h: Likewise.
44994 * posix/spawn.h: Likewise.
44995 * posix/sys/wait.h: Likewise.
44996 * posix/unistd.h: Likewise.
44997 * posix/wordexp.h: Likewise.
44998 * pwd/pwd.h: Likewise.
44999 * resolv/netdb.h: Likewise.
45000 * resource/sys/resource.h: Likewise.
45001 * rt/aio.h: Likewise.
45002 * rt/bits/mqueue2.h: Likewise.
45003 * rt/mqueue.h: Likewise.
45004 * shadow/shadow.h: Likewise.
45005 * signal/signal.h: Likewise.
45006 * socket/send.c: Likewise.
45007 * socket/sendto.c: Likewise.
45008 * socket/sys/socket.h: Likewise.
45009 * stdio-common/printf.h: Likewise.
45010 * stdlib/bits/stdlib.h: Likewise.
45011 * stdlib/fmtmsg.h: Likewise.
45012 * stdlib/monetary.h: Likewise.
45013 * stdlib/stdlib.h: Likewise.
45014 * stdlib/ucontext.h: Likewise.
45015 * streams/stropts.h: Likewise.
45016 * string/argz.h: Likewise.
45017 * string/bits/string2.h: Likewise.
45018 * string/string.h: Likewise.
45019 * string/strings.h: Likewise.
45020 * sunrpc/rpc/auth.h: Likewise.
45021 * sunrpc/rpc/auth_des.h: Likewise.
45022 * sunrpc/rpc/clnt.h: Likewise.
45023 * sunrpc/rpc/netdb.h: Likewise.
45024 * sunrpc/rpc/pmap_clnt.h: Likewise.
45025 * sunrpc/rpc/xdr.h: Likewise.
45026 * sysdeps/generic/inttypes.h: Likewise.
45027 * sysdeps/generic/net/if.h: Likewise.
45028 * sysdeps/generic/sys/swap.h: Likewise.
45029 * sysdeps/gnu/net/if.h: Likewise.
45030 * sysdeps/gnu/utmpx.h: Likewise.
45031 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45032 * sysdeps/i386/i486/bits/string.h: Likewise.
45033 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45034 * sysdeps/s390/bits/string.h: Likewise.
45035 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45036 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45037 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45038 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45039 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45040 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45041 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45042 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45043 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45044 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45045 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45046 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45047 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45048 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45049 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45050 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45051 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45053 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45054 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45055 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45056 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45057 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45058 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45059 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45060 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45061 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45062 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45063 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45065 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45066 * sysvipc/sys/ipc.h: Likewise.
45067 * sysvipc/sys/msg.h: Likewise.
45068 * sysvipc/sys/sem.h: Likewise.
45069 * sysvipc/sys/shm.h: Likewise.
45070 * termios/termios.h: Likewise.
45071 * time/sys/time.h: Likewise.
45072 * time/time.h: Likewise.
45073 * wcsmbs/bits/wchar2.h: Likewise.
45074 * wcsmbs/uchar.h: Likewise.
45075 * wcsmbs/wchar.h: Likewise.
45076 * wctype/wctype.h: Likewise.
45077
0269750c
UD
45078 [BZ #13551]
45079 * Makeconfig: Remove all but ELF support including AIX support.
45080 * Makerules: Likewise.
45081 * config.h.in: Likewise.
45082 * config.make.in: Likewise.
45083 * configure: Likewise.
45084 * configure.in: Likewise.
45085 * csu/Makefile: Likewise.
45086 * csu/version.c: Likewise.
45087 * debug/Makefile: Likewise.
45088 * dlfcn/Makefile: Likewise.
45089 * elf/Makefile: Likewise.
45090 * extra-lib.mk: Likewise.
45091 * iconv/Makefile: Likewise.
45092 * include/libc-symbols.h: Likewise.
45093 * include/shlib-compat.h: Likewise.
45094 * resolv/Makefile: Likewise.
45095 * resolv/res_libc.c: Likewise.
45096 * rt/Makefile: Likewise.
45097 * sysdeps/i386/asm-syntax.h: Likewise.
45098 * sysdeps/i386/sysdep.h: Likewise.
45099 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45100 * sysdeps/mach/sysdep.h: Likewise.
45101 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45102 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45103 * sysdeps/s390/asm-syntax.h: Likewise.
45104 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45105 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45106 * sysdeps/sh/sysdep.h: Likewise.
45107 * sysdeps/unix/sparc/sysdep.h: Likewise.
45108 * sysdeps/wordsize-32/divdi3.c: Likewise.
45109 * sysdeps/x86_64/sysdep.h: Likewise.
45110
00bbd29b
UD
45111 * argp/Versions: Remove _argp_unlock_xxx.
45112
45113 [BZ #13559]
45114 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45115 * abilist/libBrokenLocale.abilist: Likewise.
45116 * abilist/libanl.abilist: Likewise.
45117 * abilist/libc.abilist: Likewise.
45118 * abilist/libcrypt.abilist: Likewise.
45119 * abilist/libdl.abilist: Likewise.
45120 * abilist/libm.abilist: Likewise.
45121 * abilist/libnsl.abilist: Likewise.
45122 * abilist/libpthread.abilist: Likewise.
45123 * abilist/libresolv.abilist: Likewise.
45124 * abilist/librt.abilist: Likewise.
45125 * abilist/libthread_db.abilist: Likewise.
45126 * abilist/libutil.abilist: Likewise.
45127 * abilist/libnss_db.abilist: New file.
45128
45129 * scripts/abilist.awk: Add support for indirect functions.
45130
a2693a0e
UD
45131 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45132
3f05895f
UD
45133 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45134
ecb6fb48
UD
45135 * shlib-versions: Remove entries for ports architectures.
45136
664f8cb9
UD
45137 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45138 files in ports.
45139 * elf/stackguard-macros.h: Remove support for IA-64.
45140 * elf/tst-auditmod1.c: Likewise.
45141 * sysdeps/generic/ldsodefs.h: Likewise.
45142
7ae81d88
UD
45143 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45144 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45145 configure files.
45146
bdeba135
UD
45147 [BZ #13552]
45148 * configure.in: Remove --enable-omitfp support.
45149 * FAQ.in: Adjust.
45150 * config.make.in: Likewise.
45151 * Makeconfig: Likewise.
45152 * manual/install.texi: Likewise.
45153
d75a0a62
UD
45154 In case anyone cares, the IA-64 architecture could move to ports.
45155 * sysdeps/ia64/*: Removed.
45156 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45157 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45158
dcc9756b
UD
45159 [BZ #13555]
45160 * configure.in: Remove entries for unsupported architectures.
45161
d3761ebc 45162 [BZ #13533]
9954432e
UD
45163 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45164 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45165 routines.
45166 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45167 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45168 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45169 fall back to using wcrtomb.
45170 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45171 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45172 renaming.
45173 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45174 * wcsmbs/tst-c16c32-1.c: New file.
45175
45176 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45177 local variable.
45178
c3a87236
UD
45179 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45180
28926a1b
UD
45181 * elf/tst-unique3.cc: Add explicit declaration of gets.
45182 * elf/tst-unique3lib.cc: Likewise.
45183 * elf/tst-unique3lib2.cc: Likewise.
45184 * elf/tst-unique4.cc: Likewise.
45185
df78418a
UD
45186 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45187
8ecd6b2a
JM
451882012-01-06 Joseph Myers <joseph@codesourcery.com>
45189
45190 [BZ #13566]
45191 * assert/assert.h (static_assert): Don't define for C++.
45192 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45193 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45194
9f115170
UD
451952012-01-03 Ulrich Drepper <drepper@gmail.com>
45196
5e0d0300
UD
45197 * iconv/loop.c (single loop): Fix assertion in storing of
45198 remaining bytes.
45199
9f115170
UD
45200 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45201
81fb02b0
UD
452022012-01-01 Ulrich Drepper <drepper@gmail.com>
45203
45204 * posix/getconf.c: Update copyright year.
45205 * nss/getent.c: Likewise.
a316c1f6 45206 * nss/makedb.c: Likewise.
81fb02b0
UD
45207 * iconv/iconvconfig.c: Likewise.
45208 * iconv/iconv_prog.c: Likewise.
45209 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45210 * elf/pldd.c: Likewise.
45211 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45212 * catgets/gencat.c: Likewise.
45213 * csu/version.c: Likewise.
45214 * elf/ldd.bash.in: Likewise.
45215 * elf/sprof.c (print_version): Likewise.
45216 * locale/programs/locale.c: Likewise.
45217 * locale/programs/localedef.c: Likewise.
a316c1f6 45218 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45219 * nscd/nscd.c (print_version): Likewise.
45220 * debug/xtrace.sh: Likewise.
45221 * malloc/memusage.sh: Likewise.
45222 * malloc/mtrace.pl: Likewise.
45223 * debug/catchsegv.sh: Likewise.
45224
2ba92745
JJ
452252011-12-30 Jakub Jelinek <jakub@redhat.com>
45226
45227 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45228 pure attribute.
45229
dadebdae
UD
452302011-12-24 Ulrich Drepper <drepper@gmail.com>
45231
d3761ebc 45232 [BZ #13533]
db6af3eb
UD
45233 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45234 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45235 transformations.
45236 * iconv/gconv_int.h: Likewise.
45237 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45238 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45239 from libc for GLIBC_2.16.
45240 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45241 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45242 * wcsmbs/uchar.h: Really define mbstate_t.
45243 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45244 * wcsmbs/c16rtomb.c: New file.
45245 * wcsmbs/mbrtoc16.c: New file.
45246 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45247 for C/POSIX locale.
45248 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45249 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45250
dadebdae
UD
45251 * wcsmbs/wchar.h: Add missing __restrict.
45252
67371b56
UD
452532011-12-23 Ulrich Drepper <drepper@gmail.com>
45254
74033a25
UD
45255 [BZ #13532]
45256 * time/Makefile (routines): Add timespec_get.
45257 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45258 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45259 timespec for ISO C11.
45260 * time/timespec_get.c: New file.
45261 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45262 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45263
380d7e87
UD
45264 [BZ #13531]
45265 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45266 * stdlib/stdlib.h: Declare aligned_alloc.
45267 * Versions.def: Add GLIBC_2.16 for libc.
45268 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45269
4e9e7a35
UD
45270 [BZ 13527]
45271 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45272 ISO C11.
45273
380d7e87 45274 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45275 code.
45276
03a71829
UD
45277 [BZ #13528]
45278 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45279
839e283e
UD
45280 [BZ #13529]
45281 * assert/assert.h (static_assert): Define.
45282
ce5294e2 45283 * version.h: Update for 2.16 development version.
90fa7312 45284
8d44e150 45285 [BZ #13526]
d7809905
UD
45286 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45287 _ISOC11_SOURCE.
45288
c0da14cd
UD
45289 * version.h (RELEASE): Bump for 2.15 release.
45290 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45291
530a3249
MP
45292 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45293 Patch by Marek Polacek <mpolacek@redhat.com>.
45294
67371b56
UD
45295 * bits/byteswap.h: Protect long long constants with __extension__.
45296 * sysdeps/i386/bits/byteswap.h: Likewise.
45297 * sysdeps/ia64/bits/byteswap.h: Likewise.
45298 * sysdeps/s390/bits/byteswap.h: Likewise.
45299 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45300
15db4de1
LD
453012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45302
45303 [BZ #13540]
bbe315ea
LD
45304 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45305 destination buffer.
15db4de1
LD
45306 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45307
2b2596b1
MP
453082011-12-23 Marek Polacek <polacek@redhat.com>
45309
45310 * elf/dl-addr.c (determine_info): Add inline keyword.
45311 * elf/tst-auditmod4b.c (check_avx): Likewise.
45312 * elf/tst-auditmod6b.c (check_avx): Likewise.
45313 * elf/tst-auditmod6c.c (check_avx): Likewise.
45314 * elf/tst-auditmod7b.c (check_avx): Likewise.
45315
70c6c246
UD
453162011-12-23 Ulrich Drepper <drepper@gmail.com>
45317
45318 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45319 !__SSE_MATH__.
45320
c044cf14
LD
453212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45322
15db4de1 45323 [BZ #13540]
c044cf14
LD
45324 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45325 processing for last bytes.
45326
6b13d9d9
BH
453272011-08-06 Bruno Haible <bruno@clisp.org>
45328
d455f537
BH
45329 [BZ #13061]
45330 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45331 U+0385, not to U+1FEE.
45332
6b13d9d9
BH
45333 [BZ #13062]
45334 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45335 entry for U+00A5 U+0301.
45336
db910efd
UD
453372011-12-22 Ulrich Drepper <drepper@gmail.com>
45338
27deeafc
UD
45339 [BZ #13166]
45340 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45341 buffer for the output is too small.
45342
aed9d171
UD
45343 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45344 optimization.
45345
db910efd
UD
45346 [BZ #13185]
45347 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45348 SSE flags if possible.
45349
2bd779ae
LD
453502011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45351
e7f9dac3 45352 [BZ #13540]
2bd779ae
LD
45353 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45354 processing for last bytes.
45355
154bfc16
JM
453562011-12-22 Joseph Myers <joseph@codesourcery.com>
45357
45358 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45359 (syscall-list-default-options, syscall-list-default-condition)
45360 (syscall-list-includes): Define.
45361 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45362 list of ABIs and options and #if conditions for each ABI. Do not
45363 handle common syscalls between ABIs specially.
45364 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45365 Remove.
45366 (syscall-list-variants, syscall-list-32bit-options)
45367 (syscall-list-32bit-condition, syscall-list-64bit-options)
45368 (syscall-list-64bit-condition): Define.
45369 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45370 (syscall-list-variants, syscall-list-32bit-options)
45371 (syscall-list-32bit-condition, syscall-list-64bit-options)
45372 (syscall-list-64bit-condition): Define.
45373 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45374 Remove.
45375 (syscall-list-variants, syscall-list-32bit-options)
45376 (syscall-list-32bit-condition, syscall-list-64bit-options)
45377 (syscall-list-64bit-condition): Define.
45378 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45379 Remove.
45380 (syscall-list-variants, syscall-list-32bit-options)
45381 (syscall-list-32bit-condition, syscall-list-64bit-options)
45382 (syscall-list-64bit-condition): Define.
45383
21eaf3a5
UD
453842011-12-22 Ulrich Drepper <drepper@gmail.com>
45385
16c6f992
UD
45386 * locale/iso-639.def: Add brx entry.
45387
41043168
UD
45388 [BZ #13328]
45389 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45390 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45391
21eaf3a5
UD
45392 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45393 __feraiseexcept_renamed.
45394
e3a851a2
UD
453952011-12-21 Ulrich Drepper <drepper@gmail.com>
45396
4920765e
UD
45397 [BZ #13538]
45398 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45399 EPOLLET with unsigned values.
45400 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45401 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45402
e3a851a2
UD
45403 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45404 to large cancellation.
45405 * math/s_cacoshf.c: Likewise.
45406 * math/s_cacoshl.c: Likewise.
45407
b27e24b8
RK
454082011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45409
45410 [BZ #13305]
aebefeee 45411 [BZ #12786]
b27e24b8
RK
45412 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45413 * math/s_cacoshf.c: Likewise.
45414 * math/s_cacoshl.c: Likewise.
45415
ee190f67
UD
454162011-12-21 Ulrich Drepper <drepper@gmail.com>
45417
45418 [BZ #13439]
45419 * iconv/gconv.h: Define __GCONV_SWAP.
45420 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45421 * iconvdata/utf-16.c: Likewise.
45422 * iconvdata/utf-32.c: Likewise.
45423
707f25df
AS
454242011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45425
45426 [BZ #13524]
45427 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45428 numerator after shifting it by one limb.
45429
d2daaa1e
RÁE
454302011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45431
45432 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45433 under [__USE_EXTERN_INLINES].
45434
a4647e72
UD
454352011-12-17 Ulrich Drepper <drepper@gmail.com>
45436
45437 [BZ #13446]
45438 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45439
f0b264f1
AZ
454402011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45441
45442 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45443 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45444 optimized code.
45445 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45447 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45448 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45449 for strncasecmp/strncasecmp_l compilation.
45450 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45451 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45452
8ef4f244
MP
454532011-12-08 Marek Polacek <mpolacek@redhat.com>
45454
45455 [BZ #13484]
45456 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45457 of __asm__.
45458
97ac2654
UD
454592011-12-17 Ulrich Drepper <drepper@gmail.com>
45460
45461 [BZ #13506]
45462 * time/tzfile.c (__tzfile_read): Check values from file header.
45463
91d2a845
WS
454642011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45465
45466 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45467 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45468 * powerpc/powerpc32/dl-start.S: Likewise.
45469 * powerpc/powerpc32/elf/start.S: Likewise.
45470 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45471 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45472 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45473 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45474 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45475 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45476 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45477 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45478 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45479 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45480 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45481 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45482 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45483 * powerpc/powerpc32/memset.S: Likewise.
45484 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45485 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45486 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45487 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45488 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45489 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45490 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45491 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45492 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45493 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45494 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45495 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45496 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45497
a1267ba1
AZ
454982011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45499
45500 * math/libm-test.inc: Added more nearbyint tests.
45501 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45502 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45503 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45504 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45505
ad8ac1bd
RL
455062011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45507
45508 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45509 FD_CLOEXEC.
45510
1d3e4b61
UD
455112011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45512
45513 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45514 Add wcscpy-ssse3 wcscpy-c.
45515 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45516 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45517 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45518 * sysdeps/x86_64/wcschr.S: New file.
45519 * sysdeps/x86_64/wcsrchr.S: New file.
45520 * string/test-strcmp.c: Remove checking of wcscmp function for
45521 wrong alignments.
45522 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45523 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45524 wcsrchr-sse2 wcsrchr-c.
45525 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45526 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45527 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45528 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45529 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45530 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45531 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45532 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45533 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45534 * wcsmbc/wcschr.c (WCSCHR): New macro.
45535
5b330a2d
UD
455362011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45537
45538 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45539 * wcsmbs/test-wcsrchr.c: New file.
45540 * string/test-strrchr.c: Add wcsrchr support.
45541 (WIDE): New macro.
45542 * wcsmbs/test-wcscpy.c: New file.
45543 * string/test-strcpy.c: Add wcscpy support.
45544 (WIDE): New macro.
26428b7c 45545
f039c043
UD
455462011-12-10 Ulrich Drepper <drepper@gmail.com>
45547
45548 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45549 the inner loop.
45550
850fb039
AS
455512011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45552
45553 [BZ #13472]
45554 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45555
4efbd5cb
UD
455562011-12-04 Ulrich Drepper <drepper@gmail.com>
45557
52ff5dd0 45558 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45559 Minor optimizations.
52ff5dd0 45560
4efbd5cb
UD
45561 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45562 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45563 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45564
8a426e12
UD
455652011-12-03 Ulrich Drepper <drepper@gmail.com>
45566
aff2453d
UD
45567 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45568 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45569 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45570 for gcc to avoid warnings.
45571 * inet/Makefile (tests): Add tst-checks.
45572 * inet/tst-checks.c: New file.
45573
45574 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45575 warning.
45576
45577 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45578 __wmemcmp_sse2.
45579
45580 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45581 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45582
8a426e12
UD
45583 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45584
9bea3473
UD
455852011-12-02 Ulrich Drepper <drepper@gmail.com>
45586
3a965496
UD
45587 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45588 problem.
45589
9bea3473
UD
45590 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45591
f101631b
UD
455922011-11-29 Joseph Myers <joseph@codesourcery.com>
45593
45594 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45595 conditional on GCC version.
45596 (__arch_compare_and_exchange_val_8_acq)
45597 (__arch_compare_and_exchange_val_16_acq)
45598 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45599 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45600 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45601
a98275aa
UD
456022011-12-02 Joseph Myers <joseph@codesourcery.com>
45603
45604 * sysdeps/sh/backtrace.c: New file.
45605
d4cc29a2
AS
456062011-12-02 Andreas Schwab <schwab@redhat.com>
45607
45608 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45609 parenthesis.
45610
6257af2d
AS
456112011-12-01 Andreas Schwab <schwab@redhat.com>
45612
45613 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45614 falling back to utime.
45615
b5f44c1a
AS
456162011-11-30 Andreas Schwab <schwab@redhat.com>
45617
45618 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45619 expectations for float.
45620
f3a6cc0a
AS
456212011-11-29 Andreas Schwab <schwab@redhat.com>
45622
45623 * locale/weight.h (findidx): Add parameter len.
45624 * locale/weightwc.h (findidx): Likewise.
45625 * posix/fnmatch_loop.c (FCT): Adjust caller.
45626 * posix/regcomp.c (build_equiv_class): Likewise.
45627 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45628 * posix/regexec.c (check_node_accept_bytes): Likewise.
45629 * string/strcoll_l.c (STRCOLL): Likewise.
45630 * string/strxfrm_l.c (STRXFRM): Likewise.
45631
9d65ea3a
UD
456322011-11-17 Ulrich Drepper <drepper@gmail.com>
45633
45634 * Makefile.in: Remove CVSOPT handling.
45635 * configure.in: Remove use of AC_REVISION.
45636 * iconvdata/Makefile (distribute): No need to filter out CVS.
45637 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45638 handling.
45639
5583a086
AS
456402011-11-16 Andreas Schwab <schwab@redhat.com>
45641
45642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45643 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45644 [USE_AS_STRNCASECMP_L]: Likewise.
45645 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45646 NO_TLS_DIRECT_SEG_REFS.
45647 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45648 Fix argument offsets for non-PIC.
45649 [USE_AS_STRNCASECMP_L]: Likewise.
45650 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45651 NO_TLS_DIRECT_SEG_REFS.
45652
d62a8200
UD
456532011-11-15 Ulrich Drepper <drepper@gmail.com>
45654
9d65ea3a 45655 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45656 O_CLOEXEC.
45657 * locale/loadlocale.c (_nl_load_locale): Likewise.
45658
09f93bd3
AS
456592011-11-15 Andreas Schwab <schwab@redhat.com>
45660
446514f9
AS
45661 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45662 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45663 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45664 (SYSCALL_GETTIME): Set errno on error.
45665
09f93bd3
AS
45666 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45667 count references to noai6ai_cached.
45668
312be3f9
UD
456692011-11-15 Ulrich Drepper <drepper@gmail.com>
45670
45671 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45672
45673 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45674 FD_CLOEXEC for /proc/self/maps.
45675
45676 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45677 FD_CLOEXEC for /proc/meminfo.
45678
45679 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45680 gai.conf.
45681
45682 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45683 FD_CLOEXEC for given file.
45684
45685 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45686
45687 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45688 FD_CLOEXEC for /etc/hosts.
45689 (_gethtent): Likewise.
45690
45691 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45692
45693 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45694 cancellation and set FD_CLOEXEC for /etc/netgroup.
45695
45696 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45697 reading /etc/publickey.
45698
45699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45700 allow cancellation when reading /etc/group.
45701
45702 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45703 cancellation.
45704 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45705
45706 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45707 when using data file.
45708
45709 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45710
45711 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45712 (write_nis_obj): Use "c" and "e" in fopen.
45713
45714 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45715
45716 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45717
45718 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45719
45720 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45721
45722 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45723 locale.alias.
45724
45725 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45726
45727 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45728
45729 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45730
45731 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45732 file parsing and set FD_CLOEXEC.
45733
82af0fa8
UD
457342011-11-14 Ulrich Drepper <drepper@gmail.com>
45735
45736 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45737
a5fb313c
AS
457382011-11-14 Andreas Schwab <schwab@redhat.com>
45739
45740 * malloc/arena.c (arena_get2): Don't call reused_arena when
45741 _int_new_arena failed.
45742
6abf3465
UD
457432011-11-14 Ulrich Drepper <drepper@gmail.com>
45744
45745 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45746 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45747 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45748 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45749 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45750 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45751 to compile strcasecmp and strncasecmp.
45752 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45753 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45754
45755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45756
76e3966e
UD
457572011-11-13 Ulrich Drepper <drepper@gmail.com>
45758
45759 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45760 locale-defines.sym to gen-as-const-headers.
45761 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45762 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45764 to compile strcasecmp and strncasecmp.
45765 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45766 strcasecmp_l and strncasecmp_l.
45767 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45768 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45769 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45770 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45771 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45772 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45773 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45774 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45775 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45776 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45777 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45778
ab26144e
UD
457792011-11-12 Ulrich Drepper <drepper@gmail.com>
45780
7edb22ef
UD
45781 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45782 result of SYSDEP_GETTIME_CPU to retval.
45783 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45784 parameter list to macro. Remove trailing semicolon. Adjust users.
45785
9694fc44
UD
45786 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45787 variable.
45788
8ad89ef8
UD
45789 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45790 mantissa words.
45791 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45792
0c822ef9
UD
45793 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45794 from unused variable.
45795
874e0564
UD
45796 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45797 DWARF definitions.
45798 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45799 for assembling.
45800
3a2edc79
UD
45801 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45802 over namespaces.
45803
f3c2577f
UD
45804 * sunrpc/rpc_prot.c (rejected): Fix case value.
45805
294ce126
UD
45806 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45807 unsigned long long int to avoid warnings in shift.
45808
5e2b63c6
UD
45809 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45810 of use of trans.
45811 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45812 variable tmp.
45813
e7f4b08e
UD
45814 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45815 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45816 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45817
ab26144e
UD
45818 * nis/nis_table.c (nis_list): Use variable of correct type for
45819 result of __follow_path call.
45820
8a6d5255
AZ
458212011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45822
45823 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45824 of math functions ceil, trunc, floor, round, and sqrt, when
45825 avaliable on the platform.
45826 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45827 name clash.
45828 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45829 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45830 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45831
aaddc98c
MP
458322011-10-30 Marek Polacek <mpolacek@redhat.com>
45833
45834 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45835 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45836
95b7042b
RM
458372011-11-11 Roland McGrath <roland@hack.frob.com>
45838
45839 * include/unistd.h: Fix __readlink return type.
45840 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45841
57769839
UD
458422011-11-11 Ulrich Drepper <drepper@gmail.com>
45843
45844 * stdlib/ucontext.h: Undo last change for makecontext.
45845
edc5984d
AS
458462011-11-11 Andreas Schwab <schwab@redhat.com>
45847
98591e58
AS
45848 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45849
edc5984d
AS
45850 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45851 * setjmp/setjmp.h: Mark functions as non-leaf.
45852 * setjmp/bits/setjmp2.h: Likewise.
45853 * stdlib/ucontext.h: Likewise.
45854
77cdc054
AS
458552011-11-10 Andreas Schwab <schwab@redhat.com>
45856
45857 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45858 (reused_arena): Don't check arena limit.
45859 (arena_get2): Atomically check arena limit.
45860
fe72eebd
UD
458612011-11-08 Ulrich Drepper <drepper@gmail.com>
45862
5f078c32
UD
45863 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45864 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45865
fe72eebd
UD
45866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45867 instructions.
45868
ae1bc2fa
AS
458692011-11-07 Andreas Schwab <schwab@redhat.com>
45870
7583a88d
AS
45871 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45872 handler when locking.
45873
ae1bc2fa
AS
45874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45875 Fix size of allocated buffer.
45876
10fb0bfa
AS
458772011-11-04 Andreas Schwab <schwab@redhat.com>
45878
998832a4
AS
45879 [BZ #10103]
45880 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45881 declarations for long double functions.
45882 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45883
10fb0bfa
AS
45884 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45885
3d7ba52b
AS
458862011-11-03 Andreas Schwab <schwab@redhat.com>
45887
a9ae54a1
AS
45888 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45889 installed.
45890
3d7ba52b
AS
45891 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45892 is disabled.
45893
bc8db248
ST
458942011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45895
45896 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45897
45b96dd6
AS
458982011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45899
647776f6
AS
45900 * include/alloca.h (stackinfo_alloca_round): Define.
45901 (extend_alloca): Use it.
45902 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45903 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45904 here.
45905
d91a8b93
AS
45906 * scripts/check-local-headers.sh: Ignore libaudit.h.
45907
45b96dd6
AS
45908 * nscd/Makefile (extra-objs): Make recursively expanded.
45909
432d41ce
UD
459102011-11-01 Ulrich Drepper <drepper@gmail.com>
45911
34372fc6
UD
45912 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45913 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45914
fadb59f8
UD
45915 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45916 * posix/tst-rfc3484-2.c: Likewise.
45917 * posix/tst-rfc3484-3.c: Likewise.
45918
78239589
UD
45919 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45920 process_vm_writev.
45921 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45922 process_vm_writev.
45923 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45924 process_vm_writev from libc using GLIBC_2.15 version.
45925
432d41ce
UD
45926 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45927
02f9c6cf
PP
459282011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45929
45930 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45931 stack usage.
45932
3a2c0242
UD
459332011-10-31 Ulrich Drepper <drepper@gmail.com>
45934
f4ec4833
UD
45935 [BZ #13367]
45936 * nss/getent.c (initgroups_keys): Show error message in case no group
45937 names are given.
45938
3a2c0242
UD
45939 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45940 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45941 __bump_nl_timestamp.
45942 * nscd/connections (nscd_init): When host database is served open
45943 netlink socket and request notification about configuration changes.
45944 (main_loop_poll): Track netlink file descriptor and bump timestamp
45945 in case data becomes available.
45946 (main_loop_epoll): Likewise.
45947 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45948 (database_pers_head): Add extra_data fileds.
45949 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45950 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45951 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45952 Adjust caller.
45953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45954 in6ai data, call __free_in6ai.
45955 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45956 Add -DHAVE_NETLINK.
45957 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45958 interface information. Reuse previous data if netlink timestamp
45959 is not changed.
45960 (__bump_nl_timestamp): New function.
45961 (__free_in6ai): New function.
45962
636064eb
UD
459632011-10-30 Ulrich Drepper <drepper@gmail.com>
45964
45965 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45966 close_not_cancel_no_status here.
45967 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45968
9beb2334
UD
459692011-10-29 Ulrich Drepper <drepper@gmail.com>
45970
6ef76f3b
UD
45971 [BZ #13276]
45972 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45973 return value.
45974
0ffc4f3e 45975 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45976 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45977 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45978
cb95113e
UD
459792011-07-03 Andreas Jaeger <aj@suse.de>
45980
45981 [BZ #10709]
45982 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45983 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45984 * math/libm-test.inc (sin_test): Add test case.
45985
a1b560ff
UD
459862011-10-29 Ulrich Drepper <drepper@gmail.com>
45987
c9aaface
UD
45988 [BZ #13337]
45989 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45990 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45991
d272e7f1
UD
45992 * elf/chroot_canon.c (chroot_canon): Cleanups.
45993
1bc33071
UD
45994 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45995
1760874d
TJ
45996 [BZ #13335]
45997 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45998 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45999
51d91b18
UD
46000 * string/test-strchr.c: Make usable for strchrnul testing.
46001 * string/test-strchrnul.c: New file.
46002 * string/Makefile (strop-tests): Add strchrnul.
46003
a1b560ff 46004 * po/it.po: Update from translation team.
b611fb81 46005 * po/es.po: Likewise.
a1b560ff 46006
a5b81e1f
UD
460072011-10-28 Ulrich Drepper <drepper@gmail.com>
46008
fd52bc6d
UD
46009 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46010 the three constants needed as parameters. Drop the others.
46011 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46012 __m128i_strloadu_tolower.
52e4b9eb
UD
46013 Create and initialize variable zero and use it in all the places
46014 where _mm_setzero_si128 was used.
fd52bc6d 46015
a5b81e1f
UD
46016 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46017 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46018 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46019 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46020 anymore.
46021 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46022 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46023 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46024 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46025 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46026 __mpranred, __mptan.
46027 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46028 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46029 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46030 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46031 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46032 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46033 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46034 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46035 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46036
b4343346
AS
460372011-10-28 Andreas Schwab <schwab@redhat.com>
46038
0c92d8a8
AS
46039 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46040 redefine if SHARED.
46041 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46042
b4343346
AS
46043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46044 wide char related routines to wcsmbs subdir.
46045
3871f58f
AS
460462011-10-27 Andreas Schwab <schwab@redhat.com>
46047
46048 [BZ #13344]
46049 * misc/sys/cdefs.h (__THROWNL): Define.
46050 * posix/unistd.h: Use __THREADNL instead of __THREAD
46051 for memory synchronization functions.
46052
94d44d9f
RM
460532011-10-26 Roland McGrath <roland@hack.frob.com>
46054
21b64b15 46055 [BZ #13349]
94d44d9f
RM
46056 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46057 doesn't exist.
46058 * manual/stdio.texi (Obstack Streams): Node removed.
46059
f6ce9294
AS
460602011-10-26 Andreas Schwab <schwab@redhat.com>
46061
80479147
AS
46062 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46063 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46064 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46065
f6ce9294
AS
46066 * math/math_private.h (math_force_eval): Allow non-addressable
46067 arguments.
46068 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46069
618280a1
UD
460702011-10-25 Ulrich Drepper <drepper@gmail.com>
46071
e0016b11
UD
46072 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46073 file is not needed.
46074
46075 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46076 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46082 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46083 Add AVX variants.
46084 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46085 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46086 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46087 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46088 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46089 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46090 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46091 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46092 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46093 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46094 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46095 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46096 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46097 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46098 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46099 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46100 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46101 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46102 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46103
46104 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46105 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46106
618280a1
UD
46107 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46108 place. Use VEX encoding when compiling for AVX.
46109
37822576
AS
461102011-10-25 Andreas Schwab <schwab@redhat.com>
46111
1f1e1947
AS
46112 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46113 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46114
37822576
AS
46115 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46116
31ea014d
UD
461172011-10-25 Ulrich Drepper <drepper@gmail.com>
46118
d7826aa1 46119 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46120 useless if() expression.
d7826aa1
UD
46121 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46122 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46123 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46125 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46126 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46127 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46128 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46129 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46130 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46131 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46132 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46133 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46134 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46135 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46136 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46138 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46139 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46140
31ea014d
UD
46141 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46142
16437fec
AS
461432011-10-25 Andreas Schwab <schwab@redhat.com>
46144
46145 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46146 condition.
46147 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46148
31d3cc00
UD
461492011-10-25 Ulrich Drepper <drepper@gmail.com>
46150
46151 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46152 .text section. Avoid duplicate constants.
46153 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46155 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46157 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46161 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46162 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46163 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46164 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46165 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46166 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46167 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46168 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46169 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46170 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46171 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46173 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46174 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46175 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46176 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46177 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46178 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46179 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46180 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46181 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46182 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46183 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46184 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46185 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46186 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46187 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46188 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46189 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46190 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46191 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46192 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46193 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46194 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46195 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46196 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46197 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46198
58985aa9
UD
461992011-10-24 Ulrich Drepper <drepper@gmail.com>
46200
202c9deb
UD
46201 * sysdeps/x86_64/dla.h: Move to ...
46202 * sysdeps/x86_64/fpu/dla.h: ...here.
46203 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46204 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46205
af968f62
UD
46206 * config.make.in: Add have-mfma4 entry.
46207 * configure.in: Substitute libc_cv_cc_fma4.
46208 * math/Makefile (dbl-only-routines): Add sincostab.
46209 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46210 Use __sincostab not sincos.
46211 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46212 name is a macro.
46213 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46214 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46215 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46217 using __copysign.
46218 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46219 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46220 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46221 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46222 and __inv.
46223 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46224 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46225 __copysign.
46226 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46227 define aliases when function name is a macro.
46228 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46229 sysdeps/ieee754/dbl-64/sincos.tbl.
46230 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46231 fma4-enabled routines.
46232 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46233 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46234 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46235 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46236 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46237 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46238 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46239 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46240 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46241 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46242 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46243 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46244 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46245 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46246 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46247 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46248 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46249 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46250 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46252 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46253 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46255 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46256 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46257 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46258 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46259 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46260 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46261 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46262
58985aa9
UD
46263 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46264 rename.
46265 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46269 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46271 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46272 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46273
a201fbcf
AS
462742011-10-24 Andreas Schwab <schwab@redhat.com>
46275
46276 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46277
fc2ee42a
LD
462782011-10-23 Ulrich Drepper <drepper@gmail.com>
46279
bb3129bd
UD
46280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46281
0275fff8
UD
46282 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46283 prediction.
46284 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46285
2fa2ae85
UD
46286 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46287 Remove unused variable magic_bits.
46288 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46289
fc2ee42a
LD
46290 * string/strnlen.c: Define and use STRNLEN macro.
46291 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46292 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46293 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46294 * wcsmbs/wcslen.c: Define and use WCSLEN.
46295 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46296 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46297 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46298 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46299 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46300 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46301 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46302
ce7dd29f
LD
463032011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46304
46305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46306 strnlen-sse2-no-bsf.
46307 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46309 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46310 Add strnlen support.
46311 (USE_AS_STRNLEN): New macro.
46312 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46313 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46314 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46315 * sysdeps/x86_64/wcslen.S: New file.
46316
979c70a3
MZ
463172011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46318
46319 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46320 XMM-moves are used for copying on small sizes.
46321
2d09f82f
LD
463222011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46323
46324 * wcsmbs/Makefile (strop-tests): Add wcschr.
46325 * wcsmbs/test-wcschr.c: New file.
46326 * string/test-strchr.c: Update.
46327 Add wcschr support.
46328 (WIDE): New macro.
46329
619fccca
LD
463302011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46331
2d09f82f 46332 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46333 * wcsmbs/test-wcslen.c: New file.
46334 * string/test-strlen.c: Update.
46335 Add wcslen support.
46336 (WIDE): New macro.
46337
09f699ea
UD
463382011-10-23 Ulrich Drepper <drepper@gmail.com>
46339
46340 * po/it.po: Update from translation team.
46341
95584d3b
LD
463422011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46343
46344 * sysdeps/x86_64/wcscmp.S: Update.
46345 Fix wrong comparison semantics.
46346 wcscmp shall use signed comparison not unsigned.
46347 Don't use substraction to avoid overflow bug.
46348 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46349 * wcsmbc/wcscmp.c: Likewise.
46350 * string/test-strcmp.c: Likewise.
46351 Add new tests to check cases with negative values.
46352
c8b3296b
UD
463532011-10-23 Ulrich Drepper <drepper@gmail.com>
46354
46355 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46356 * sysdeps/x86_64/dla.h: ...here. New file.
46357 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46362 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46366
246ad57a
AS
463672011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46368
46369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46370 __ynl_finite aliases.
46371
a1a87169
UD
463722011-10-22 Ulrich Drepper <drepper@gmail.com>
46373
0d355eb7
UD
46374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46375
a1a87169
UD
46376 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46377 define DLA_FMA.
46378 [DLA_FMA] (EMULV): Use DLA_FMA.
46379 [DLA_FMA] (MUL12): Use EMULV.
46380 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46381 that are not needed.
46382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46388 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46389
ee2aafe0
AS
463902011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46391
46392 * math/s_nan.c: Undef __nan.
46393 * math/s_nanf.c: Undef __nanf.
46394 * math/s_nanl.c: Undef __nanl.
46395 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46396 "math_private.h".
46397
bc62c2fb
UD
463982011-10-22 Ulrich Drepper <drepper@gmail.com>
46399
77425c63
UD
46400 * math/s_catan.c: Add branch predictions.
46401 * math/s_catanf.c: Likewise.
46402 * math/s_catanh.c: Likewise.
46403 * math/s_catanhf.c: Likewise.
46404 * math/s_catanhl.c: Likewise.
46405 * math/s_catanl.c: Likewise.
46406 * math/s_cexp.c: Likewise.
46407 * math/s_cexpf.c: Likewise.
46408 * math/s_cexpl.c: Likewise.
46409 * math/s_clog.c: Likewise.
46410 * math/s_clog10.c: Likewise.
46411 * math/s_clog10f.c: Likewise.
46412 * math/s_clog10l.c: Likewise.
46413 * math/s_clogf.c: Likewise.
46414 * math/s_clogl.c: Likewise.
46415 * math/s_csqrt.c: Likewise.
46416 * math/s_csqrtf.c: Likewise.
46417 * math/s_csqrtl.c: Likewise.
46418 * math/s_ctanf.c: Likewise.
46419 * math/s_ctanh.c: Likewise.
46420 * math/s_ctanhf.c: Likewise.
46421 * math/s_ctanhl.c: Likewise.
46422 * math/s_ctanl.c: Likewise.
46423
bc62c2fb
UD
46424 * math/math_private.h: Define __nan, __nanf, __nanl.
46425 * math/s_cacosh.c: Include <math_private.h>.
46426 * math/s_cacoshl.c: Likewise.
46427 * math/s_casinh.c: Likewise.
46428 * math/s_casinhf.c: Likewise.
46429 * math/s_casinhl.c: Likewise.
46430 * math/s_ccos.c: Rely entire on ccosh.
46431 * math/s_ccosf.c: Rely entire on ccoshf.
46432 * math/s_ccosl.c: Rely entirely on ccoshl.
46433 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46434 Remove tests for FE_INVALID.
46435 * math/s_ccoshf.c: Likewise.
46436 * math/s_ccoshl.c: Likewise.
46437 * math/s_csin.c: Likewise.
46438 * math/s_csinf.c: Likewise.
46439 * math/s_csinh.c Likewise.
46440 * math/s_csinhf.c: Likewise.
46441 * math/s_csinhl.c: Likewise.
46442 * math/s_csinl.c: Likewise.
46443 * math/s_ctan.c: Likewise.
46444 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46445 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46446 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46447
8ec250a4
UD
464482011-10-21 Ulrich Drepper <drepper@gmail.com>
46449
c196fed8
UD
46450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46451 compilation problems.
46452
8ec250a4
UD
46453 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46454 __builtin_expect.
46455
8d4f46c6
UD
464562011-10-20 Ulrich Drepper <drepper@gmail.com>
46457
ed72b654
UD
46458 * sysdeps/i386/configure.in: Test for -mfma4 option.
46459 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46460 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46461 COMMON_CPUID_INDEX_80000001.
46462 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46463 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46464 use it if FMA3 is not supported.
46465 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46466
8d4f46c6
UD
46467 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46468 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46469
d45c60c2
AS
464702011-10-20 Andreas Schwab <schwab@redhat.com>
46471
46472 [BZ #12892]
46473 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46474 it would create a cycle with a link time dependency.
46475
d9a4d2ab
UD
464762011-10-19 Ulrich Drepper <drepper@gmail.com>
46477
855d1560
UD
46478 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46479 instruction.
46480 * string/Makefile (strop-tests): Add rawmemchr.
46481 * string/test-rawmemchr.c: New file.
46482
d9a4d2ab
UD
46483 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46484 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46485 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46486 when compiling str{,n}casecmp and when AVX is available. Hook up
46487 new optimized code in initializers.
46488
8f3b1ffe
AS
464892011-10-19 Andreas Schwab <schwab@redhat.com>
46490
46491 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46492 __feraiseexcept instead of feraiseexcept.
46493
d38f1dba
UD
464942011-10-18 Ulrich Drepper <drepper@gmail.com>
46495
d9a8d0ab
UD
46496 * math/math_private.h: Define defaults for libc_fetestexcept and
46497 libc_feupdateenv.
46498 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46499 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46500 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46501 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46502 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46503 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46504 libc_fetestexcept and libc_feupdateenv.
46505
4855e3dd
UD
46506 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46507 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46508 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46509 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46510 libc_feholdexcept_setround.
46511
581d30e3
UD
46512 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46513 Add s_nearbyint-c and s_nearbyintf-c.
46514 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46515 nearbyintf inlines.
46516 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46517 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46518 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46519 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46520
d38f1dba
UD
46521 * math/math_private.h: Define defaults for libc_fegetround,
46522 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46523 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46524 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46525 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46526 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46527 standard functions.
46528 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46529 Remove comments and hacks for old compiler versions.
46530 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46531 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46532 libc_feholdexceptl.
46533
caa6c9d8
AS
465342011-10-18 Andreas Schwab <schwab@redhat.com>
46535
46536 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46537 (__feraiseexcept_renamed): Add __NTH.
46538 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46539 namespace violations.
46540
97c066e6
UD
465412011-10-17 Ulrich Drepper <drepper@gmail.com>
46542
99ce7b04
UD
46543 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46544
1004d182
UD
46545 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46546
228a984d
UD
46547 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46548 recently added interfaces.
46549 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46550
c8553a6a
UD
46551 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46552 about macro parameter expansion.
46553
ed22dcf6
UD
46554 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46555 __NO_MATH_INLINES is defined. Cleanups.
46556
46557 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46558 and __floorf is target has SSE4.1.
46559 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46560 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46561 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46562 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46563
b171c137
UD
46564 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46565 name.
46566 (floorf): Likewise.
46567
97c066e6
UD
46568 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46569
629f62ef
AS
465702011-10-17 Andreas Schwab <schwab@redhat.com>
46571
49a43d80
AS
46572 * misc/sys/cdefs.h: Fix last change.
46573
629f62ef
AS
46574 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46575 database lookup.
46576
e453f6cd
UD
465772011-10-16 Ulrich Drepper <drepper@gmail.com>
46578
aa78043a
UD
46579 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46580
ad0f5cad
UD
46581 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46583 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46586 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46587 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46588 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46589 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46590 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46591 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46592 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46593 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46594 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46595 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46596 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46597 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46598 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46599 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46600 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46601 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46602 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46603
46604 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46605 ceil, ceilf, floor, floorf.
46606
46607 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46608 Perform IRELATIVE relocations last.
46609
e453f6cd
UD
46610 * elf/do-rel.h: Add another parameter nrelative, replacing the
46611 local variable with the same name. Change name of the function
46612 to end in Rel or Rela (uppercase).
46613 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46614 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46615 elf_dynamic_do_##reloc function.
46616
fd5bdc09
UD
466172011-10-15 Ulrich Drepper <drepper@gmail.com>
46618
79b195b5
UD
46619 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46620 is sufficient, at least on modern CPUs.
46621
d4a28569
UD
46622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46623
b61099b5
UD
46624 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46625 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46626
bcf01e6d
UD
46627 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46628 __expl_finite.
46629 * math/bits/math-finite.h: Add entries for exp.
46630 * math/e_expl.c: Add __*_finite alias.
46631 * sysdeps/i386/fpu/e_exp.S: Likewise.
46632 * sysdeps/i386/fpu/e_expf.S: Likewise.
46633 * sysdeps/i386/fpu/e_expl.c: Likewise.
46634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46635 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46636 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46638 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46639 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46640 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46641
ba1a0d59
UD
46642 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46643 is sufficient, at least on modern CPUs.
46644
fd5bdc09
UD
46645 * ctype/ctype-info.c (__ctype_init): Define.
46646 * include/ctype.h (__ctype_init): Declare.
46647 (__ctype_b_loc): The variable is always initialized.
46648 (__ctype_toupper_loc): Likewise.
46649 (__ctype_tolower_loc): Likewise.
46650 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46651 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46652
7872cfb0
AS
466532011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46654
b468825a
AS
46655 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46656
7872cfb0
AS
46657 * configure.in: Also look in $cxxmachine/include for C++ system
46658 headers.
46659
be13f7bf
LD
466602011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46661
46662 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46663 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46664 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46665 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46666 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46667 (USE_AS_WMEMCMP): New macro.
46668 Fixing indents.
46669 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46670 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46671 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46672 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46674 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46675 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46676 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46677 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46678 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46679 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46680 (USE_AS_WMEMCMP): New macro.
46681 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46682 * sysdeps/string/test-memcmp.c: Update.
46683 Fix simple_wmemcmp.
46684 Add new tests.
46685 * wcsmbs/wmemcmp.c: Update.
46686 (WMEMCMP): New macro.
46687 Fix overflow bug.
46688
556a2007
AJ
466892011-10-12 Andreas Jaeger <aj@suse.de>
46690
46691 [BZ #13268]
46692 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46693
538faaa7
UD
466942011-10-15 Ulrich Drepper <drepper@gmail.com>
46695
ab6737ff
UD
46696 * libio/iofwide.c (do_length): Avoid warning.
46697
538faaa7
UD
46698 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46699
396a21b1
UD
467002011-10-14 Ulrich Drepper <drepper@gmail.com>
46701
cdf2901f
UD
46702 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46703
38ad40ce
UD
46704 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46705 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46706 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46707 * sysdeps/i386/i686/fpu/e_log.S: New file.
46708 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46709 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46710
396a21b1
UD
46711 * ctype/ctype.h: Add support for inlined isXXX functions when
46712 compiling C++ code.
46713
6b1f68c9
AS
467142011-10-14 Andreas Schwab <schwab@redhat.com>
46715
349290c0
AS
46716 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46717
6b1f68c9
AS
46718 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46719
f2282d42
RM
467202011-10-13 Roland McGrath <roland@hack.frob.com>
46721
46722 [BZ #13291]
46723 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46724
5298ffa8
AS
467252011-10-13 Andreas Schwab <schwab@redhat.com>
46726
714fad23
AS
46727 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46728 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46729 feraiseexcept.
46730
81dcc7fb
AS
46731 * sysdeps/x86_64/memrchr.S: Check for zero size.
46732
5298ffa8
AS
46733 * string/stratcliff.c: Add memrchr tests.
46734
951fbcec
LD
467352011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46736
46737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46738 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46739 rawmemchr-sse2 rawmemchr-sse2-bsf.
46740 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46741 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46742 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46743 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46744 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46745 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46746 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46747 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46748 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46749 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46750 * string/memrchr.c (MEMRCHR): New macro.
46751
0ac5ae23
UD
467522011-10-12 Ulrich Drepper <drepper@gmail.com>
46753
46754 Add integration with gcc's -ffinite-math-only and optimize wrapper
46755 functions in libm.
46756 * Versions.def: Define GLIBC_2.15 version for libm.
46757 * math/Makefile (headers): Add bits/math-finite.h.
46758 * math/bits/math-finite.h: New file.
46759 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46760 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46761 * math/e_acoshl.c: Add __*_finite alias.
46762 * math/e_acosl.c: Likewise.
46763 * math/e_asinl.c: Likewise.
46764 * math/e_atan2l.c: Likewise.
46765 * math/e_atanhl.c: Likewise.
46766 * math/e_coshl.c: Likewise.
46767 * math/e_exp10.c: Likewise.
46768 * math/e_exp10f.c: Likewise.
46769 * math/e_exp10l.c: Likewise.
46770 * math/e_exp2l.c: Likewise.
46771 * math/e_fmodl.c: Likewise.
46772 * math/e_gammal_r.c: Likewise.
46773 * math/e_hypotl.c: Likewise.
46774 * math/e_j0l.c: Likewise.
46775 * math/e_j1l.c: Likewise.
46776 * math/e_jnl.c: Likewise.
46777 * math/e_lgammal_r.c: Likewise.
46778 * math/e_log10l.c: Likewise.
46779 * math/e_log2l.c: Likewise.
46780 * math/e_logl.c: Likewise.
46781 * math/e_powl.c: Likewise.
46782 * math/e_sinhl.c: Likewise.
46783 * math/e_sqrtl.c: Likewise.
46784 * math/e_scalb.c: Completely rewritten and optimized.
46785 * math/e_scalbf.c: Likewise.
46786 * math/e_scalbl.c: Likewise.
46787 * math/w_acos.c: Likewise.
46788 * math/w_acosf.c: Likewise.
46789 * math/w_acosl.c: Likewise.
46790 * math/w_acosh.c: Likewise.
46791 * math/w_acoshf.c: Likewise.
46792 * math/w_acoshl.c: Likewise.
46793 * math/w_asin.c: Likewise.
46794 * math/w_asinf.c: Likewise.
46795 * math/w_asinl.c: Likewise.
46796 * math/w_atan2.c: Likewise.
46797 * math/w_atan2f.c: Likewise.
46798 * math/w_atan2l.c: Likewise.
46799 * math/w_atanh.c: Likewise.
46800 * math/w_atanhf.c: Likewise.
46801 * math/w_atanhl.c: Likewise.
46802 * math/w_exp10.c: Likewise.
46803 * math/w_exp10f.c: Likewise.
46804 * math/w_exp10l.c: Likewise.
46805 * math/w_fmod.c: Likewise.
46806 * math/w_fmodf.c: Likewise.
46807 * math/w_fmodl.c: Likewise.
46808 * math/w_j0.c: Likewise.
46809 * math/w_j0f.c: Likewise.
46810 * math/w_j0l.c: Likewise.
46811 * math/w_j1.c: Likewise.
46812 * math/w_j1f.c: Likewise.
46813 * math/w_j1l.c: Likewise.
46814 * math/w_jn.c: Likewise.
46815 * math/w_jnf.c: Likewise.
46816 * math/w_log.c: Likewise.
46817 * math/w_logf.c: Likewise.
46818 * math/w_logl.c: Likewise.
46819 * math/w_log10.c: Likewise.
46820 * math/w_log10f.c: Likewise.
46821 * math/w_log10l.c: Likewise.
46822 * math/w_log2.c: Likewise.
46823 * math/w_log2f.c: Likewise.
46824 * math/w_log2l.c: Likewise.
46825 * math/w_pow.c: Likewise.
46826 * math/w_powf.c: Likewise.
46827 * math/w_powl.c: Likewise.
46828 * math/w_remainder.c: Likewise.
46829 * math/w_remainderf.c: Likewise.
46830 * math/w_remainderl.c: Likewise.
46831 * math/w_scalb.c: Likewise.
46832 * math/w_scalbf.c: Likewise.
46833 * math/w_scalbl.c: Likewise.
46834 * math/w_sqrt.c: Likewise.
46835 * math/w_sqrtf.c: Likewise.
46836 * math/w_sqrtl.c: Likewise.
46837 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46838 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46839 used.
46840 * math/math_private.h: Declare __kernel_standard_f.
46841 * math/w_cosh.c: Remove cruft and optimize a bit.
46842 * math/w_coshf.c: Likewise.
46843 * math/w_coshl.c: Likewise.
46844 * math/w_exp2.c: Likewise.
46845 * math/w_exp2f.c: Likewise.
46846 * math/w_exp2l.c: Likewise.
46847 * math/w_hypot.c: Likewise.
46848 * math/w_hypotf.c: Likewise.
46849 * math/w_hypotl.c: Likewise.
46850 * math/w_lgamma.c: Likewise.
46851 * math/w_lgamma_r.c: Likewise.
46852 * math/w_lgammaf.c: Likewise.
46853 * math/w_lgammaf_r.c: Likewise.
46854 * math/w_lgammal.c: Likewise.
46855 * math/w_lgammal_r.c: Likewise.
46856 * math/w_sinh.c: Likewise.
46857 * math/w_sinhf.c: Likewise.
46858 * math/w_sinhl.c: Likewise.
46859 * math/w_tgamma.c: Likewise.
46860 * math/w_tgammaf.c: Likewise.
46861 * math/w_tgammal.c: Likewise.
46862 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46863 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46864 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46865 Minor optimizations. Pretty printing. Remove cruft.
46866 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46867 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46868 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46869 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46870 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46871 * sysdeps/i386/fpu/e_asin.S: Likewise.
46872 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46873 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46874 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46875 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46876 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46877 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46878 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46879 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46880 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46881 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46882 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46883 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46884 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46885 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46886 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46887 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46888 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46889 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46890 * sysdeps/i386/fpu/e_log.S: Likewise.
46891 * sysdeps/i386/fpu/e_log10.S: Likewise.
46892 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46893 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46894 * sysdeps/i386/fpu/e_log2.S: Likewise.
46895 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46896 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46897 * sysdeps/i386/fpu/e_logf.S: Likewise.
46898 * sysdeps/i386/fpu/e_logl.S: Likewise.
46899 * sysdeps/i386/fpu/e_pow.S: Likewise.
46900 * sysdeps/i386/fpu/e_powf.S: Likewise.
46901 * sysdeps/i386/fpu/e_powl.S: Likewise.
46902 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46903 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46904 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46905 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46906 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46907 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46908 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46909 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46910 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46911 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46912 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46914 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46915 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46916 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46917 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46918 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46919 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46920 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46921 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46922 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46924 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46925 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46927 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46928 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46929 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46930 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46931 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46932 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46933 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46934 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46935 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46936 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46937 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46938 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46939 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46940 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46941 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46942 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46943 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46944 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46945 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46946 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46947 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46948 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46949 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46950 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46951 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46952 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46953 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46954 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46955 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46956 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46957 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46958 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46959 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46960 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46961 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46962 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46963 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46964 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46965 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46966 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46967 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46968 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46969 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46970 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46971 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46972 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46973 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46974 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46975 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46976 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46977 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46978 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46979 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46980 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46981 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46982 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46983 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46984 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46985 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46986 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46987 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46988 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46989 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46990 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46991 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46992 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46993 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46994 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46995 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46996 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46998 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46999 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47000 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47001 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47002 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47003 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47004 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47005 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47006 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47007 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47008 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47009 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47010 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47011 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47012 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47013 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47014 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47015 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47016 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47017 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47018 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47019 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47020 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47021 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47022 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47023 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47024 (__isnanf): Likewise.
47025 (__isinf_ns): Likewise.
47026 (__isinf_nsf): Likewise.
47027 (__finite): Likewise.
47028 (__finitef): Likewise.
47029 (__ieee754_sqrt): Define as macro.
47030 (__ieee754_sqrtf): Define as macro.
47031 (__ieee754_sqrtl): Define as macro.
47032 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47033 inlined copy.
47034 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47035 __FINITE_MATH_ONLY__ consistent.
47036 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47037
12cc2fcd
AS
470382011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47039
a843a204
AS
47040 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47041 of rawmemchr.
47042
12cc2fcd
AS
47043 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47044
c853acd5
UD
470452011-10-09 Ulrich Drepper <drepper@gmail.com>
47046
47047 * po/ja.po: Update from translation team.
47048
c658d255
RM
470492011-10-08 Roland McGrath <roland@hack.frob.com>
47050
110946e4
RM
47051 * locale/programs/locarchive.c (prepare_address_space): New function.
47052 (create_archive, enlarge_archive, open_archive): Use it.
47053
50604220
RM
47054 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47055 inside [SHARED], where it is used.
47056
c658d255
RM
47057 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47058
47059 * nss/getent.c (netgroup_keys): Remove unused variable.
47060 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47061
6a621eb7
UD
470622011-10-08 Ulrich Drepper <drepper@gmail.com>
47063
7edb55ce
UD
47064 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47065 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47067 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47068 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47069 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47070 * math/Makefile (libm-calls): Add s_isinf_ns.
47071 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47072 * math/multc3.c: Likewise.
47073 * math/s_casin.c: Likewise.
47074 * math/s_casinf.c: Likewise.
47075 * math/s_casinl.c: Likewise.
47076 * math/s_ccos.c: Likewise.
47077 * math/s_ccosf.c: Likewise.
47078 * math/s_ccosl.c: Likewise.
47079 * math/s_ctan.c: Likewise.
47080 * math/s_ctanf.c: Likewise.
47081 * math/s_ctanh.c: Likewise.
47082 * math/s_ctanhf.c: Likewise.
47083 * math/s_ctanhl.c: Likewise.
47084 * math/s_ctanl.c: Likewise.
47085 * math/w_fmod.c: Likewise.
47086 * math/w_fmodf.c: Likewise.
47087 * math/w_fmodl.c: Likewise.
47088 * math/w_remainder.c: Likewise.
47089 * math/w_remainderf.c: Likewise.
47090 * math/w_remainderl.c: Likewise.
47091 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47092 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47093 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47094 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47095 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47096 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47097 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47098 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47099
187da0ae
UD
47100 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47101 of the number.
47102 * stdio-common/printf_fphex.c: Likewise.
47103 * stdio-common/printf_size.c: Likewise.
47104
9277c064
UD
47105 * math/e_exp10.c: Include math_private.h using <...> not "...".
47106 * math/e_exp10f.c: Likewise.
47107 * math/e_exp10l.c: Likewise.
47108 * math/e_exp2l.c: Likewise.
47109 * math/e_j0l.c: Likewise.
47110 * math/e_j1l.c: Likewise.
47111 * math/e_jnl.c: Likewise.
47112 * math/e_lgammal_r.c: Likewise.
47113 * math/e_rem_pio2l.c: Likewise.
47114 * math/e_scalb.c: Likewise.
47115 * math/e_scalbf.c: Likewise.
47116 * math/e_scalbl.c: Likewise.
47117 * math/k_cosl.c: Likewise.
47118 * math/k_sinl.c: Likewise.
47119 * math/k_tanl.c: Likewise.
47120 * math/s_cacoshf.c: Likewise.
47121 * math/s_catan.c: Likewise.
47122 * math/s_catanf.c: Likewise.
47123 * math/s_catanh.c: Likewise.
47124 * math/s_catanhf.c: Likewise.
47125 * math/s_catanhl.c: Likewise.
47126 * math/s_catanl.c: Likewise.
47127 * math/s_ccosh.c: Likewise.
47128 * math/s_ccoshf.c: Likewise.
47129 * math/s_ccoshl.c: Likewise.
47130 * math/s_cexp.c: Likewise.
47131 * math/s_cexpf.c: Likewise.
47132 * math/s_cexpl.c: Likewise.
47133 * math/s_clog.c: Likewise.
47134 * math/s_clog10.c: Likewise.
47135 * math/s_clog10f.c: Likewise.
47136 * math/s_clog10l.c: Likewise.
47137 * math/s_clogf.c: Likewise.
47138 * math/s_clogl.c: Likewise.
47139 * math/s_csin.c: Likewise.
47140 * math/s_csinf.c: Likewise.
47141 * math/s_csinh.c: Likewise.
47142 * math/s_csinhf.c: Likewise.
47143 * math/s_csinhl.c: Likewise.
47144 * math/s_csinl.c: Likewise.
47145 * math/s_csqrt.c: Likewise.
47146 * math/s_csqrtf.c: Likewise.
47147 * math/s_csqrtl.c: Likewise.
47148 * math/s_ctan.c: Likewise.
47149 * math/s_ctanf.c: Likewise.
47150 * math/s_ctanh.c: Likewise.
47151 * math/s_ctanhf.c: Likewise.
47152 * math/s_ctanhl.c: Likewise.
47153 * math/s_ctanl.c: Likewise.
47154 * math/s_ldexp.c: Likewise.
47155 * math/s_ldexpf.c: Likewise.
47156 * math/s_ldexpl.c: Likewise.
47157 * math/s_significand.c: Likewise.
47158 * math/s_significandf.c: Likewise.
47159 * math/s_significandl.c: Likewise.
47160 * math/w_acos.c: Likewise.
47161 * math/w_acosf.c: Likewise.
47162 * math/w_acosh.c: Likewise.
47163 * math/w_acoshf.c: Likewise.
47164 * math/w_acoshl.c: Likewise.
47165 * math/w_acosl.c: Likewise.
47166 * math/w_asin.c: Likewise.
47167 * math/w_asinf.c: Likewise.
47168 * math/w_asinl.c: Likewise.
47169 * math/w_atan2.c: Likewise.
47170 * math/w_atan2f.c: Likewise.
47171 * math/w_atan2l.c: Likewise.
47172 * math/w_atanh.c: Likewise.
47173 * math/w_atanhf.c: Likewise.
47174 * math/w_atanhl.c: Likewise.
47175 * math/w_cosh.c: Likewise.
47176 * math/w_coshf.c: Likewise.
47177 * math/w_coshl.c: Likewise.
47178 * math/w_dremf.c: Likewise.
47179 * math/w_exp10.c: Likewise.
47180 * math/w_exp10f.c: Likewise.
47181 * math/w_exp10l.c: Likewise.
47182 * math/w_exp2.c: Likewise.
47183 * math/w_exp2f.c: Likewise.
47184 * math/w_fmod.c: Likewise.
47185 * math/w_fmodf.c: Likewise.
47186 * math/w_fmodl.c: Likewise.
47187 * math/w_hypot.c: Likewise.
47188 * math/w_hypotf.c: Likewise.
47189 * math/w_hypotl.c: Likewise.
47190 * math/w_j0.c: Likewise.
47191 * math/w_j0f.c: Likewise.
47192 * math/w_j0l.c: Likewise.
47193 * math/w_j1.c: Likewise.
47194 * math/w_j1f.c: Likewise.
47195 * math/w_j1l.c: Likewise.
47196 * math/w_jn.c: Likewise.
47197 * math/w_jnf.c: Likewise.
47198 * math/w_jnl.c: Likewise.
47199 * math/w_lgamma.c: Likewise.
47200 * math/w_lgamma_r.c: Likewise.
47201 * math/w_lgammaf.c: Likewise.
47202 * math/w_lgammaf_r.c: Likewise.
47203 * math/w_lgammal.c: Likewise.
47204 * math/w_lgammal_r.c: Likewise.
47205 * math/w_log.c: Likewise.
47206 * math/w_log10.c: Likewise.
47207 * math/w_log10f.c: Likewise.
47208 * math/w_log10l.c: Likewise.
47209 * math/w_log2.c: Likewise.
47210 * math/w_log2f.c: Likewise.
47211 * math/w_log2l.c: Likewise.
47212 * math/w_logf.c: Likewise.
47213 * math/w_logl.c: Likewise.
47214 * math/w_pow.c: Likewise.
47215 * math/w_powf.c: Likewise.
47216 * math/w_powl.c: Likewise.
47217 * math/w_remainder.c: Likewise.
47218 * math/w_remainderf.c: Likewise.
47219 * math/w_remainderl.c: Likewise.
47220 * math/w_scalb.c: Likewise.
47221 * math/w_scalbf.c: Likewise.
47222 * math/w_scalbl.c: Likewise.
47223 * math/w_sinh.c: Likewise.
47224 * math/w_sinhf.c: Likewise.
47225 * math/w_sinhl.c: Likewise.
47226 * math/w_sqrt.c: Likewise.
47227 * math/w_sqrtf.c: Likewise.
47228 * math/w_sqrtl.c: Likewise.
47229 * math/w_tgamma.c: Likewise.
47230 * math/w_tgammaf.c: Likewise.
47231 * math/w_tgammal.c: Likewise.
47232
6a621eb7
UD
47233 * po/ja.po: Update from translation team.
47234
bf582445
AJ
472352011-09-29 Andreas Jaeger <aj@suse.de>
47236
f9efbf3a
AJ
47237 [BZ #13179]
47238 * sunrpc/netname.c (netname2host): Fix logic.
47239
bf582445
AJ
47240 [BZ #6779]
47241 [BZ #6783]
47242 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47243 correctly.
47244 * math/w_remainder.c (__remainder): Likewise.
47245 * math/w_remainderf.c (__remainderf): Likewise.
47246 * math/libm-test.inc (remainder_test): Add test cases.
47247
48693bea
AK
472482011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47249
47250 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47251 sdiv_qrnnd.
47252
42622229
LD
472532011-10-07 Ulrich Drepper <drepper@gmail.com>
47254
47255 * string/test-memcmp.c: Avoid unncessary #defines.
47256 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47257
093ecf92
LD
472582011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47259
47260 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47261 Use new sse2 version for core i3 - i7 as it's faster
47262 than sse42 version.
47263 (bit_Prefer_PMINUB_for_stringop): New.
47264 * sysdeps/x86_64/rawmemchr.S: Update.
47265 Replace with faster SSE2 version.
47266 * sysdeps/x86_64/memrchr.S: New file.
47267 * sysdeps/x86_64/memchr.S: Update.
47268 Replace with faster SSE2 version.
47269
fde56e5c
MP
472702011-09-12 Marek Polacek <mpolacek@redhat.com>
47271
47272 * elf/dl-load.c (lose): Add cast to avoid warning.
47273
21fd49a9
UD
472742011-10-07 Ulrich Drepper <drepper@gmail.com>
47275
5a06e643
UD
47276 * po/ca.po: Update from translation team.
47277
684ae515
UD
47278 * inet/getnetgrent_r.c: Hook up nscd.
47279 * nscd/Makefile (routines): Add nscd_netgroup.
47280 (nscd-modules): Add netgroupcache.
47281 (CFLAGS-netgroupcache.c): Define.
47282 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47283 (cache_search): Add const to second parameter.
47284 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47285 INNETGR.
47286 (dbs): Add netgrdb entry.
47287 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47288 (verify_persistent_db): Handle netgrdb.
47289 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47290 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47291 GETFDNETGR.
47292 (netgroup_response_header): Define.
47293 (innetgroup_response_header): Define.
47294 (datahead): Add netgroup_response_header and innetgroup_response_header
47295 elements.
47296 * nscd/nscd.conf: Add entries for netgroup cache.
47297 * nscd/nscd.h (dbtype): Add netgrdb.
47298 (_PATH_NSCD_NETGROUP_DB): Define.
47299 (netgroup_iov_disabled): Declare.
47300 (xmalloc, xcalloc, xrealloc): Move declarations here.
47301 (cache_search): Adjust prototype.
47302 Add netgroup-related prototypes.
47303 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47304 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47305 (__nscd_innetgr): Declare.
47306 * nscd/selinux.c (perms): Use access_vector_t as element type and
47307 add netgroup-related initializers.
47308 * nscd/netgroupcache.c: New file.
47309 * nscd/nscd_netgroup.c: New file.
47310 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47311 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47312 For four parameters use innetgr.
47313 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47314 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47315 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47316 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47317
21fd49a9
UD
47318 * nscd/connections.c (register_traced_file): Don't register file
47319 for disabled databases.
47320
054c0457
UD
473212011-10-06 Ulrich Drepper <drepper@gmail.com>
47322
32b63198
UD
47323 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47324
054c0457
UD
47325 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47326 from tree and freeing node.
47327
64031225
JO
473282011-09-25 Jiri Olsa <jolsa@redhat.com>
47329
47330 * nss/nsswitch.c (__nss_database_lookup): Handle
47331 nss_parse_service_list out of memory case.
47332
0490345c
JO
473332011-09-15 Jiri Olsa <jolsa@redhat.com>
47334
47335 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47336 out of memory case.
47337
3a62d00d
AS
473382011-10-04 Andreas Schwab <schwab@redhat.com>
47339
47340 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47341 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47342 pass it down.
47343 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47344 elf_machine_rela, elf_machine_lazy_rel.
47345 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47346 (ELF_DYNAMIC_DO_REL): Likewise.
47347 (ELF_DYNAMIC_DO_RELA): Likewise.
47348 (ELF_DYNAMIC_RELOCATE): Likewise.
47349 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47350 to ELF_DYNAMIC_DO_REL.
47351 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47352 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47353 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47354 elf_machine_rela.
47355 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47356 skip_ifunc, don't call ifunc function if non-zero.
47357 (elf_machine_rela): Likewise.
47358 (elf_machine_lazy_rel): Likewise.
47359 (elf_machine_lazy_rela): Likewise.
47360 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47361 (elf_machine_lazy_rel): Likewise.
47362 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47363 Likewise.
47364 (elf_machine_lazy_rel): Likewise.
47365 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47366 Likewise.
47367 (elf_machine_lazy_rel): Likewise.
47368 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47369 (elf_machine_lazy_rel): Likewise.
47370 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47371 (elf_machine_lazy_rel): Likewise.
47372 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47373 (elf_machine_lazy_rel): Likewise.
47374 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47375 (elf_machine_lazy_rel): Likewise.
47376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47377 (elf_machine_lazy_rel): Likewise.
47378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47379 (elf_machine_lazy_rel): Likewise.
47380
68577918
UD
473812011-09-28 Ulrich Drepper <drepper@gmail.com>
47382
47383 * nss/nss_files/files-init.c (_nss_files_init): Use static
47384 initialization for all the *_traced_file variables.
47385
68822d74
AS
473862011-09-28 Andreas Schwab <schwab@redhat.com>
47387
47388 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47389
2056100b
RM
473902011-09-27 Roland McGrath <roland@hack.frob.com>
47391
47392 [BZ #13226]
47393 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47394
32c76b63
AS
473952011-09-27 Andreas Schwab <schwab@redhat.com>
47396
47397 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47398 Reread the line before reparsing it.
47399
bf972c9d
AS
474002011-09-26 Andreas Schwab <schwab@redhat.com>
47401
47402 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47403
e057a1b5
JM
474042011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47405 Maxim Kuvyrkov <maxim@codesourcery.com>
47406 Joseph Myers <joseph@codesourcery.com>
47407
47408 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47409 if needed for __stack_chk_guard.
47410
bc7e1c36
RM
474112011-09-19 Roland McGrath <roland@hack.frob.com>
47412
ecb1482f
RM
47413 * sysdeps/posix/spawni.c (script_execute): Always define it.
47414 It will be optimized away if unused.
47415 (maybe_script_execute): New function.
47416 (__spawni): Call it.
47417
bc7e1c36
RM
47418 * Makerules: Don't include tls.make.
47419 (config-tls): Always set to thread.
47420 * tls.make.c: File removed.
47421
1c3b002b
MF
474222011-09-19 Mike Frysinger <vapier@gentoo.org>
47423
47424 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47425 * config.make.in (CPPFLAGS-config): New substituted variable.
47426
2840865d
UD
474272011-09-15 Ulrich Drepper <drepper@gmail.com>
47428
88738eb6
UD
47429 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47430
cbf645a6 47431 [BZ #13192]
2840865d
UD
47432 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47433 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47434
b402e91a
RM
474352011-09-15 Roland McGrath <roland@hack.frob.com>
47436
47437 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47438 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47440 (CALL_FAIL): Likewise.
47441 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47442 (CALL_FAIL): Macro removed.
47443 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47444
4c1a1f71
UD
474452011-09-15 Ulrich Drepper <drepper@gmail.com>
47446
47447 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47448 for __FINITE_MATH_ONLY__ == 1.
47449
edc121be
AS
474502011-09-15 Andreas Schwab <schwab@redhat.com>
47451
47452 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47453 __ieee754_sqrt instead of sqrt.
47454 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47455 __ieee754_sqrtf instead of sqrtf.
47456 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47457 __floorf instead of floorf.
47458 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47459 __floorf, __truncf instead of floorf, truncf.
47460
cd205654
UD
474612011-09-14 Ulrich Drepper <drepper@gmail.com>
47462
ee4d0315
UD
47463 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47464
cd205654
UD
47465 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47466 __extern_always_inline.
47467 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47468 32-bit.
47469
48b67d71
AS
474702011-09-14 Andreas Schwab <schwab@redhat.com>
47471
47472 * elf/rtld.c (dl_main): Also relocate in dependency order when
47473 doing symbol dependency testing.
47474
1ae12c75
AS
474752011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47476
47477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47478 Always define `refsym'.
47479
995a80df
AS
474802011-09-13 Andreas Schwab <schwab@redhat.com>
47481
e529793b
AS
47482 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47483 (__FD_ELT): Renamed from __FDELT.
47484 * misc/bits/select2.h (__FD_ELT): Likewise.
47485 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47486 __FD_MASK instead of __FDELT, __FDMASK.
47487 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47488 Likewise.
47489 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47490 Likewise.
47491
52d4fef8
AS
47492 * elf/Makefile (gen-ldd): Fix pattern.
47493
995a80df
AS
47494 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47495 (init_tls): Likewise.
47496
8682f8b0
UD
474972011-09-12 Ulrich Drepper <drepper@gmail.com>
47498
47499 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47500
de82006d
AS
475012011-09-12 Andreas Schwab <schwab@redhat.com>
47502
a7c8e6a1
AS
47503 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47504 `struct cmsghdr *' instead of `void *'.
47505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47506 Likewise.
47507
0f31fe77
AS
475082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47509
47510 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47511 if non-absolute.
47512 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47513 ldd_rewrite_script.
0f31fe77 47514
32b4c839
UD
475152011-09-11 Ulrich Drepper <drepper@gmail.com>
47516
83cd1420
UD
47517 * configure.in: Remove --with-tls option.
47518 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47519 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47520 out in case it is missing.
47521 * sysdeps/ia64/elf/configure.in: Likewise.
47522 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47523 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47524 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47525 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47526 * sysdeps/sh/elf/configure.in: Likewise.
47527 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47528 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47529 * sysdeps/x86_64/elf/configure.in: Likewise.
47530 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47531 * sysdeps/mach/hurd/tls.h: Likewise.
47532
633f745d
UD
47533 [BZ #13067]
47534 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47535
f318beb8
UD
47536 [BZ #13090]
47537 * configure.in: Fix use of AC_INIT.
47538
32b4c839
UD
47539 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47540
3ce1f295
UD
475412011-09-10 Ulrich Drepper <drepper@gmail.com>
47542
bb016596
UD
47543 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47544 __set_errno.
8e58439c
UD
47545 * malloc/hooks.c: Likewise.
47546
aebae053 47547 [BZ #11929]
02d46fc4
UD
47548 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47549 variables statically.
47550 (narenas): Initialize.
47551 (list_lock): Initialize.
bb016596
UD
47552 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47553 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47554 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47555 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47556 Add initializers to main_arena and mp_.
47557 (malloc_state): Remove pagesize member. Change all users to use
47558 GLRO(dl_pagesize).
47559
47560 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47561 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47562 is always initialized.
47563
22a89187
UD
47564 * malloc/malloc.c: Removed unused configurations and dead code.
47565 * malloc/arena.c: Likewise.
47566 * malloc/hooks.c: Likewise.
02d46fc4 47567 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47568
d063d164
UD
47569 * include/tls.h: Removed. USE___THREAD must always be defined.
47570 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47571 * elf/dl-libc.c: Likewise.
47572 * elf/dl-tsd.c: Likewise.
47573 * include/errno.h: Likewise.
47574 * include/netdb.h: Likewise.
47575 * include/resolv.h: Likewise.
47576 * inet/herrno-loc.c: Likewise.
47577 * inet/herrno.c: Likewise.
47578 * malloc/arena.c: Likewise.
47579 * malloc/hooks.c: Likewise.
47580 * malloc/malloc.c: Likewise.
47581 * resolv/res-state.c: Likewise.
47582 * resolv/res_libc.c: Likewise.
47583 * sysdeps/i386/dl-machine.h: Likewise.
47584 * sysdeps/ia64/dl-machine.h: Likewise.
47585 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47586 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47587 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47588 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47589 * sysdeps/sh/dl-machine.h: Likewise.
47590 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47591 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47592 * sysdeps/unix/i386/sysdep.S: Likewise.
47593 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47594 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47597 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47599 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47603 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47604 * sysdeps/x86_64/dl-machine.h: Likewise.
47605 * tls.make.c: Likewise.
47606
3ce1f295
UD
47607 * configure.in: Remove --with-__thread option. Make tests for
47608 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47609 tls_model attribute fail if no support is available. Remove
47610 USE_IN_LIBIO.
47611 * Makeconfig: Adjust for dropped configure option. All features are
47612 now mandatory.
47613 * Makerules: Likewise.
47614 * Versions.def: Likewise.
47615 * argp/argp-fmtstream.c: Likewise.
47616 * argp/argp-fmtstream.h: Likewise.
47617 * argp/argp-help.c: Likewise.
47618 * assert/assert.c: Likewise.
47619 * config.h.in: Likewise.
47620 * config.make.in: Likewise.
47621 * configure: Likewise.
47622 * configure.in: Likewise.
47623 * csu/Versions: Likewise.
47624 * csu/init.c: Likewise.
47625 * elf/tst-audit2.c: Likewise.
47626 * elf/tst-tls10.c: Likewise.
47627 * elf/tst-tls10.h: Likewise.
47628 * elf/tst-tls11.c: Likewise.
47629 * elf/tst-tls12.c: Likewise.
47630 * elf/tst-tls14.c: Likewise.
47631 * elf/tst-tlsmod11.c: Likewise.
47632 * elf/tst-tlsmod12.c: Likewise.
47633 * elf/tst-tlsmod13.c: Likewise.
47634 * elf/tst-tlsmod13a.c: Likewise.
47635 * elf/tst-tlsmod14a.c: Likewise.
47636 * elf/tst-tlsmod15b.c: Likewise.
47637 * elf/tst-tlsmod16a.c: Likewise.
47638 * elf/tst-tlsmod16b.c: Likewise.
47639 * elf/tst-tlsmod7.c: Likewise.
47640 * elf/tst-tlsmod8.c: Likewise.
47641 * elf/tst-tlsmod9.c: Likewise.
47642 * gmon/gmon.c: Likewise.
47643 * grp/fgetgrent_r.c: Likewise.
47644 * grp/putgrent.c: Likewise.
47645 * hurd/fopenport.c: Likewise.
47646 * include/libc-symbols.h: Likewise.
47647 * include/tls.h: Likewise.
47648 * intl/gettextP.h: Likewise.
47649 * intl/loadinfo.h: Likewise.
47650 * locale/global-locale.c: Likewise.
47651 * locale/localeinfo.h: Likewise.
47652 * mach/devstream.c: Likewise.
47653 * malloc/arena.c: Likewise.
47654 * malloc/set-freeres.c: Likewise.
47655 * misc/err.c: Likewise.
47656 * misc/getttyent.c: Likewise.
47657 * misc/mntent_r.c: Likewise.
47658 * posix/getopt.c: Likewise.
47659 * posix/wordexp.c: Likewise.
47660 * pwd/fgetpwent_r.c: Likewise.
47661 * resolv/Versions: Likewise.
47662 * resolv/res_hconf.c: Likewise.
47663 * shadow/fgetspent_r.c: Likewise.
47664 * shadow/putspent.c: Likewise.
47665 * stdio-common/printf_fphex.c: Likewise.
47666 * stdio-common/tmpfile.c: Likewise.
47667 * stdlib/abort.c: Likewise.
47668 * stdlib/fmtmsg.c: Likewise.
47669 * sunrpc/auth_unix.c: Likewise.
47670 * sunrpc/clnt_perr.c: Likewise.
47671 * sunrpc/clnt_tcp.c: Likewise.
47672 * sunrpc/clnt_udp.c: Likewise.
47673 * sunrpc/clnt_unix.c: Likewise.
47674 * sunrpc/openchild.c: Likewise.
47675 * sunrpc/svc_simple.c: Likewise.
47676 * sunrpc/svc_tcp.c: Likewise.
47677 * sunrpc/svc_udp.c: Likewise.
47678 * sunrpc/svc_unix.c: Likewise.
47679 * sunrpc/xdr.c: Likewise.
47680 * sunrpc/xdr_array.c: Likewise.
47681 * sunrpc/xdr_rec.c: Likewise.
47682 * sunrpc/xdr_ref.c: Likewise.
47683 * sunrpc/xdr_stdio.c: Likewise.
47684
1248c1c4
PB
476852011-09-09 Ulrich Drepper <drepper@gmail.com>
47686
47687 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47688
476892011-07-03 Andreas Jaeger <aj@suse.de>
47690
47691 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47692 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47693 regenerate with gen-libm-tests.pl.
47694
476952010-05-12 Petr Baudis <pasky@suse.cz>
47696
47697 [BZ #11589]
47698 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47699 around j0() zero points by switching to j1().
47700 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47703 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47704
f22e1074
UD
477052011-09-09 Ulrich Drepper <drepper@gmail.com>
47706
f19009c1
UD
47707 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47708 instead of 0.
47709 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47710 instead of 0.
f19009c1
UD
47711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47712 Patch in part by Pavel Roskin <proski@gnu.org>.
47713
3f8cc204
UD
47714 [BZ #13138]
47715 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47716 realloc.
47717 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47718 Free memory block if necessary.
47719
f22e1074
UD
47720 [BZ #12847]
47721 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47722 be NULL. Don't lock in this case.
47723
0a2349f9
RM
477242011-09-09 Roland McGrath <roland@hack.frob.com>
47725
47726 * elf/elf.h (ELFOSABI_GNU): New macro.
47727 (ELFOSABI_LINUX): Define to that.
47728
f3cdd467
DZ
477292011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47730
47731 * string/strncat.c (strncat): Undef the symbol in case it has been
47732 defined in bits/string.h.
47733
74718d13
UD
477342011-09-09 Ulrich Drepper <drepper@gmail.com>
47735
633e9e0f
UD
47736 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47737
0a2349f9 47738 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47739 link map.
47740
f9924780
AJ
477412011-08-17 Andreas Jaeger <aj@suse.de>
47742
47743 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47744
7f5517aa
PP
477452011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47746 Ian Lance Taylor <iant@google.com>
47747
47748 * math/libm-test.inc (lround_test): New testcase.
47749 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47750
762011fe
UD
477512011-09-08 Ulrich Drepper <drepper@gmail.com>
47752
92963737
UD
47753 * Makefile: Remove support for automatic cvs check-ins.
47754 * Makerules: Likewise.
47755 * config.make.in: Likewise.
47756 * configure.in: Likewise.
47757 * intl/Makefile: Likewise.
47758 * locale/Makefile: Likewise.
47759 * po/Makefile: Likewise.
47760 * posix/Makefile: Likewise.
47761 * sysdeps/gnu/Makefile: Likewise.
47762 * sysdeps/mach/hurd/Makefile: Likewise.
47763 * sysdeps/sparc/sparc32/Makefile: Likewise.
47764
b0727fd8
JS
47765 [BZ #13118]
47766 * posix/Makefile (bug-regex32-ENV): Define.
47767 Patch by John Stanley <jpsinthemix@verizon.net>.
47768
a0f33f99
UD
47769 * misc/Makefile (headers): Add bits/select2.h.
47770 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47771 * misc/bits/select2.h: New file.
47772 * include/bits/select2.h: New file.
47773 * debug/Makefile (routines): Add fdelt_chk.
47774 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47775 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47776 FD_ISSET.
47777 * debug/fdelt_chk.c: New file.
47778
762011fe
UD
47779 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47780 * wcsmbs/test-wmemcmp.c: Likewise.
47781 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47782 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47783
477842011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47785
47786 * string/Makefile (strop-tests): Add memcmp.
47787 * string/test-wmemcmp.c: New file.
47788 * string/test-memcmp.c: Add wmemcmp support.
47789
7f513ec8
RM
477902011-09-08 Roland McGrath <roland@hack.frob.com>
47791
0442afb4
RM
47792 [BZ #13153]
47793 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47794 2011-07-19 change.
47795
7f513ec8
RM
47796 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47797 garbage value in a __mach_port_mod_refs call in the cases of the
47798 task-self and thread-self ports.
47799
a12b2239
ST
478002011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47801
47802 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47803
610f9ab4
AS
478042011-09-08 Andreas Schwab <schwab@redhat.com>
47805
7f513ec8 47806 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 47807
48882a1a
LD
478082011-09-07 Ulrich Drepper <drepper@gmail.com>
47809
b49865be
UD
47810 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47811
fdc86bc9
UD
47812 * elf/dl-libc.c (dlerror_run): Pass back error code from
47813 dl_catch_error.
47814
c966526a
UD
47815 [BZ #13123]
47816 * elf/dl-load.c (lose): Free l_origin if it is valid.
47817
48882a1a
LD
47818 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47819 names.
47820 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47822 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47823 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47824 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47825 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47826
77a2a8b4
AZ
478272011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47828
47829 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47830 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47831 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47832 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47833 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47834 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47835 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47836 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47837 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47838 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47839
24f579d8
AM
478402011-08-15 Alan Modra <amodra@gmail.com>
47841
47842 [BZ #13092]
47843 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47844 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47845 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47846 ppc_mcount to static-only-routines.
47847 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47848 __mcount_internal.
47849 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47850 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47851
3d4837df
UD
478522011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47853
47854 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47855 for finite and infinity parameters.
47856
22700377
WS
478572011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47858
47859 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47860 and add nop instructions for throughput optimization.
47861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47862
5025581e
WS
478632011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47864
47865 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47866 aligned copy for power7 with vector-scalar instructions.
47867 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47868
08a300c9
L
478692011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47870
47871 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47872 AVX check.
47873
59178ef9
AS
478742011-09-07 Andreas Schwab <schwab@redhat.com>
47875
47876 [BZ #13144]
47877 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47878 last change.
47879
e38ba7ab
UD
478802011-09-07 Ulrich Drepper <drepper@gmail.com>
47881
47882 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47883 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47884 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47885 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47886 clock_gettime.
47887
d53a73ac
UD
478882011-09-06 Ulrich Drepper <drepper@gmail.com>
47889
fc8bffcc
UD
47890 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47891 Forgot to demangle the pointer.
47892
ceaa0c5d
UD
47893 * sysdeps/i386/sysdep.h: Define atom_text_section.
47894 * sysdeps/x86_64/sysdep.h: Likewise.
47895 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47896 section with atom_text_section.
47897 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47898 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47899 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47901 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47902
a77d3c17
UD
47903 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47904 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47905 already be defined. Change to take two parameters and don't assign
47906 result to variable. Adjust all users.
47907 Define INTERNAL_GETTIME if not already defined.
47908 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47909 call.
47910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47911 HAVE_CLOCK_GETTIME_VSYSCALL.
47912 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47913
d53a73ac
UD
47914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47915 gettimeofday vsyscall, just use time.
47916
a8f84144
AS
479172011-09-06 Andreas Schwab <schwab@redhat.com>
47918
47919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47920 <errno.h>.
47921
ef606249
UD
479222011-09-06 Ulrich Drepper <drepper@gmail.com>
47923
47924 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47925 syscall on x86-64.
47926 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47927 syscall.
47928 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47929 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47930 syscall if possible.
47931
6585cb60
UD
479322011-09-05 Ulrich Drepper <drepper@gmail.com>
47933
47934 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47935 e_ident. Don't pass to find_mapsXX.
47936 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47937
a5f524e4
LD
479382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47939
47940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47941 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47942 * sysdeps/x86_64/multiarch/strchr.S: Update.
47943 Check bit_slow_BSF bit.
47944 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47945 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47946 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47947
554881ef
UD
479482011-09-05 Ulrich Drepper <drepper@gmail.com>
47949
d96de963
UD
47950 [BZ #13134]
47951 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47952 before glibc 2.15.
47953 (tryshell): Define.
47954 (__spawni): Change last parameter to be flag. Test
47955 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47956 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47957 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47958 * posix/spawni.c: Likewise.
47959 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47960 * posix/spawnp.c: Likewise. Change normal version to use
47961 SPAWN_XFLAGS_USE_PATH.
47962 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47963 SPAWN_XFLAGS_TRY_SHELL.
47964
d48e5868
UD
47965 [BZ #13150]
47966 * posix/glob.h: Remove gcc 1.x support.
47967
554881ef
UD
47968 [BZ #13068]
47969 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47970
693fb948
LD
479712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47972
47973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47974 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47975 strrchr-sse2-bsf
47976 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47977 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47978 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47979 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47980 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47981 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47982
1b48c537
UD
479832011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47984
49d42c37
UD
47985 * sysdeps/x86_64/wcscmp.S: New file.
47986
1b48c537
UD
47987 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47988 wcscmp-c wcscmp-sse2
47989 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47990 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47991 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47992 * wcsmbs/wcscmp.c: Allow renaming.
47993
15c95c5d
DM
479942011-09-05 David S. Miller <davem@davemloft.net>
47995
47996 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47997 stack slot, rather than the struct return pointer slot.
47998 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47999 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48001 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48002
2f0ad8f3
UD
480032011-09-05 Ulrich Drepper <drepper@gmail.com>
48004
d88ae418
UD
48005 * po/ja.po: Update from translation team.
48006
2f0ad8f3
UD
48007 [BZ #13144]
48008 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48009 kernel in 64-bit binaries.
48010
5f4318d1
DM
480112011-09-01 David S. Miller <davem@davemloft.net>
48012
48013 * elf/elf.h (HWCAP_SPARC_*): Move to..
48014 * sysdeps/sparc/sysdep.h: this new file and add new values.
48015 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48016 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48017 _DL_HWCAP_COUNT to 24.
48018 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48019 entries.
48020 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48021 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48022 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48024 instead of magic constants.
48025 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48026
3ba57516
DM
480272011-08-31 David S. Miller <davem@davemloft.net>
48028
48029 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48031 Reimplement to do errno handling inline.
48032 (SYSCALL_ERROR_HANDLER): New macro.
48033 (__SYSCALL_STRING): Do not do errno handling in asm.
48034 (__CLONE_SYSCALL_STRING): Delete.
48035 (__INTERNAL_SYSCALL_STRING): Delete.
48036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48037 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48038 (PSEUDO): Reimplement to do errno handling inline.
48039 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48040 (SYSCALL_ERROR_HANDLER): New macro.
48041 (__SYSCALL_STRING): Do not do errno handling in asm.
48042 (__CLONE_SYSCALL_STRING): Delete.
48043 (__INTERNAL_SYSCALL_STRING): Delete.
48044 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48045 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48046 i386.
48047 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48048 (inline_syscall*): Add 'err' argument.
48049 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48050 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48051 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48052 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48053
48054 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48055 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48056
2bc17433
AS
480572011-08-30 Andreas Schwab <schwab@redhat.com>
48058
48059 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48060
fbeb5f4d
JO
480612011-08-29 Jiri Olsa <jolsa@redhat.com>
48062
48063 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48064 directive.
48065
ad69cc26
DM
480662011-08-24 David S. Miller <davem@davemloft.net>
48067
48068 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48069
39dd69df
AS
480702011-08-24 Andreas Schwab <schwab@redhat.com>
48071
48072 * elf/Makefile: Add rules to build and run unload8 test.
48073 * elf/unload8.c: New file.
48074 * elf/unload8mod1.c: New file.
48075 * elf/unload8mod1x.c: New file.
48076 * elf/unload8mod2.c: New file.
48077 * elf/unload8mod3.c: New file.
48078
48079 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48080 it wasn't used.
48081
2c0b250a
DM
480822011-08-23 David S. Miller <davem@davemloft.net>
48083
48084 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48085 subtract stack bias.
48086 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48087 %sp not %fp in calculations.
48088 (_JMPBUF_UNWINDS_ADJ): Likewise.
48089
22044b48
DM
48090 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48091 (aio_suspend): Call it to force an exception region around the
48092 AIO_MISC_WAIT() invocation.
48093
2cae4995
AS
480942011-08-23 Andreas Schwab <schwab@redhat.com>
48095
48096 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48097 backslash.
48098
873a772e
AJ
480992011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48100
48101 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48102 protection macro.
48103 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48104 and <dl-machine.h>.
48105 (Elf64_FuncDesc): Remove.
48106
25ad0df1
DM
481072011-08-22 David S. Miller <davem@davemloft.net>
48108
48109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48110 sigaltstack check, add missing cfi directives.
48111 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48112 missing cfi directives, and sigaltstack handling.
48113
e888bcbe
AS
481142011-08-16 Andreas Schwab <schwab@redhat.com>
48115
48116 [BZ #11724]
48117 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48118 object is seen twice.
48119 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48120
48121 * elf/Makefile (distribute): Add tst-initorder2.c.
48122 (tests): Add tst-initorder2.
48123 (modules-names): Add tst-initorder2a tst-initorder2b
48124 tst-initorder2c tst-initorder2d. Add rules to build them.
48125 ($(objpfx)tst-initorder2.out): New rule.
48126 * elf/tst-initorder2.c: New file.
48127 * elf/tst-initorder2.exp: New file.
48128
87162f46
AS
481292011-08-22 Andreas Schwab <schwab@redhat.com>
48130
70538b7f
AS
48131 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48132
f55ffe58
AS
48133 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48134 dependencies back to end of function.
48135
87162f46
AS
48136 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48137 $(elfobjdir)/ld.so.
48138
91b392a4
UD
481392011-08-21 Ulrich Drepper <drepper@gmail.com>
48140
48141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48142 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48144 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48145 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48146 of __vdso_gettimeofday.
48147 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48148 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48149 attribute_hidden.
48150 (_libc_vdso_platform_setup): Remove initialization of
48151 __vdso_gettimeofday and __vdso_time.
48152
5c43483f
UD
481532011-08-20 Ulrich Drepper <drepper@gmail.com>
48154
775a77e7
UD
48155 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48156 and fgetc_unlocked.
48157 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48158 getc_unlocked.
89f447ed 48159
49c74ba9
UD
48160 * elf/dl-open.c (add_to_global): Report additions to the global scope
48161 for LD_DEBUG=scopes.
48162 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48163 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48164
5c43483f
UD
48165 [BZ #13114]
48166 * stdio-common/Makefile (tests): Add bug24.
48167 * stdio-common/bug24.c: New file.
48168
a101b025
AJ
481692011-08-19 Andreas Jaeger <aj@suse.de>
48170
48171 [BZ #13114]
48172 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48173 non-existant file when using close-on-exec mode.
48174
c88f1766
UD
481752011-08-20 Ulrich Drepper <drepper@gmail.com>
48176
0276a718
UD
48177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48178 the very first instruction.
48179
c88f1766
UD
48180 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48181 the CFI state in the end.
48182 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48183 inclusion of dl-trampoline.h.
48184 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48185
51ccffa0
AS
481862011-08-19 Andreas Schwab <schwab@redhat.com>
48187
94d7165f
AS
48188 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48189 expectations for long double.
48190
51ccffa0
AS
48191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48192 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48193
fd708658 481942011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48195
48196 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48197 artificual limit depends upon the system page size.
48198
44f0a71e
UD
481992011-08-17 Ulrich Drepper <drepper@gmail.com>
48200
48201 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48202 * resolv/Makefile: Define CFLAGS-libresolv.
48203
8de79a24
AS
482042011-08-17 Andreas Schwab <schwab@redhat.com>
48205
48206 * nss/makedb.c (compute_tables): Make variables used in nested
48207 function static.
48208
27724598
UD
482092011-08-17 Ulrich Drepper <drepper@gmail.com>
48210
c5305d88
UD
48211 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48212 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48213 if buffer was too small.
48214
27724598
UD
48215 * elf/pldd.c (main): Attach to all threads in the process.
48216 Rewrite /proc handling to use *at functions.
48217
076fe015
UD
482182011-08-16 Ulrich Drepper <drepper@gmail.com>
48219
174baab3
UD
48220 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48221 specifies first scope to show.
48222 (dl_open_worker): Update callers. Move printing scope of new
48223 object to before the relocation.
44f0a71e 48224 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48225 * sysdeps/generic/ldsodefs.h: Update declaration.
48226
076fe015
UD
48227 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48228 string for the scope number.
48229
a60df2c3
UD
482302011-08-14 Ulrich Drepper <drepper@gmail.com>
48231
48232 * nscd/servicescache.c (cache_addserv): Make sure written is always
48233 initialized.
48234
5e4287d1
RM
482352011-08-14 Roland McGrath <roland@hack.frob.com>
48236
85ae0589
RM
48237 * sysdeps/i386/i486/bits/atomic.h
48238 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48239 statement expression, so as to suppress "set but not used" warning.
48240 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48241
69f63097
RM
48242 * string/strncat.c (STRNCAT): Use prototype definition.
48243
675456ef
RM
48244 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48245 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48246 -Iprograms here.
48247 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48248 (localedef-modules): Add localedef.
48249 (locale-modules): Add locale.
48250
5e4287d1
RM
48251 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48252 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48253 to avoid a warning.
48254
9c96ff23
DM
482552011-08-14 David S. Miller <davem@davemloft.net>
48256
48257 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48258 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48259
f9ddf089
UD
482602011-08-13 Ulrich Drepper <drepper@gmail.com>
48261
44f0a71e 48262 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48263 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48264 * elf/rtld.c (dl_main): Set l_name of vDSO.
48265 Call _dl_show_scope when DL_DEBUG_SCOPES.
48266 (process_dl_debug): Recognize scopes flag and also set it for all.
48267 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48268 Declare _dl_show_scope.
48269
1dc27704
UD
48270 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48271 (do_dlopen): Pass caller_dlopen to dl_open.
48272 (__libc_dlopen_mode): Initialize caller_dlopen.
48273
f9ddf089
UD
48274 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48275 of libc. Make tolower call locale-independent. Optimize a bit by
48276 using isdigit instead of isalnum.
48277 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48278
9ac533d3
UD
482792011-08-12 Ulrich Drepper <drepper@gmail.com>
48280
48281 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48282 was a dependency or dynamically loaded.
48283
89edf2e9
UD
482842011-08-11 Ulrich Drepper <drepper@gmail.com>
48285
8e999d29
UD
48286 * intl/l10nflist.c: Allow architecture-specific pop function.
48287 * sysdeps/x86_64/l10nflist.c: New file.
48288
89edf2e9
UD
48289 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48290 classification.
48291
14d96785
AS
482922011-08-10 Andreas Schwab <schwab@redhat.com>
48293
48294 * include/dirent.h: Add libc_hidden_proto for scandirat and
48295 scandirat64. Don't declare __scandirat64.
48296 * dirent/scandirat.c: Add libc_hidden_def.
48297 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48298 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48299
6761ac04
DM
483002011-08-10 David S. Miller <davem@davemloft.net>
48301
48302 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48303 enum.
48304 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48305 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48307
c55fbd1e
UD
483082011-08-09 Ulrich Drepper <drepper@gmail.com>
48309
48310 * Versions.def [libc]: Add GLIBC_2.15.
48311 * dirent/Makefile (routines): Add scandirat and scandirat64.
48312 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48313 GLIBC_2.15.
48314 * dirent/dirent.h: Declare scandirat and scandirat64.
48315 * dirent/scandirat.c: New file.
48316 * dirent/scandirat64.c: New file.
48317 * sysdeps/wordsize-64/scandirat.c: New file.
48318 * sysdeps/wordsize-64/scandirat64.c: New file.
48319 * dirent/opendir.c: Define opendirat.
48320 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48321 using scandirat.
48322 * dirent/scandir64.c: Adjust for scandir.c change.
48323 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48324 __scandirat64, and __scandir_cancel_handler.
48325 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48326 additional parameter and use openat instead of open (outside of ld.so).
48327 Add new __opendir as wrapper around __opendirat.
48328 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48329 here without requiring old scandirat implementation.
48330
879165f2
UD
483312011-08-08 Ulrich Drepper <drepper@gmail.com>
48332
48333 * dirent/scandir.c (cancel_handler): Renamed to
48334 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48335 defined. Adjust users.
48336 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48337 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48338
cb7e923b
UD
483392011-08-04 Ulrich Drepper <drepper@gmail.com>
48340
16292edd
UD
48341 * string/test-string.h (IMPL): Use __STRING to expand name and then
48342 stringify it.
48343
cb7e923b
UD
48344 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48345 of cleanups.
48346
cff82933
LD
483472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48348
48349 * string/Makefile: Update.
48350 (strop-tests): Append strncat.
48351 * string/test-wcscmp.c: New file.
48352 New comprehensive test for wcscmp.
48353 * string/test-strcmp.c: Update.
48354 (WIDE): New define.
48355
9be9bfcc
AS
483562011-07-22 Andreas Schwab <schwab@redhat.com>
48357
48358 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48359 line.
48360
2e96f1c7
AS
483612011-07-26 Andreas Schwab <schwab@redhat.com>
48362
48363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48364 encoding to ACE if AI_IDN.
48365
85188888
JJ
483662011-08-01 Jakub Jelinek <jakub@redhat.com>
48367
48368 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48369 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48370
5fa16e9b
LD
483712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48372
48373 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48374 Fix overflow bug in strncat.
48375 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48376
48377 * string/test-strncat.c: Update.
48378 Add new tests for checking overflow bugs.
48379
483802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48381
48382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48383 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48384 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48385 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48386 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48387 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48388 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48389 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48390 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48391
48392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48393 (USE_AS_STRCAT): Define.
48394 Add strcat and strncat support.
48395 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48396
8c1a459f
AS
483972011-07-25 Andreas Schwab <schwab@redhat.com>
48398
48399 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48400 __n bigger than INT_MAX+1.
48401 (__strncmp_g): Likewise.
48402
bba33c28
UD
484032011-07-23 Ulrich Drepper <drepper@gmail.com>
48404
798be72d
UD
48405 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48406 * libio/stido.h: Likewise.
48407
8accd4dc
UD
48408 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48409 (AF_NFC): Define.
48410 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48411 (AF_NFC): Define.
48412
cbff0d96
UD
48413 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48415 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48416 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48418
9191c04a
UD
48419 [BZ #13021]
48420 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48421 installed.
48422
bba33c28
UD
48423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48424 typo.
48425 (_dl_x86_64_save_sse): Likewise.
48426
90f139dd
UD
484272011-07-22 Ulrich Drepper <drepper@gmail.com>
48428
1aae088a
UD
48429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48430 OSXSAVE.
48431 (_dl_x86_64_save_sse): Likewise.
48432
8e2045f5
UD
48433 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48434
90f139dd
UD
48435 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48436
1d002f25
AS
484372011-07-21 Andreas Schwab <schwab@redhat.com>
48438
48439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48440 change.
48441 (_dl_x86_64_save_sse): Use correct AVX check.
48442
21137f89
UD
484432011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48444
48445 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48446 bug in strncpy/strncat.
48447 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48448
a65c0b7a
UD
484492011-07-21 Ulrich Drepper <drepper@gmail.com>
48450
48451 * string/tester.c (test_strcat): Add tests for different alignments
48452 of source and destination.
48453 (test_strncat): Likewise.
48454
6986b98a
UD
484552011-07-20 Ulrich Drepper <drepper@gmail.com>
48456
90bb2039
UD
48457 [BZ #12852]
48458 * posix/glob.c (glob): Check passed in values before using them in
48459 expressions to avoid some overflows.
48460 (glob_in_dir): Likewise.
48461
5644ef54
UD
48462 [BZ #13007]
48463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48464 check for AVX enablement so that we don't crash with old kernels and
48465 new hardware.
48466 * elf/tst-audit4.c: Add same checks here.
48467 * elf/tst-audit6.c: Likewise.
48468
48469 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48470
bfc9dc9b
AS
484712011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48472
48473 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48474
702e64bb
UD
484752011-07-20 Ulrich Drepper <drepper@gmail.com>
48476
48477 * po/cs.po: Update from translation team.
48478 * po/bg.po: Likewise.
48479
295e904f
MP
484802011-07-12 Marek Polacek <mpolacek@redhat.com>
48481
48482 * misc/sys/cdefs.h: Add support for const attribute.
48483 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48484 to gnu_dev_{major,minor,makedev} functions.
48485
3ff94596
MP
484862011-07-20 Marek Polacek <mpolacek@redhat.com>
48487
48488 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48489
28b59fca
AS
484902011-07-20 Andreas Schwab <schwab@redhat.com>
48491
48492 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48493 strlen results.
48494
19df733e
AK
484952011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48496
48497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48498 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48499 register in order to avoid conflicts with the soft frame pointer
48500 being held in r11 when necessary.
48501 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48502 (INTERNAL_VSYSCALL_NCS): Likewise.
48503
c8835729
MP
485042011-07-14 Marek Polacek <mpolacek@redhat.com>
48505
48506 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48507 * elf/dl-fini.c (_dl_fini): Adjust caller.
48508 * elf/dl-close.c (_dl_close_worker): Likewise.
48509 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48510
b902330c
MP
485112011-07-15 Marek Polacek <mpolacek@redhat.com>
48512
8991e135
MP
48513 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48514 "aux_cache->nlibs < 0".
48515
b902330c
MP
48516 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48517 in the reload-count case.
48518
99710781
LD
485192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48520
48521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48522 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48523 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48524 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48525 * sysdeps/x86_64/multiarch/strcat.S: New file.
48526 * sysdeps/x86_64/multiarch/strncat.S: New file.
48527 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48528 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48529 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48530 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48531 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48532 (USE_AS_STRCAT): Define.
48533 Add strcat and strncat support.
48534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48535 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48536 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48537 * string/strncat.c: Update.
48538 (USE_AS_STRNCAT): Define.
48539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48540 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48541 and i7.
48542 * sysdeps/x86_64/multiarch/init-arch.h
48543 (bit_Prefer_PMINUB_for_stringop): New.
48544 (index_Prefer_PMINUB_for_stringop): Likewise.
48545 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48546 bit_Prefer_PMINUB_for_stringop.
48547
7dc6bd90
UD
485482011-07-19 Ulrich Drepper <drepper@gmail.com>
48549
48550 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48551 buffer64.
48552 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48553 of casting of buffer.
48554 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48555 buffer32 and buffer64.
48556 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48557 writes instead of casting of buffer.
48558 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48559 buffer32.
48560 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48561 casting of buffer.
48562
e0e72284
AS
485632011-07-19 Andreas Schwab <schwab@redhat.com>
48564
48565 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48566
feb1eb0b
UD
485672011-07-19 Ulrich Drepper <drepper@gmail.com>
48568
48569 * nscd/nscd.c (termination_handler): Don't do anything for a database
48570 if it has not yet been initialized.
48571
298711ff
UD
485722011-07-18 Ulrich Drepper <drepper@gmail.com>
48573
48574 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48575
485762011-07-15 Marek Polacek <mpolacek@redhat.com>
48577
48578 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48579
f9d68389
UD
485802011-07-18 Ulrich Drepper <drepper@gmail.com>
48581
48582 * po/nl.po: Update from translation team.
48583 * po/sv.po: Likewise.
48584
db290cf5
RM
485852011-07-16 Roland McGrath <roland@hack.frob.com>
48586
48587 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48588 now disallowed by GCC.
5c550700 48589
fd5e21c7
RM
48590 * configure.in (use-default-link): Default to yes if a test -shared
48591 link meets our qualifications.
48592 * configure: Regenerated.
48593
5c550700
RM
48594 * config.make.in (output-format): New variable.
48595 * configure.in: Check for ld --print-output-format support.
48596 * configure: Regenerated.
48597 * Makerules ($(common-objpfx)format.lds)
48598 [$(output-format) != unknown]: Just use $(output-format),
48599 instead of the linker-script munging.
48600
9fa2c032
RM
486012011-07-14 Roland McGrath <roland@hack.frob.com>
48602
a6928d51
RM
48603 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48604 of $(common-objpfx)shlib.lds.
48605 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48606
661607b3
RM
48607 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48608 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48609
9fa2c032
RM
48610 * configure.in (-z relro check): Adjust test code to add a large
48611 writable data section after it.
48612 * configure: Regenerated.
48613
defe9061
RM
486142011-07-11 Roland McGrath <roland@hack.frob.com>
48615
48616 * configure.in (-z relro check): Fix test code to make the variable
48617 truly const.
48618 * configure: Regenerated.
48619
319b9ad4
UD
486202011-07-11 Ulrich Drepper <drepper@gmail.com>
48621
48622 * nscd/nscd.h (struct traced_file): Define.
48623 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48624 elements. Add traced_files.
48625 (inotify_fd): Declare.
48626 (register_traced_file): Declare.
48627 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48628 (inotify_fd): Export.
48629 (resolv_conf_descr): Remove.
48630 (nscd_init): Move inotify descriptor creation to main.
48631 Don't register files for notification here.
48632 (register_traced_file): New function.
48633 (invalidate_cache): Don't use reset_res to determine whether to call
48634 res_init, go through the list of registered files.
48635 (main_loop_poll): The inotify descriptors are now stored in the
48636 structures for the traced files.
48637 (main_loop_epoll): Likewise
48638 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48639 to __nss_disable_nscd.
48640 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48641 for a database anymore. Check the records for all the registered
48642 files instead.
48643 * nss/Makefile (libnss_files-routines): Add files-init.
48644 (libnss_db-routines): Add db-init.
48645 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48646 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48647 * nss/nss_db/db-init.c: New file.
48648 * nss/nss_files/files-init.c: New file.
48649 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48650 __nss_lookup_function.
48651 (__nss_lookup_function): Call nss_load_library.
48652 (nss_load_all_libraries): New function.
48653 (__nss_disable_nscd): Take parameter with callback function for files
48654 to register. Set is_nscd. Load all the DSOs for the NSS modules
48655 used for the cached services.
48656 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48657 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48658 options for features to all the files in nscd.
48659
48660 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48661
23bee3e8
RM
486622011-07-10 Roland McGrath <roland@hack.frob.com>
48663
48664 * csu/elf-init.c (__libc_csu_init): Comment typo.
48665
46a5b7f0
UD
486662011-07-09 Ulrich Drepper <drepper@gmail.com>
48667
48668 * po/pl.po: Update from translation team.
48669 * po/ja.po: Likewise.
48670 * po/ru.po: Likewise.
48671 * po/ko.po: Likewise.
48672 * po/fr.po: Likewise.
48673
d30cf5bb
RM
486742011-07-09 Roland McGrath <roland@hack.frob.com>
48675
113ddea4
RM
48676 * configure.in (.ctors/.dtors header and trailer check):
48677 Use an empirical test on a built program.
48678 * configure: Regenerated.
48679
574920b4
RM
48680 * configure.in (-z relro check): Use an empirical test on a built DSO.
48681 Detect, but do not require, on ia64.
48682 * configure: Regenerated.
48683
d30cf5bb
RM
48684 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48685 Update tests that use readelf to use $READELF instead.
48686 * configure: Regenerated.
48687
8538fdb3
UD
486882011-07-08 Ulrich Drepper <drepper@gmail.com>
48689
48690 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48691 if the result is not used.
48692
04d08991
AJ
486932011-07-05 Andreas Jaeger <aj@suse.de>
48694
48695 [BZ#9696]
48696 * stdlib/tst-strtod.c: Add testcase.
48697
de283087
AD
486982011-07-07 Ulrich Drepper <drepper@gmail.com>
48699
4e5f31c8 48700 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48701 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48702 The latter has a higher limit. Take additional parameter to pass to
48703 the new function.
48704 (__pathconf): Pass file to __statfs_link_max.
48705 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48706 __statfs_link_max.
48707 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48708 __statfs_link_max.
48709
de283087
AD
48710 [BZ #12868]
48711 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48712 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48713 Handle Lustre.
48714 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48715 (__statfs_filesize_max): Likewise.
48716 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48717
c75fa153
AJ
487182011-07-05 Andreas Jaeger <aj@suse.de>
48719
48720 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48721
1a544854
UD
487222011-07-06 Marek Polacek <mpolacek@redhat.com>
48723
48724 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48725 `status' variable.
48726 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48727 Likewise.
48728
6f0eec67
UD
487292011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48730
48731 * Makefile (strop-tests): Add strncat.
48732 * string/test-strncat.c: New file.
48733
aae30307
UD
487342011-06-30 Marek Polacek <mpolacek@redhat.com>
48735
48736 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48737
c0cfb5eb
UD
487382011-06-21 Andreas Jaeger <aj@suse.de>
48739
48740 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48741 Copy rule from iconvdata/Makefile.
48742
01636b21
UD
487432011-07-06 Ulrich Drepper <drepper@gmail.com>
48744
48745 [BZ #12922]
48746 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48747 but no long options are defined, just return 'W'.
48748
9895c8bc
UD
487492011-06-22 Marek Polacek <mpolacek@redhat.com>
48750
48751 [BZ #9696]
48752 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48753
5d4cf042
UD
487542011-07-06 Ulrich Drepper <drepper@gmail.com>
48755
48756 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48757 netgroups to read.
960e5535 48758 (innetgr): Likewise.
5d4cf042 48759
751eb97e
RM
487602011-07-05 Roland McGrath <roland@hack.frob.com>
48761
48762 * config.make.in (install_root): Default to $(DESTDIR).
48763
f15f1e45
UD
487642011-07-05 Ulrich Drepper <drepper@gmail.com>
48765
48766 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48767
4e34ac6a
RM
487682011-07-02 Roland McGrath <roland@hack.frob.com>
48769
5e9b6af4
RM
48770 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48771
84f9ea0f
RM
48772 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48773 containing directory rather than embedding absolute directory names.
48774
ea5ee9f7
RM
48775 * scripts/check-local-headers.sh: Rewritten using awk.
48776 Match by word, not by line. Print error messages for matches.
48777 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48778
1b74661a
RM
48779 * Makerules [shlib-lds-flags empty]:
48780 ($(common-objpfx)libc_pic.opts): New target.
48781 ($(common-objpfx)libc_pic.os.clean): New target.
48782 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48783
48784 * config.make.in (OBJCOPY): New variable.
48785 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48786 * configure: Regenerated.
48787
f781ef40
RM
48788 * config.make.in (use-default-link): New variable.
48789 * configure.in (use_default_link): Grok --with-default-link to set it.
48790 * configure: Regenerated.
48791 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48792 (shlib-lds, shlib-lds-flags): Define to empty.
48793
2d4fa81e
RM
48794 * Makerules (shlib-lds): New variable.
48795 (shlib-lds-flags): New variable.
48796 (build-shlib, build-moduile, build-module-asneeded): Use it.
48797 ($(common-objpfx)libc.so): Use $(shlib-lds).
48798 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48799 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48800
31fffa6b
RM
48801 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48802 DT_FLAGS/DT_FLAGS_1 with zero flags.
48803
4e34ac6a
RM
48804 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48805 linker script munging.
48806
fcfc776b
UD
488072011-07-02 Ulrich Drepper <drepper@gmail.com>
48808
48809 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48810 as 128-bit value.
48811 * crypt/sha512.c (sha512_process_block): Perform total addition using
48812 128-bit if possible.
48813 (__sha512_finish_ctx): Likewise.
48814 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48815 as 64-bit value.
48816 * crypt/sha256.c (SWAP64): Define.
48817 (sha256_process_block): Perform total addition using 64-bit if
48818 possible.
48819 (__sha256_finish_ctx): Likewise.
48820
99231d9a
UD
488212011-07-01 Ulrich Drepper <drepper@gmail.com>
48822
48823 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48824 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48825 * nscd/hstcache.c (cache_addhst): Likewise.
48826 * nscd/grpcache.c (cache_addgr): Likewise.
48827 * nscd/aicache.c (addhstaiX): Likewise
48828 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48829
445b4a53
TK
488302011-07-01 Thorsten Kukuk <kukuk@suse.de>
48831
48832 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48833 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48834 * nscd/hstcache.c (cache_addhst): Likewise.
48835 * nscd/grpcache.c (cache_addgr): Likewise.
48836 * nscd/aicache.c (addhstaiX): Likewise
48837
6d4d8e8e
AS
488382011-07-01 Andreas Schwab <schwab@redhat.com>
48839
48840 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48841 domain only when needed.
48842
89f654c5
AS
488432011-06-30 Andreas Schwab <schwab@redhat.com>
48844
48845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48846 is always restored.
48847
cf3b23ff
UD
488482011-06-29 Ulrich Drepper <drepper@gmail.com>
48849
48850 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48851 are re-adding the entry.
48852 * nscd/servicescache.c (cache_addserv): Likewise.
48853
751626f9
AJ
488542011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48855
48856 * sysdeps/generic/dl-irel.h: fix protection against multiple
48857 inclusions.
48858 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48859
9113ea1f
UD
488602011-06-28 Ulrich Drepper <drepper@gmail.com>
48861
5c0b8d90
UD
48862 [BZ #12935]
48863 * malloc/memusage.sh: Fix quoting in message.
48864 * debug/xtrace.sh: Likewise.
48865
9113ea1f
UD
48866 * configure.in: Remove support for --experimental-malloc option, make
48867 it the default.
48868 * config.make.in: Likewise.
48869 * malloc/Makefile: Likewise.
48870
a4172181
AS
488712011-06-27 Andreas Schwab <schwab@redhat.com>
48872
48873 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48874 two-byte characters.
48875
78a7eee7
RM
488762011-06-27 Roland McGrath <roland@hack.frob.com>
48877
62bede13
RM
48878 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48879 AC_CACHE_CHECK invocation.
48880 * configure: Regenerated.
48881
78a7eee7
RM
48882 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48883
5ce33a62
UD
488842011-06-27 Ulrich Drepper <drepper@gmail.com>
48885
034807a9
UD
48886 [BZ #12350]
48887 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48888 bit from old_res_options.
48889
4902da17
UD
48890 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48891
5ce33a62
UD
48892 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48893 value type for setfct.
48894
c2344f56
L
488952011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48896
48897 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48898 __gettimeofday instead of gettimeofday.
48899
68468076
UD
489002011-06-26 Ulrich Drepper <drepper@gmail.com>
48901
48902 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48903
acb0d739
L
489042011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48905
48906 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48907
48908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48909 info.
48910
8912479f
L
489112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48912
48913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48914 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48915 strcpy-sse2-unaligned strncpy-sse2-unaligned
48916 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48917 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48918 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48919 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48920 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48921 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48923 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48924 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48925 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48926 (STRCPY): Support SSE2 and SSSE3 versions.
48927
d5495a11
UD
489282011-06-24 Ulrich Drepper <drepper@gmail.com>
48929
48930 [BZ #12874]
48931 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48932 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48933 kernels which artificially limit size of requests.
48934
0b1cbaae
L
489352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48936
48937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48938 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48939 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48940 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48941 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48942 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48943 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48944 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48945 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48947 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48948 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48949 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48950 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48951 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48953 Enable unaligned load optimization for Intel Core i3, i5 and i7
48954 processors.
48955 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48956 Define.
48957 (index_Fast_Unaligned_Load): Define.
48958 (HAS_FAST_UNALIGNED_LOAD): Define.
48959
07f494a0
MP
489602011-06-23 Marek Polacek <mpolacek@redhat.com>
48961
48962 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48963
fa3fc0fe
UD
489642011-06-22 Ulrich Drepper <drepper@gmail.com>
48965
48966 [BZ #12907]
48967 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48968 until it is clear that the information is realy needed.
48969 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48970
e12df166
AS
489712011-06-22 Andreas Schwab <schwab@redhat.com>
48972
48973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48974
852eb34d
UD
489752011-06-22 Ulrich Drepper <drepper@gmail.com>
48976
84e2a551
UD
48977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48978 /sys/devices/system/cpu/online if it is usable.
48979
852eb34d
UD
48980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48981 reading the information from the /proc filesystem to once a second.
48982
6e502e19
UD
489832011-06-21 Andreas Jaeger <aj@suse.de>
48984
48985 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48986 NULL after inclusion of kernel headers.
48987
75d39ff2
UD
489882011-06-21 Ulrich Drepper <drepper@gmail.com>
48989
51f9aa6a
UD
48990 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48991 calls to internal_setent.
48992
c0244a9d
UD
48993 [BZ #12885]
48994 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48995 addresses using gethostbyname4_r ignore IPv4 addresses.
48996
c5e3c2ae
UD
48997 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48998 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48999
75d39ff2
UD
49000 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49001
42675c6f
DM
490022011-06-20 David S. Miller <davem@davemloft.net>
49003
49004 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49005 inclusions.
49006 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49007
49008 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49009 (elf_irel): Use it.
49010 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49011 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49012 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49013 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49014 * sysdeps/x86_64/dl-irel.h: Likewise.
49015
49016 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49017 * elf/dl-sym.c: Likewise.
49018
57912a71
UD
490192011-06-15 Ulrich Drepper <drepper@gmail.com>
49020
49021 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49022 need to dereference resplen2.
49023
ee22793d
AS
490242011-06-14 Andreas Schwab <schwab@redhat.com>
49025
49026 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49027
a9e836b0
UD
490282011-06-15 Ulrich Drepper <drepper@gmail.com>
49029
77fb9117
UD
49030 * Makeconfig: Define vardbdir and inst_vardbdir.
49031 * nss/Makefile: Add rules to install db-Makefile.
49032
40c1b22c
UD
49033 * nss/nss_db/db-XXX.c: Cleanup.
49034
9f2da732
UD
49035 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49036 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49037 GLIBC_PRIVATE.
49038 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49039 * nss/makedb.c: Implement -g option to specify that value strings
49040 are generated and should not be added to table iterated over for
49041 get*ent calls.
49042 * nss/nss_db/db-initgroups.c: New file.
49043
82e9a1f7
UD
49044 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49045 interface.
49046
c41af17e
UD
49047 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49048 (internal_getgrouplist): Adjust to name change.
49049 Update use_initgroups_entry if this is not the first call.
49050 * nss/databases.def: Add initgroups entry.
49051
a9e836b0
UD
49052 * nss/makedb.c (compute_tables): Check result of multiple hash table
49053 sizes to minimize maximum chain length.
49054
2666d441
UD
490552011-06-14 Ulrich Drepper <drepper@gmail.com>
49056
49057 * Versions.def: Add entry for libnss_db.
49058 * shlib-versions: Likewise.
49059 * nss/Makefile: Add rules to build libnss_db.
49060 * nss/Versions: Add libnss_db information. Organize libnss_files
49061 entries better.
49062 * nss/db-Makefile: Add gshadow support. Change rules for the new
49063 makedb progra. Some minor improvements to generate smaller files.
49064 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49065 here from...
49066 * nss/makedb.c: ...here.
49067 Improve database format to be smaller and require less memory at
49068 runtime.
49069 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49070 db anymore.
49071 * nss/nss_db/db-netgrp.c: Likewise.
49072 * nss/nss_db/db-open.c: Likewise.
49073 * nss/nss_files/flies-XXX.x: Adjust comments.
49074 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49075 * nss/nss_files/files-grp.c: Likewise.
49076 * nss/nss_files/files-hosts.c: Likewise.
49077 * nss/nss_files/files-network.c: Likewise.
49078 * nss/nss_files/files-proto.c: Likewise.
49079 * nss/nss_files/files-pwd.c: Likewise.
49080 * nss/nss_files/files-rpc.c: Likewise.
49081 * nss/nss_files/files-service.c: Likewise.
49082 * nss/nss_files/files-sgrp.c: Likewise.
49083 * nss/nss_files/files-spwd.c: Likewise.
49084 * nss/nss_db/db-alias.c: Removed.
49085 * nss/nss_db/dummy-db.h: Removed.
49086
9ee76b5a
UD
490872011-06-02 Ulrich Drepper <drepper@gmail.com>
49088
49089 * nss/makedb.c: Rewritten to not use database library.
49090 * nss/Makefile: Update to build new makedb program.
49091
c71ca1f8
AJ
490922011-06-14 Andreas Jaeger <aj@suse.de>
49093
49094 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49095 memset declaration.
49096
3154bfb8
UD
490972011-06-10 Andreas Schwab <schwab@redhat.com>
49098
49099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49100 tmpbuf.
49101
b350afab
RM
491022011-06-10 Roland McGrath <roland@hack.frob.com>
49103
decd4e50
RM
49104 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49105 * elf/Makefile ($(objpfx)ld.so): Likewise.
49106
5615eaf2
RM
49107 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49108 Don't list ld.so twice in dependencies.
49109
49110 * posix/bug-regex31.c: Include <stdlib.h>.
49111
49112 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49113
49114 * nis/nss_compat/compat-spwd.c
49115 (getspent_next_nss_netgr): Remove unused variable.
49116 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49117
49118 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49119 nonmembers" output to use the right array.
49120
49121 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49122
49123 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49124
49125 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49126 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49127 * catgets/gencat.c (read_input_file): Likewise.
49128 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49129
49130 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49131 variable definition inside #if's controlling its use.
49132
49133 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49134
49135 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49136
49137 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49138
49139 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49140 unreachable code.
49141
49142 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49143
b68e08db
RM
49144 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49145 * configure: Regenerated.
49146
b350afab
RM
49147 * Makerules: Revert last change.
49148 * elf/Makefile: Likewise.
49149
28368601
RM
491502011-06-09 Roland McGrath <roland@hack.frob.com>
49151
49152 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49153 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49154 (reloc-link): Likewise.
49155
11988f8f
UD
491562011-06-09 Ulrich Drepper <drepper@gmail.com>
49157
49158 * elf/Makefile: Add rules to build pldd.
49159 * elf/pldd.c: New file.
49160 * elf/pldd-xx.c: New file.
49161
e80fab37
UD
491622011-06-07 Ulrich Drepper <drepper@gmail.com>
49163
49164 * version.h: Update for 2.15 development version.
49165
9b849836
DM
491662011-06-07 David S. Miller <davem@davemloft.net>
49167
49168 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49169 ifuncs.
49170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49171 elf_machine_lazy_rel): Likewise.
49172 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49174 elf_machine_lazy_rel): Likewise.
49175 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49176 dl_hwcap via passed in argument.
49177 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49178 Likewise.
49179
5a31b283
AK
491802011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49181
49182 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49183
069e52f8
RM
491842011-06-06 Roland McGrath <roland@hack.frob.com>
49185
49186 [BZ #12849]
49187 * manual/fdl-1.1.texi: New file, verbatim from:
49188 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49189 * manual/lgpl-2.1.texi: New file, verbatim from:
49190 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49191 * manual/Makefile (licenses): New variable, list those new file names.
49192 (texis): Use it.
49193 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49194
49195 * manual/fdl.texi: File removed.
49196 * manual/lesser.texi: File removed.
49197 * manual/libc.texinfo (Copying, Documentation License):
49198 Use new @include file names, put @appendix directive before @include.
49199
f16846a5
JJ
492002011-06-04 Jakub Jelinek <jakub@redhat.com>
49201
49202 [BZ #12841]
49203 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49204 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49205 (mq_open): Add __NTH.
49206
3d29045b
L
492072011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49208
49209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49210 Assume Intel Core i3/i5/i7 processor if AVX is available.
49211
8c297311
UD
492122011-05-31 Ulrich Drepper <drepper@gmail.com>
49213
49214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49215 typo.
49216
c8fc0c91
UD
492172011-05-31 Andreas Schwab <schwab@redhat.com>
49218
49219 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49220 memory. Use alloca_account. Fix memory leak when retrying.
49221
5b27a807
UD
492222011-05-31 Ulrich Drepper <drepper@gmail.com>
49223
356f8bc6
UD
49224 * version.h (RELEASE): Bump for 2.14 release.
49225 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49226
5b27a807
UD
49227 * config.make.in (RANLIB): Remove entry.
49228
01f16ab0
UD
492292011-05-30 Ulrich Drepper <drepper@gmail.com>
49230
41fce8bd
UD
49231 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49232 (libc.pot): Work around missing support for .ksh extension in xgettext.
49233
4769ae77
UD
49234 [BZ #12684]
49235 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49236 if both request failed.
49237 (send_dg): In case of server errors clear resplen or *resplen2.
49238
6b1e7d19
UD
49239 [BZ #12454]
49240 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49241 when there are multiple maps.
49242 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49243 (_dl_fini): Remove test here.
49244
01f16ab0
UD
49245 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49246
b1ebd700
UD
492472011-05-29 Ulrich Drepper <drepper@gmail.com>
49248
7ae22829
UD
49249 [BZ #12350]
49250 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49251 bit from old_res_options.
49252 (gaih_inet): Likewise.
49253
553149f6 49254 [BZ #11099]
18a84741 49255 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49256 as signed.
49257
652ffab1
UD
49258 * resolv/res_init.c (res_setoptions): Make the code more compact.
49259
16985fd0
UD
49260 [BZ #11558]
49261 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49262 set RES_USEVC.
49263
0464f746
UD
49264 [BZ #11634]
49265 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49266
7d17596c
UD
49267 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49268
cf6bbbd7
UD
49269 [BZ #11781]
49270 * malloc/malloc.h: Declare malloc hook variables as volatile.
49271
13f1ab36
UD
49272 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49273 in last patch.
49274
b1ebd700
UD
49275 [BZ #11799]
49276 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49277 raise in the comment.
80e2212d
UD
49278 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49279 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49280 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49281
ce67228d
UD
492822011-05-28 Ulrich Drepper <drepper@gmail.com>
49283
8887a920
UD
49284 [BZ #12811]
49285 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49286 grow the buffers more if it already has to be sufficient.
49287 (build_wcs_upper_buffer): Likewise.
49288 * posix/regexec.c (check_matching): Likewise.
49289 (clean_state_log_if_needed): Likewise.
49290 (extend_buffers): Don't enlarge buffers beyond size of the input
49291 buffer.
49292 Patches mostly by Emil Wojak <emil@wojak.eu>.
49293 * posix/bug-regex32.c: New file.
49294 * posix/Makefile (tests): Add bug-regex32.
49295
4f031072
UD
49296 * locale/findlocale.c (_nl_find_locale): Return right away if
49297 _nl_explode_name failed.
49298 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49299
d0478f0c
UD
49300 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49301
de81b246
UD
49302 * debug/xtrace.sh: Unify messages.
49303 * malloc/memusage.sh: Likewise.
49304
c738465a
UD
49305 [BZ #12813]
49306 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49307 time symbol from vDSO. Substitute with vsyscall if not available.
49308 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49309 __vdso_time.
49310
f1f929d7
UD
49311 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49312 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49313 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49314 Add sendmmsg and internal_sendmmsg.
49315 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49316 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49317 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49318
ce67228d
UD
49319 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49320 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49321 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49322
e57420c6
UD
493232011-05-27 Ulrich Drepper <drepper@gmail.com>
49324
a8509ca5
UD
49325 [BZ #12813]
49326 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49327 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49328 available.
49329 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49330 __vdso_getcpu.
49331
e57420c6
UD
49332 [BZ #12814]
49333 * iconvdata/Makefile (tests): Add bug-iconv9.
49334 * iconvdata/bug-iconv9.c: New file.
49335
4d07db15
AS
493362011-05-27 Andreas Schwab <schwab@redhat.com>
49337
49338 [BZ #12814]
49339 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49340
ea486f69
JJ
493412011-05-25 Jakub Jelinek <jakub@redhat.com>
49342
49343 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49344 (struct user_regs_struct): Change intcs field back to cs.
49345
6f038433
UD
493462011-05-25 Ulrich Drepper <drepper@gmail.com>
49347
49348 * po/ja.po: Update from translation team.
49349
67f86a25
UD
493502011-05-23 Ulrich Drepper <drepper@gmail.com>
49351
49352 [BZ #12795]
49353 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49354 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49355
def7fbd6
AS
493562011-05-20 Andreas Schwab <schwab@redhat.com>
49357
49358 * stdlib/longlong.h: Update from GCC.
49359
f50ef8f1
AS
493602011-05-23 Andreas Schwab <schwab@redhat.com>
49361
49362 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49363 parameter name.
49364 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49365 Add parameter name.
49366 (__sysconf): Pass it down.
49367
de7ce8f1
UD
493682011-05-22 Ulrich Drepper <drepper@gmail.com>
49369
f2962a71
UD
49370 [BZ #12671]
49371 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49372 some situations.
49373 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49374 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49375 add in in __libc_use_alloca calls. Adjust callers.
49376 (glob): Use malloc in some situations.
49377
de7ce8f1
UD
49378 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49379 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49380 pltexit.
49381
aec84f53
UD
493822011-05-21 Ulrich Drepper <drepper@gmail.com>
49383
05bb4a68
UD
49384 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49385 and CLOCK_BOOTTIME_ALARM.
49386
7ea72f99
UD
49387 [BZ #12782]
49388 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49389 is returned.
49390
7e4afad5
UD
49391 * string/_strerror.c (__strerror_r): Print negative errors as signed
49392 numbers.
49393
8e211fec
UD
49394 [BZ #12777]
49395 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49396 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49397 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49398
f7d82dc9
UD
49399 * configure.in: Fix typo in redirection and correct removal of test
49400 files in two cases.
49401
cc9e536d
UD
49402 [BZ #12788]
49403 * locale/setlocale.c (new_composite_name): Fix test to check for
49404 identical name of all categories.
49405
aec84f53
UD
49406 [BZ #12792]
49407 * libio/filedoalloc.c (local_isatty): New function.
49408 (_IO_file_doallocate): Use local_isatty.
49409 * stdio-common/perror.c (perror): In case a new stream is used
49410 forward the stream error.
49411 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49412 error flag.
49413
78e64fdc
RT
494142011-05-20 Ulrich Drepper <drepper@gmail.com>
49415
34a9094f
UD
49416 [BZ #11869]
49417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49418 alloca.
49419 * include/alloca.h (extend_alloca_account): Define.
49420
78e64fdc
RT
49421 [BZ #11857]
49422 * posix/regex.h: Fix comments with documentation of user-accessible
49423 fields after compilation and describe correct free'ing of pattern
49424 after re_compile_pattern.
49425 Patch by Reuben Thomas <rrt@sc3d.org>.
49426
457bddfc
RA
494272011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49428
49429 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49430 and -mno-altivec to prevent the compiler from using Altivec and/or
49431 VSX instructions when the corresponding registers are not available.
49432
a4527b51
AS
494332011-05-19 Andreas Schwab <schwab@redhat.com>
49434
49435 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49436
ed690b2f
UD
494372011-05-19 Ulrich Drepper <drepper@gmail.com>
49438
49439 * libio/freopen.c (freopen): Use __dup2, not dup2.
49440 * libio/freopen64.c (freopen64): Likewise.
49441
8db73634
L
494422011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49443
49444 [BZ #12775]
49445 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49446 * math/Makefile (tests): Add test-powl.
49447 (CFLAGS-test-powl.c): Define.
49448 * math/test-powl.c: New file.
49449
0a197a9d
L
494502011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49451
49452 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49453
ee30c380
UD
494542011-05-17 Ulrich Drepper <drepper@gmail.com>
49455
49456 [BZ #11837]
49457 * iconvdata/gb18030.c: Update to GB18020-2005.
49458
6ce75379
UD
494592011-05-16 Ulrich Drepper <drepper@gmail.com>
49460
a4b89fd8
AR
49461 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49462 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49463 Patch by Aharon Robbins <arnold@skeeve.com>.
49464
ea389b12
UD
49465 [BZ #11892]
49466 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49467 on the stack.
49468
68a3f91f
UD
49469 [BZ #11895]
49470 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49471 through underflows.
49472
15cc7dd1
UD
49473 [BZ #12766]
49474 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49475 point to strings before performing equality test for error_one_per_line
49476 mode.
49477
f3799213
UD
49478 [BZ #11697]
49479 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49480
d79a9c94
UD
49481 [BZ #11820]
49482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49483 (struct user_fpregs_struct): Avoid __uint*_t types.
49484
56e5eb46
UD
49485 [BZ #6420]
49486 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49487 symbol info. Use it instead of calling _dl_addr locally.
49488 (lock_and_info): New function.
49489 (tr_freehook): Call lock_and_info and pass symbol info as additional
49490 parameter to tr_where.
49491 (tr_mallochook): Likewise.
49492 (tr_reallochook): Likewise.
49493 (tr_memalignhook): Likewise.
49494
6ce75379
UD
49495 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49496 used and couldn't be at all thread-safe.
49497
f8a3b5bf
UD
494982011-05-15 Ulrich Drepper <drepper@gmail.com>
49499
94b7cc37
UD
49500 * libio/freopen.c (freopen): Don't close old file descriptor
49501 before the new one is opened. Instead dup the new file descriptor
49502 to the old one after the new stream is created.
49503 * libio/freopen64.c (freopen64): Likewise.
49504 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49505 * libio/fileops.c (_IO_new_file_close_it): Handle new
49506 _IO_FLAGS2_NOCLOSE flag.
49507 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49508 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49509 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49510 _IO_FLAGS2_NOCLOSE flag.
49511 * include/unistd.h: Add hidden_proto for dup3.
49512 Define __have_dup3.
49513 * io/dup3.c: Define hidden symbol.
49514 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49515
bd25564e
UD
49516 [BZ #7101]
49517 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49518 when an incomplete long option is used.
49519 * posix/tst-getopt_long1.c: New file.
49520 * posix/Makefile (tests): Add tst-getopt_long1.
49521
c84cfef4
UD
49522 [BZ #10138]
49523 * scripts/config.guess: Update from autoconf-2.68.
49524 * scripts/config.sub: Likewise.
49525
3b85df27
UD
49526 [BZ #10157]
49527 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49528 tests into ...
49529 (has_cpuclock): ...this. New function.
49530 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49531 macro here based on has_cpuclock code.
49532
15a856b1
UD
49533 [BZ #10149]
49534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49535 First byte (not low byte) is now always NUL.
49536 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49537
05f399e6
UD
49538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49539 Use non-cancelable interfaces.
49540
10a52685 49541 [BZ #9809]
94ecc67d
UD
49542 * locale/iso-639.def: Add entry for Sorani.
49543
f8a3b5bf
UD
49544 [BZ #11901]
49545 * include/stdlib.h: Move include protection to the right place.
49546 Define abort_msg_s. Declare __abort_msg with it.
49547 * stdlib/abort.c (__abort_msg): Adjust type.
49548 * assert/assert.c (__assert_fail_base): New function. Majority
49549 of code from __assert_fail. Allocate memory for __abort_msg with
49550 mmap.
49551 (__assert_fail): Now call __assert_fail_base.
49552 * assert/assert-perr.c: Remove bulk of implementation. Use
49553 __assert_fail_base.
49554 * include/assert.hL Declare __assert_fail_base.
49555 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49556 mmap.
49557 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49558
1af4e298
UD
495592011-05-14 Ulrich Drepper <drepper@gmail.com>
49560
f8a3b5bf 49561 [BZ #11952]
d26dfc60
MG
49562 [BZ #12453]
49563 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49564 until all modules are registered in the DTV.
49565 * elf/Makefile: Add rules to build and run tst-tls19.
49566 * elf/tst-tls19.c: New file.
49567 * elf/tst-tls19mod1.c: New file.
49568 * elf/tst-tls19mod2.c: New file.
49569 * elf/tst-tls19mod3.c: New file.
49570 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49571
2fc54d6f
UD
49572 [BZ #12083]
49573 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49574 correctly.
49575
98d76b46
UD
49576 [BZ #12601]
49577 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49578 two-byte sequence errors.
49579 * iconvdata/Makefile (tests): Add bug-iconv8.
49580 * iconvdata/bug-iconv8.c: New file.
49581
da3c19ef
UD
49582 [BZ #12626]
49583 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49584 buf2 definition.
49585
ca408c15
UD
49586 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49587
d6f67f7d
UD
49588 [BZ #12432]
49589 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49590 (dummy_getcfa): New function.
49591 (init): Get _Unwind_GetCFA address, use dummy if not found.
49592 (backtrace_helper): In recursion check, also check whether CFA changes.
49593 (__backtrace): Completely initialize arg.
49594
1af4e298 49595 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49596 storing incomplete byte sequence in state object. Avoid testing for
49597 guaranteed too small input if we know there is enough data available.
1af4e298 49598
da62f81b
AS
495992011-05-11 Andreas Schwab <schwab@redhat.com>
49600
49601 * Makeconfig (+link-pie): Indent.
49602 * Rules (binaries-pie): Define if $(have-fpie) and
49603 $(build-shared).
49604 (binaries-shared): Also filter out $(binaries-pie).
49605 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49606 * nscd/Makefile (others-pie): Add nscd.
49607 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49608 ($(objpfx)nscd): Remove command override.
49609 * login/Makefile (others-pie): Add pt_chown.
49610 ($(objpfx)pt_chown): Remove command override.
49611 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49612 remove command overrides.
49613
fcabc0f8
UD
496142011-05-13 Ulrich Drepper <drepper@gmail.com>
49615
20030ae6
UD
49616 * libio/tst_putwc.c: Fix error messages.
49617
fcabc0f8
UD
49618 [BZ #12724]
49619 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49620 currently writing and seek to current position when not.
49621 * libio/Makefile (tests): Add bug-fclose1.
49622 * libio/bug-fclose1.c: New file.
49623
320a5dc0
PB
496242011-05-12 Ulrich Drepper <drepper@gmail.com>
49625
49626 [BZ #12511]
49627 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49628 don't set DF_1_NODELETE here.
49629 (do_lookup_x): When entering new entry test for copy relocation
49630 and if necessary set DF_1_NODELETE flag.
49631 * elf/tst-unique4.cc: New file.
49632 * elf/tst-unique4.h: New file.
49633 * elf/tst-unique4lib.cc: New file.
49634 * elf/Makefile: Add rules to build and run tst-unique4.
49635 Patch by Piotr Bury <pbury@goahead.com>.
49636
22836f52
UD
496372011-05-11 Ulrich Drepper <drepper@gmail.com>
49638
f574184a
UD
49639 [BZ #12052]
49640 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49641
e1fb097f
UD
49642 [BZ #12625]
49643 * misc/mntent_r.c (addmntent): Flush the stream after the output
49644
22836f52
UD
49645 [BZ #12393]
49646 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49647 (is_trusted_path_normalize): Skip initial colon. Append slash
49648 to empty buffer. Duplicate is_trusted_path code but allow
49649 constructed patch to be prefix.
49650 (is_dst): Allow $ORIGIN followed by /.
49651 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49652 Correct testing of result of is_trusted_path_normalize
49653 (decompose_rpath): Fix warning.
49654
7b3b0b2a
UD
496552011-05-10 Ulrich Drepper <drepper@gmail.com>
49656
49657 [BZ #11257]
49658 * grp/initgroups.c (internal_getgrouplist): When we found the service
49659 list through the initgroups entry in nsswitch.conf do not always
49660 continue on a successful lookup. Don't always use the
eac80ce2 49661 __nss_group_database value if it is set.
7b3b0b2a
UD
49662 * nss/nsswitch.conf (initgroups): Change action for successful db
49663 lookup to continue for compatibility.
49664
2a81eaa5
UD
496652011-05-09 Ulrich Drepper <drepper@gmail.com>
49666
be97a69e
UD
49667 [BZ #11532]
49668 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49669 and CP774 modules.
49670 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49671 and CP774 modules.
49672 * iconvdata/tst-tables.sh: Likewise.
49673 * iconvdata/cp770.c: New file.
49674 * iconvdata/cp771.c: New file.
49675 * iconvdata/cp772.c: New file.
49676 * iconvdata/cp773.c: New file.
49677 * iconvdata/cp774.c: New file.
49678 * iconvdata/testdata/CP770: New file.
49679 * iconvdata/testdata/CP770..UTF8: New file.
49680 * iconvdata/testdata/CP771: New file.
49681 * iconvdata/testdata/CP771..UTF8: New file.
49682 * iconvdata/testdata/CP772: New file.
49683 * iconvdata/testdata/CP772..UTF8: New file.
49684 * iconvdata/testdata/CP773: New file.
49685 * iconvdata/testdata/CP773..UTF8: New file.
49686 * iconvdata/testdata/CP774: New file.
49687 * iconvdata/testdata/CP774..UTF8: New file.
49688
49689 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49690 END CHARMAP line.
49691 * iconvdata/gen-8bit-gap.sh: Likewise.
49692 * iconvdata/gen-8bit.sh: Likewise.
49693
c1e9e399
UD
49694 * locale/iso-639.def: Add ary entry.
49695
24c55fb3 49696 [BZ #11258]
96b4b1b0
UD
49697 * locale/C-translit.h.in: Add U20A1 transliteration.
49698
bdc2f971
KB
49699 [BZ #12178]
49700 * locale/iso-639.def: Add wae entry.
49701 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49702
2952b117
UD
49703 [BZ #12545]
49704 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49705 for n.
49706
2a81eaa5
UD
49707 [BZ #12711]
49708 * locale/C-translit.h.in: Add entry for U20B9.
49709 Patch by pravin.d.s@gmail.com.
49710
28377d1b
UD
497112011-05-08 Ulrich Drepper <drepper@gmail.com>
49712
7fb90fb8
UD
49713 [BZ #12713]
49714 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49715 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49716 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49717 in rtld. Use *stat64.
7fb90fb8 49718 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49719 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49720 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49721 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49722 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49723 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49724 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49725 __fstatat64 macros.
7fb90fb8
UD
49726 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49727 * dirent/rewinddir.c: Add libc_hidden_def.
49728 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49729 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49730
28377d1b
UD
49731 * include/dirent.h (__alloc_dir): Add flags parameter.
49732 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49733 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49734 __alloc_dir.
49735 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49736 from fdopendir if O_CLOEXEC is already set.
49737
66bdbaa4
AM
497382011-03-15 Alan Modra <amodra@gmail.com>
49739
49740 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49741 l_tls_firstbyte_offset non-zero. Save padding offset in
49742 l_tls_firstbyte_offset for later use.
49743 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49744 freeing static tls block.
49745
95721191
JN
497462011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49747
49748 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49749 where #ifdef was intended. The intent is to prevent ARG_MAX from
49750 being defined by the kernel headers.
49751
f87dfb1f
UD
497522011-05-07 Ulrich Drepper <drepper@gmail.com>
49753
49754 [BZ #12734]
49755 * resolv/resolv.h: Define RES_NOTLDQUERY.
49756 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49757 no-tld-query and set RES_NOTLDQUERY.
49758 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49759 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49760 modern BIND to search name as TLD unless forbidden.
49761
47c3cd7a
UD
497622011-05-07 Petr Baudis <pasky@suse.cz>
49763 Ulrich Drepper <drepper@gmail.com>
49764
49765 [BZ #12393]
49766 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49767 (is_trusted_path): ...to here.
c1e9ea35 49768 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49769 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49770 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49771
8a35c912
PP
497722011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49773
49774 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49775 __BEGIN/__END_DECLS.
49776
acd41f47
UD
497772011-05-06 Ulrich Drepper <drepper@gmail.com>
49778
49779 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49780 NSS_STATUS_NOTFOUND if no record was found.
49781
597df647
AS
497822011-05-05 Andreas Schwab <schwab@redhat.com>
49783
49784 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49785 (headers-not-in-tirpc): Remove rpc/netdb.h
49786 * resolv/netdb.h: Revert last change.
49787
b9af1301
PP
497882011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49789
49790 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49791 circular dependency between libgcc.a and libc.a.
49792
4e34d5f5
AS
497932011-05-05 Andreas Schwab <schwab@redhat.com>
49794
49795 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49796 * nis/Makefile: Don't install rpcsvc/*.
49797 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49798 instead of <rpc/types.h>.
49799 (MAXHOSTNAMELEN): Define.
49800
00ee369c
AS
498012011-05-03 Andreas Schwab <schwab@redhat.com>
49802
49803 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49804
0b592a30
MB
498052011-04-28 Maciej Babinski <mbabinski@google.com>
49806
49807 [BZ #12714]
49808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49809 gethostbyname4_r when IPv6 results are possible.
49810
6e04cbbe
UD
498112011-05-02 Ulrich Drepper <drepper@gmail.com>
49812
49813 [BZ #12723]
49814 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49815 _PC_PIPE_BUF handling.
49816
e4ecafe0
BH
498172011-04-30 Bruno Haible <bruno@clisp.org>
49818
49819 [BZ #12717]
49820 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49821 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49822 to 'int'.
49823 * inet/getnameinfo.c (getnameinfo): Likewise.
49824
125ee683
UD
498252011-04-29 Ulrich Drepper <drepper@gmail.com>
49826
49827 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49828 to groups setting in database lookup.
49829 * nss/nsswitch.conf: Add initgroups entry.
49830
b722481a
EB
498312011-04-22 Ulrich Drepper <drepper@gmail.com>
49832
49833 [BZ #12685]
49834 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49835 mode string.
49836 Patch by Eric Blake <eblake@redhat.com>.
49837
4df46dbd
L
498382011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49839
49840 * sunrpc/Makefile (need-export-routines): Add svc_run.
49841 (routines): Remove svc_run.
49842 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49843 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49844 * sunrpc/svc_run.c (svc_run): Likewise.
49845 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49846
e84142d2
UD
498472011-04-21 Ulrich Drepper <drepper@gmail.com>
49848
49849 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49850 problem in reallocation in last patch.
49851
877175d8
UD
498522011-04-20 Ulrich Drepper <drepper@gmail.com>
49853
49854 * sunrpc/Makefile: Move inclusion of Rules.
49855
ab8eed78
UD
498562011-04-19 Ulrich Drepper <drepper@gmail.com>
49857
49858 * nss/nss_files/files-initgroups.c: New file.
49859 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49860 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49861 _nss_files_initgroups_dyn.
49862
e3d8f584
RS
498632011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49864
49865 * elf/elf.h (R_ARM_IRELATIVE): Define.
49866
af190f45
UD
498672011-04-19 Ulrich Drepper <drepper@gmail.com>
49868
49869 * po/ru.po: Update from translation team.
49870
53cf59ef
UD
498712011-04-17 Ulrich Drepper <drepper@gmail.com>
49872
49873 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49874 dependencies.
49875
4c559bcd
MF
498762011-02-06 Mike Frysinger <vapier@gentoo.org>
49877
49878 [BZ #12653]
49879 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49880 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49883 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49884
4420675c
AS
498852011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49886
49887 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49888 differing bytes.
49889 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49892
75ea32ab
UD
498932011-04-17 Ulrich Drepper <drepper@gmail.com>
49894
49895 [BZ #12420]
49896 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49897 storing it.
49898 * stdlib/bug-getcontext.c: New file.
49899 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49900
27390476
AK
499012011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49902
49903 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49904 instructions into .machine "z9-109".
49905 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49906 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49907
10442705
AK
499082011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49909
49910 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49911 between environment variables and auxiliary vector.
49912
7b57bfe5
UD
499132011-04-16 Ulrich Drepper <drepper@gmail.com>
49914
49915 * Makefile: Add rules to build linkobj/libc.so.
49916 * include/libc-symbols.h: Define libc_hidden_nolink.
49917 * include/rpc/auth.h: Mark functions which are to be hidden.
49918 * include/rpc/auth_des.h: Likewise.
49919 * include/rpc/auth_unix.h: Likewise.
49920 * include/rpc/clnt.h: Likewise.
49921 * include/rpc/des_crypt.h: Likewise.
49922 * include/rpc/key_prot.h: Likewise.
49923 * include/rpc/pmap_clnt.h: Likewise.
49924 * include/rpc/pmap_prot.h: Likewise.
49925 * include/rpc/pmap_rmt.h: Likewise.
49926 * include/rpc/rpc_msg.h: Likewise.
49927 * include/rpc/svc.h: Likewise.
49928 * include/rpc/svc_auth.h: Likewise.
49929 * include/rpc/xdr.h: Likewise.
49930 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49931 * nss/Makefile: Likewise.
49932 * sunrpc/Makefile: Don't install headers. Build library with normal
49933 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49934 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49935 for the compat linking library. Remove use of INTDEF/INTUSE.
49936 * sunrpc/auth_none.c: Likewise.
49937 * sunrpc/auth_unix.c: Likewise.
49938 * sunrpc/authdes_prot.c: Likewise.
49939 * sunrpc/authuxprot.c: Likewise.
49940 * sunrpc/clnt_gen.c: Likewise.
49941 * sunrpc/clnt_perr.c: Likewise.
49942 * sunrpc/clnt_raw.c: Likewise.
49943 * sunrpc/clnt_simp.c: Likewise.
49944 * sunrpc/clnt_tcp.c: Likewise.
49945 * sunrpc/clnt_udp.c: Likewise.
49946 * sunrpc/clnt_unix.c: Likewise.
49947 * sunrpc/des_crypt.c: Likewise.
49948 * sunrpc/des_soft.c: Likewise.
49949 * sunrpc/get_myaddr.c: Likewise.
49950 * sunrpc/key_call.c: Likewise.
49951 * sunrpc/key_prot.c: Likewise.
49952 * sunrpc/netname.c: Likewise.
49953 * sunrpc/pm_getmaps.c: Likewise.
49954 * sunrpc/pm_getport.c: Likewise.
49955 * sunrpc/pmap_clnt.c: Likewise.
49956 * sunrpc/pmap_prot.c: Likewise.
49957 * sunrpc/pmap_prot2.c: Likewise.
49958 * sunrpc/pmap_rmt.c: Likewise.
49959 * sunrpc/publickey.c: Likewise.
49960 * sunrpc/rpc_cmsg.c: Likewise.
49961 * sunrpc/rpc_common.c: Likewise.
49962 * sunrpc/rpc_dtable.c: Likewise.
49963 * sunrpc/rpc_prot.c: Likewise.
49964 * sunrpc/rpc_thread.c: Likewise.
49965 * sunrpc/rtime.c: Likewise.
49966 * sunrpc/svc.c: Likewise.
49967 * sunrpc/svc_auth.c: Likewise.
49968 * sunrpc/svc_authux.c: Likewise.
49969 * sunrpc/svc_raw.c: Likewise.
49970 * sunrpc/svc_run.c: Likewise.
49971 * sunrpc/svc_simple.c: Likewise.
49972 * sunrpc/svc_tcp.c: Likewise.
49973 * sunrpc/svc_udp.c: Likewise.
49974 * sunrpc/svc_unix.c: Likewise.
49975 * sunrpc/svcauth_des.c: Likewise.
49976 * sunrpc/xcrypt.c: Likewise.
49977 * sunrpc/xdr.c: Likewise.
49978 * sunrpc/xdr_array.c: Likewise.
49979 * sunrpc/xdr_float.c: Likewise.
49980 * sunrpc/xdr_intXX_t.c: Likewise.
49981 * sunrpc/xdr_mem.c: Likewise.
49982 * sunrpc/xdr_rec.c: Likewise.
49983 * sunrpc/xdr_ref.c: Likewise.
49984 * sunrpc/xdr_sizeof.c: Likewise.
49985 * sunrpc/xdr_stdio.c: Likewise.
49986
e6c61494
UD
499872011-04-10 Ulrich Drepper <drepper@gmail.com>
49988
49989 [BZ #12650]
49990 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49991 * sysdeps/ia64/dl-tls.h: Likewise.
49992 * sysdeps/powerpc/dl-tls.h: Likewise.
49993 * sysdeps/s390/dl-tls.h: Likewise.
49994 * sysdeps/sh/dl-tls.h: Likewise.
49995 * sysdeps/sparc/dl-tls.h: Likewise.
49996 * sysdeps/x86_64/dl-tls.h: Likewise.
49997 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49998
34fe483e
AS
499992011-03-14 Andreas Schwab <schwab@redhat.com>
50000
50001 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50002 rpath element also skip the following colon.
50003 (expand_dynamic_string_token): Add is_path parameter and pass
50004 down to DL_DST_REQUIRED and _dl_dst_substitute.
50005 (decompose_rpath): Call expand_dynamic_string_token with
50006 non-zero is_path. Ignore empty rpaths.
50007 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50008 with zero is_path.
50009
f12a32e6
AS
500102011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50011
50012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50013 Make cancelable.
50014
38a7d692
UD
500152011-04-09 Ulrich Drepper <drepper@gmail.com>
50016
50017 [BZ #12655]
50018 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50019 Patch by Filipe David Manana <fdmanana@apache.org>.
50020
e451d22b
AS
500212011-04-07 Andreas Schwab <schwab@redhat.com>
50022
50023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50024 Maintain aligned stack.
50025 (CHECK_RSP): Remove unused macro.
50026
dedc7c7b
UD
500272011-04-03 Ulrich Drepper <drepper@gmail.com>
50028
50029 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50030 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50031
94521213
UD
500322011-04-02 Ulrich Drepper <drepper@gmail.com>
50033
50034 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50035
8cb700c0 50036 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50037
0354e355
L
500382011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50039
50040 [BZ #12518]
50041 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50042 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50043 * sysdeps/x86_64/memmove.c: New file.
50044 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50045 (memcpy): Renamed to ...
50046 (__new_memcpy): This.
50047 (memcpy): Provide GLIBC_2_14 memcpy.
50048 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50049 (memcpy): Provide GLIBC_2_2_5 memcpy.
50050
8593482f
UD
500512011-04-01 Ulrich Drepper <drepper@gmail.com>
50052
50053 [BZ #12631]
50054 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50055
81a5726b
AS
500562011-03-30 Andreas Schwab <schwab@redhat.com>
50057
50058 * misc/syncfs.c: New file.
50059 * misc/Makefile (routines): Add syncfs.
50060 * posix/unistd.h: Declare syncfs.
50061 * sysdeps/unix/syscalls.list: Add syncfs.
50062
00e5419f
AS
500632011-04-01 Andreas Schwab <schwab@redhat.com>
50064
50065 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50066 open_by_handle_at.
50067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50068 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50072 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50074
748876bf
UD
500752011-04-01 Ulrich Drepper <drepper@gmail.com>
50076
658e451d
UD
50077 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50078 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50081 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50084
748876bf
UD
50085 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50086 sync_file_range.c with -fexceptions.
50087 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50088 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50089 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50090 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50091 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50092 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50094 sync_file_range as cancellation point
50095 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50096 now a wrapper around __call_sync_file_range with cancellation handling.
50097 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50098 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50099 function name to __call_sync_file_range.
50100 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50101 Add call_sync_file_range.
748876bf 50102
6e63d5e1
AS
501032011-04-01 Andreas Schwab <schwab@redhat.com>
50104
50105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50106 bits/timex.h.
6e63d5e1 50107
46998f74
UD
501082011-04-01 Ulrich Drepper <drepper@gmail.com>
50109
4c1423ed
UD
50110 * iconv/iconv.h: Fix typo in comment.
50111 * io/fcntl.h: Likewise.
50112 * libio/stdio.h: Likewise.
50113 * posix/spawn.h: Likewise.
50114 * posix/unistd.h: Likewise.
50115 * stdlib/stdlib.h: Likewise.
50116 * time/time.h: Likewise.
50117 * wcsmbs/wchar.h: Likewise.
50118
158648c0
UD
50119 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50120 open_by_handle): Add.
50121 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50122 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50123 Augment a few comments.
50124 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50126 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50128 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50129 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50130 open_by_handle.
50131
46998f74
UD
50132 * io/fcntl.h (AT_EMPTY_PATH): Define.
50133
83fe108b
UD
501342011-03-30 Ulrich Drepper <drepper@gmail.com>
50135
50136 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50137 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50138 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50139 to...
50140 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50141 * Versions.def: Add GLIBC_2.14.
50142 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50143 Export.
83fe108b 50144
bb242059
UD
501452011-03-22 Ulrich Drepper <drepper@gmail.com>
50146
50147 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50148 round counter.
50149 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50150
c97a1282
L
501512011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50152
50153 [BZ #12597]
50154 * string/test-strncmp.c (do_page_test): New function.
50155 (check2): Likewise.
50156 (test_main): Call check2.
50157 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50158
2a115601
UD
501592011-03-20 Ulrich Drepper <drepper@gmail.com>
50160
50161 [BZ #12587]
50162 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50163 Handle cache information in CPU leaf 4.
50164 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50165
8126d904
UD
501662011-03-18 Ulrich Drepper <drepper@gmail.com>
50167
042c49c6 50168 [BZ #12583]
8126d904
UD
50169 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50170 character representation.
50171 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50172
ccfe366e
RA
501732011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50174
50175 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50176 END(__isnan) to END(__isnanf) to match function entry point/label
50177 EALIGN(__isnanf,...).
50178
c6e13027
JJ
501792011-03-10 Jakub Jelinek <jakub@redhat.com>
50180
50181 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50182
33f85a3f
UD
501832011-03-10 Ulrich Drepper <drepper@gmail.com>
50184
028478fa
UD
50185 [BZ #12510]
50186 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50187 copy from the symbol referenced in the relocation to initialize the
50188 used variable.
50189 Patch by Piotr Bury <pbury@goahead.com>.
50190 * elf/Makefile: Add rules to build and tst-unique3.
50191 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50192 * elf/tst-unique3.cc: New file.
50193 * elf/tst-unique3.h: New file.
50194 * elf/tst-unique3lib.cc: New file.
50195 * elf/tst-unique3lib2.cc: New file.
50196
33f85a3f
UD
50197 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50198
03592fc7
MF
501992011-03-10 Mike Frysinger <vapier@gentoo.org>
50200
50201 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50202 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50203 to _start.
03592fc7 50204
6a5ee102
UD
502052011-03-06 Ulrich Drepper <drepper@gmail.com>
50206
50207 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50208 to-be-loaded object along a path to loader is ld.so.
50209
7e4ba49c
HJ
502102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50211 Ulrich Drepper <drepper@gmail.com>
50212
50213 * sysdeps/x86_64/memset.S: After aligning destination, code
50214 branches to different locations depending on the value of
50215 misalignment, when multiarch is enabled. Fix this.
50216
502172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50218
50219 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50220 Set _x86_64_preferred_memory_instruction for AMD processsors.
50221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50222 Set bit_Prefer_SSE_for_memop for AMD processors.
50223
13a804de
UD
502242011-03-04 Ulrich Drepper <drepper@gmail.com>
50225
50226 * libio/fmemopen.c (fmemopen): Optimize a bit.
50227
9d25c392
AS
502282011-03-03 Andreas Schwab <schwab@redhat.com>
50229
50230 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50231
a5543c6a
RM
502322011-03-03 Roland McGrath <roland@redhat.com>
50233
50234 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50235
012d35f7
DM
502362011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50237
7e4ba49c 50238 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50239 __bzero_ultra1 instead of __memset_ultra1.
50240
4bff6e01
AS
502412011-02-23 Andreas Schwab <schwab@redhat.com>
50242 Ulrich Drepper <drepper@gmail.com>
50243
50244 [BZ #12509]
50245 * include/link.h (struct link_map): Add l_orig_initfini.
50246 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50247 returning unsuccessfully.
50248 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50249 close of a file loaded at startup, restore the original l_initfini
50250 list.
50251 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50252 list, store the pointer.
50253 * elf/Makefile ($(objpfx)noload-mem): New rule.
50254 (noload-ENV): Define.
50255 (tests): Add $(objpfx)noload-mem.
50256 * elf/noload.c: Include <memcheck.h>.
50257 (main): Call mtrace. Close all opened handles.
50258
f2092faf
AS
502592011-02-17 Andreas Schwab <schwab@redhat.com>
50260
50261 [BZ #12454]
50262 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50263 dependencies are missing.
50264
6c8a2e88
ST
502652011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50266
f2092faf 50267 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50268 Hurd needs munmap.
50269 * sysdeps/mach/hurd/ifreq.h: New file.
50270
84a42118
PB
502712011-01-27 Petr Baudis <pasky@suse.cz>
50272 Ulrich Drepper <drepper@gmail.com>
50273
071f805e 50274 [BZ 12445]#
84a42118
PB
50275 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50276 to extend_alloca().
50277 * stdio-common/bug23.c: New file.
50278 * stdio-common/Makefile (tests): Add bug23.
50279
e23fe25b
AS
502802010-09-28 Andreas Schwab <schwab@redhat.com>
50281 Ulrich Drepper <drepper@gmail.com>
50282
50283 [BZ #12489]
50284 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50285 before performing relro protection. At old place add assertion
50286 to make sure nothing changed.
50287
d3f02e10
NS
502882011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50289 Glauber de Oliveira Costa <glommer@gmail.com>
50290
50291 * elf/elf.h: Add new ARM TLS relocs.
50292
d55fd7a5
RA
502932011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50294
50295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50296 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50297 cast from r3.
50298 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50299 'tests' variable.
50300 * sysdeps/wordsize-64/tst-writev.c: New file.
50301
2206397e
RA
503022011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50303
50304 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50305 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50306 insns in _dl_start to prevent a TOC reference before relocs are
50307 resolved.
50308
e9433893
UD
503092011-02-15 Ulrich Drepper <drepper@gmail.com>
50310
50311 [BZ #12469]
50312 * Makeconfig: Remove RANLIB definition.
50313 * Makerules: Don't use RANLIB.
50314 * aclocal.m4: Remove ranlib test.
50315 * configure.in: No need to check for ranlib.
50316 * elf/rtld-Rules: Don't use RANLIB.
50317
f75286c6
ST
503182011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50319
8e31c82d
ST
50320 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50321 protection macro.
50322 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50323 inclusion protection macro.
50324
f75286c6
ST
50325 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50326 SIGRTMIN and SIGRTMAX and print information in that case only when
50327 SIGRTMIN is defined.
50328
c1d0e639
JJ
503292011-02-11 Jakub Jelinek <jakub@redhat.com>
50330
50331 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50332 arginfo fn returning -1.
50333
50334 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50335 and thousands string is zero terminated.
50336
edf9294e
AS
503372011-02-03 Andreas Schwab <schwab@redhat.com>
50338
50339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50340 sysdeps/unix/sysv/linux/bits/socket.h.
50341
2b7e92df
ST
503422011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50343
edf9294e
AS
50344 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50345 (__CPU_COUNT): Remove old macros.
50346 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50347 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50348 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50349 (__sched_cpualloc, __sched_cpufree): Add declarations.
50350
a4c7ea7b
UD
503512011-02-05 Ulrich Drepper <drepper@gmail.com>
50352
50353 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50354 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50355 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50356 (readdhstai): Return value of addhstaiX call.
50357 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50358 (addgrbyX): Return value returned by cache_addgr.
50359 (readdgrbyname): Return value returned by addgrbyX.
50360 (readdgrbygid): Likewise.
50361 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50362 (addpwbyX): Return value returned by cache_addpw.
50363 (readdpwbyname): Return value returned by addhstbyX.
50364 (readdpwbyuid): Likewise.
50365 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50366 (addservbyX): Return value returned by cache_addserv.
50367 (readdservbyname): Return value returned by addservbyX:
50368 (readdservbyport): Likewise.
50369 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50370 (addhstbyX): Return value returned by cache_addhst.
50371 (readdhstbyname): Return value returned by addhstbyX.
50372 (readdhstbyaddr): Likewise.
50373 (readdhstbynamev6): Likewise.
50374 (readdhstbyaddrv6): Likewise.
50375 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50376 (readdinitgroups): Return value returned by addinitgroupsX.
50377 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50378 (prune_cache): Keep track of timeout value of re-added entries.
50379 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50380 * nscd/nscd.h: Adjust prototypes of readd* functions.
50381
a0bf67cc
RM
503822011-02-04 Roland McGrath <roland@redhat.com>
50383
50384 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50385 (nis_stats): Likewise.
50386 * nis/nis_modify.c (nis_modify): Likewise.
50387 * nis/nis_remove.c (nis_remove): Likewise.
50388 * nis/nis_add.c (nis_add): Likewise.
50389
50390 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50391
50392 * posix/fnmatch_loop.c: Add some consts.
50393
50394 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50395
435b95eb
L
503962011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50397
50398 [BZ #12460]
50399 * config.make.in (config-cflags-novzeroupper): Define.
50400 * configure.in: Substitute libc_cv_cc_novzeroupper.
50401 * elf/Makefile (AVX-CFLAGS): Define.
50402 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50403 (CFLAGS-tst-auditmod4a.c): Likewise.
50404 (CFLAGS-tst-auditmod4b.c): Likewise.
50405 (CFLAGS-tst-auditmod6b.c): Likewise.
50406 (CFLAGS-tst-auditmod6c.c): Likewise.
50407 (CFLAGS-tst-auditmod7b.c): Likewise.
50408 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50409
8517b15e
UD
504102011-02-02 Ulrich Drepper <drepper@gmail.com>
50411
50412 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50413 function to the callback.
50414 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50415
10a656fe
AS
504162011-02-02 Andreas Schwab <schwab@redhat.com>
50417
50418 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50419 of errno.
50420
968dad0a
UD
504212011-01-19 Ulrich Drepper <drepper@gmail.com>
50422
9f94d2ea 50423 [BZ #11724]
968dad0a
UD
50424 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50425 of constructors.
50426 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50427 of destructors.
50428 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50429
50430 [BZ #11724]
50431 * elf/Makefile: Add rules to build and run new test.
50432 * elf/tst-initorder.c: New file.
50433 * elf/tst-initorder.exp: New file.
50434 * elf/tst-initordera1.c: New file.
50435 * elf/tst-initordera2.c: New file.
50436 * elf/tst-initordera3.c: New file.
50437 * elf/tst-initordera4.c: New file.
50438 * elf/tst-initorderb1.c: New file.
50439 * elf/tst-initorderb2.c: New file.
50440 * elf/tst-order-a1.c: New file.
50441 * elf/tst-order-a2.c: New file.
50442 * elf/tst-order-a3.c: New file.
50443 * elf/tst-order-a4.c: New file.
50444 * elf/tst-order-b1.c: New file.
50445 * elf/tst-order-b2.c: New file.
50446 * elf/tst-order-main.c: New file.
50447 New test case by George Gensure <werkt0@gmail.com>.
50448
86e92359
UD
504492010-10-01 Andreas Schwab <schwab@redhat.com>
50450
50451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50452 decoding ACE if AI_CANONIDN.
50453
5d5732b0
UD
504542011-01-18 Ulrich Drepper <drepper@gmail.com>
50455
50456 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50457
a77e8cbc
UD
504582011-01-17 Ulrich Drepper <drepper@gmail.com>
50459
6392473f
UD
50460 * version.h (RELEASE): Bump for 2.13 release.
50461 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50462
620a0529
UD
50463 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50464
18ba70a5
UD
50465 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50466 MADV_NOHUGEPAGE.
32465c3e
UD
50467 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50469 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50470 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50471 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50472 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50473
c0dafcf1
UD
50474 * posix/getconf.c: Update copyright year.
50475 * catgets/gencat.c: Likewise.
50476 * csu/version.c: Likewise.
50477 * debug/catchsegv.sh: Likewise.
50478 * debug/xtrace.sh: Likewise.
50479 * elf/ldconfig.c: Likewise.
50480 * elf/ldd.bash.in: Likewise.
50481 * elf/sprof.c (print_version): Likewise.
50482 * iconv/iconv_prog.c: Likewise.
50483 * iconv/iconvconfig.c: Likewise.
50484 * locale/programs/locale.c: Likewise.
50485 * locale/programs/localedef.c: Likewise.
50486 * malloc/memusage.sh: Likewise.
50487 * malloc/mtrace.pl: Likewise.
50488 * nscd/nscd.c (print_version): Likewise.
50489 * nss/getent.c: Likewise.
50490
a77e8cbc
UD
50491 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50492 PF_CAIF, and PF_ALG.
50493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50494
77e8bddf
AS
504952011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50496
1f20b93a
AS
50497 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50498 (modules-names): Use them.
50499 (ifunc-test-modules, ifunc-pie-tests): Define.
50500 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50501 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50502 (test-extras): Likewise.
50503 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50504 $(compile-command.c).
50505 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50506 (all-built-dso): Define.
50507 (check-textrel.out, check-execstack.out): Depend on it.
50508
77e8bddf
AS
50509 * configure.in: Don't override --enable-multi-arch.
50510
bc425b33
UD
505112011-01-15 Ulrich Drepper <drepper@gmail.com>
50512
50513 [BZ #6812]
50514 * nscd/hstcache.c (tryagain): Define.
50515 (cache_addhst): Return tryagain not notfound for temporary errors.
50516 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50517 failed.
50518
794c3ad3
UD
505192011-01-14 Ulrich Drepper <drepper@gmail.com>
50520
70181fdd
UD
50521 [BZ #10563]
50522 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50523 to make the syscall.
50524 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50525
794c3ad3
UD
50526 [BZ #12378]
50527 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50528 and fall back to matching as normal character if the string ends before
50529 the matching ']' is found. This is what POSIX requires.
50530 * posix/testfnm.c: Adjust test result.
50531 * posix/globtest.sh: Adjust test result. Add new test.
50532 * posix/tst-fnmatch.input: Likewise.
50533 * posix/tst-fnmatch2.c: Add new test.
50534
68dc9497
AS
505352010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50536
50537 * elf/Makefile (check-execstack): Revert last change. Depend on
50538 check-execstack.h.
50539 (check-execstack.h): New target.
50540 (generated): Add check-execstack.h.
50541 * elf/check-execstack.c: Include "check-execstack.h".
50542 (main): Revert last change.
50543 (handle_file): Return zero if GNU_STACK is absent and
50544 DEFAULT_STACK_PERMS doesn't include PF_X.
50545
451f001b
UD
505462011-01-13 Ulrich Drepper <drepper@gmail.com>
50547
cfa28e56
UD
50548 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50549 in child fails because the descriptor is already closed.
8cf8ce17
UD
50550 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50551 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50552 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50553
1086d70d
UD
50554 [BZ #12397]
50555 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50556 syscall.
50557
451f001b
UD
50558 [BZ #10484]
50559 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50560 temporary buffer used to handle multi lookups locally.
a85b5cb4 50561 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50562
08769175
UD
505632011-01-12 Ulrich Drepper <drepper@gmail.com>
50564
50565 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50566 loader is ld.so.
50567
5e49c52e
UD
505682011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50569
50570 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50571 alignment for SSE2.
50572
60522a5f
UD
505732011-01-12 Ulrich Drepper <drepper@gmail.com>
50574
50575 [BZ #12394]
50576 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50577 characters. When rounding increased number of integer digits recompute
50578 number of groups.
50579 * stdio-common/tst-grouping.c: New file.
50580 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50581
f257bbd7
UD
505822011-01-09 Ulrich Drepper <drepper@gmail.com>
50583
50584 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50585 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50586
50587 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50588 void.
50589 * bits/select.h: Likewise.
50590
fa9c15cb
UD
505912011-01-08 Ulrich Drepper <drepper@gmail.com>
50592
50593 * po/ja.po: Update from translation team.
50594
16c2895f
DM
505952011-01-04 David S. Miller <davem@sunset.davemloft.net>
50596
50597 [BZ #11155]
50598 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50599 implementation just like for lxstat, fxstatat, et al.
50600
2543fef2
JM
506012010-12-27 Jim Meyering <meyering@redhat.com>
50602
50603 [BZ #12348]
50604 * posix/regexec.c (build_trtable): Return failure indication upon
50605 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50606
98727dbe
UD
506072010-12-25 Ulrich Drepper <drepper@gmail.com>
50608
5bd6dc5c
UD
50609 [BZ #12201]
50610 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50611 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50612 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50613 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50614
97983464
UD
50615 [BZ #12207]
50616 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50617
98727dbe
UD
50618 [BZ #12204]
50619 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50620 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50621
4a531bb0
L
506222010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50623
50624 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50625 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50626 script has SORT_BY_INIT_PRIORITY.
50627 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50628 NO_CTORS_DTORS_SECTIONS is defined.
50629 * elf/soinit.c: Likewise.
50630 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50631 NO_CTORS_DTORS_SECTIONS is defined.
50632 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50633 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50634 * sysdeps/sh/init-first.c: Likewise.
50635 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50636
07eb4b71
UD
506372010-12-24 Ulrich Drepper <drepper@gmail.com>
50638
50639 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50640 always use the slow path.
50641
30950a5f
RA
506422010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50643
50644 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50645 similar rule which adds the sysdep directories to the header search in
50646 order to pick up the correct platform stackinfo.h.
50647 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50648 perform test if it is, otherwise return successfully without testing.
50649 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50650 DEFAULT_STACK_PERMS define in stackinfo.h.
50651 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50652 defined in stackinfo.h.
50653 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50654 DEFAULT_STACK_PERMS defined in stackinfo.h.
50655 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50656 * sysdeps/ia64/stackinfo.h: Likewise.
50657 * sysdeps/s390/stackinfo.h: Likewise.
50658 * sysdeps/sh/stackinfo.h: Likewise.
50659 * sysdeps/sparc/stackinfo.h: Likewise.
50660 * sysdeps/x86_64/stackinfo.h: Likewise.
50661 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50662 PF_X for powerpc64. Retain PF_X for powerpc32.
50663
db753e2c
UD
506642010-12-19 Ulrich Drepper <drepper@gmail.com>
50665
14b697f7
UD
50666 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50667 accurately.
db753e2c
UD
50668 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50669 GETDENTS_64BIT_ALIGNED.
50670
28300719
UD
506712010-12-14 Ulrich Drepper <dreper@gmail.com>
50672
14b697f7 50673 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50674
4f197237
AS
506752010-12-10 Andreas Schwab <schwab@redhat.com>
50676
dbb0472f
AS
50677 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50678 _GNU_SOURCE.
50679
4f197237
AS
50680 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50681 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50682 Remove __restrict.
50683 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50684 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50685
fb88ac72
UD
506862010-12-09 Ulrich Drepper <drepper@gmail.com>
50687
50688 [BZ #11655]
50689 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50690 are initialized.
50691
42acbb92
JJ
506922010-12-09 Jakub Jelinek <jakub@redhat.com>
50693
50694 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50695
c038d98d
UD
506962010-12-03 Ulrich Drepper <drepper@gmail.com>
50697
50698 * po/it.po: Update from translation team.
50699
3a4a2499
L
507002010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50701
50702 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50703 unused codes.
50704
1e24cf6e
UD
507052010-11-30 Ulrich Drepper <drepper@gmail.com>
50706
50707 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50708
a7690819
AS
507092010-11-24 Andreas Schwab <schwab@redhat.com>
50710
50711 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50712 specially.
50713 (gaih_getanswer_slice): Likewise.
50714
3bf8d1b1
JJ
507152010-10-20 Jakub Jelinek <jakub@redhat.com>
50716
50717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50718
6db52fbb
PB
507192010-05-31 Petr Baudis <pasky@suse.cz>
50720
50721 [BZ #11149]
50722 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50723 silently even in the chroot mode.
50724
eaca7569
UD
507252010-11-22 Ulrich Drepper <drepper@gmail.com>
50726
50727 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50728 last patch a bit. Pretty printing
50729
3056dcdb
UD
507302010-05-31 Petr Baudis <pasky@suse.cz>
50731
50732 [BZ #10085]
50733 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50734 initialization of skip_initgroups_dyn.
50735
cf7c9078
UD
507362010-11-19 Ulrich Drepper <drepper@gmail.com>
50737
50738 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50739 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50740
a1fb5e3e
UD
507412010-11-16 Ulrich Drepper <drepper@gmail.com>
50742
50743 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50744
3540d66b
AS
507452010-11-11 Andreas Schwab <schwab@redhat.com>
50746
50747 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50748 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50749 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50750 ($(objpfx)tst-fnmatch-mem): New rule.
50751 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50752 * posix/tst-fnmatch.c (main): Call mtrace.
50753
13b69574
L
507542010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50755
50756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50757 Support Intel processor model 6 and model 0x2c.
50758
da93d214
LM
507592010-11-10 Luis Machado <luisgpm@br.ibm.com>
50760
50761 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50762 signed comparison.
50763
8ca52c6e
L
507642010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50765
50766 [BZ #12205]
50767 * string/test-strncasecmp.c (check_result): New function.
50768 (do_one_test): Use it.
50769 (check1): New function.
50770 (test_main): Use it.
50771 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50772 Support strcasecmp and strncasecmp.
50773
69da074d
UD
507742010-11-08 Ulrich Drepper <drepper@gmail.com>
50775
50776 [BZ #12194]
50777 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50779
ff02d528
L
507802010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50781
50782 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50783 IFUNC support.
50784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50785 memset-x86-64.
50786 * sysdeps/x86_64/multiarch/bzero.S: New file.
50787 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50788 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50789 * sysdeps/x86_64/multiarch/memset.S: New file.
50790 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50792 Set bit_Prefer_SSE_for_memop for Intel processors.
50793 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50794 Define.
50795 (index_Prefer_SSE_for_memop): Define.
50796 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50797
344d0b54
LM
507982010-11-04 Luis Machado <luisgpm@br.ibm.com>
50799
50800 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50801 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50802
c0dde15b
UD
508032010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50804
50805 [BZ #12191]
50806 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50807 (__x86_64_raw_data_cache_size_half): Likewise.
50808 (__x86_64_raw_shared_cache_size): Likewise.
50809 (__x86_64_raw_shared_cache_size_half): Likewise.
50810
50811 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50812 (__x86_64_raw_data_cache_size_half): Likewise.
50813 (__x86_64_raw_shared_cache_size): Likewise.
50814 (__x86_64_raw_shared_cache_size_half): Likewise.
50815 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50816 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50817 and __x86_64_raw_shared_cache_size_half. Round
50818 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50819 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50820 to multiple of 256 bytes.
50821
0e516e0e
MS
508222010-11-03 Ulrich Drepper <drepper@gmail.com>
50823
50824 [BZ #12167]
50825 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50826 of inacessible symlinks. Verify result of symlink before returning it.
50827 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50828 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50829
0e012e87
ER
508302010-10-28 Erich Ritz <erichritz@gmail.com>
50831
50832 * math/math.h (isinf): Fix typo in comment.
50833
de0ff7bc
UD
508342010-11-01 Ulrich Drepper <drepper@gmail.com>
50835
50836 * po/da.po: Update from translation team.
50837
fa41c84d
UD
508382010-10-26 Ulrich Drepper <drepper@gmail.com>
50839
50840 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50841 is added to the list.
50842
f0967738
AK
508432010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50844 Ulrich Drepper <drepper@gmail.com>
50845
50846 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50847 the global list here. Move code to...
50848 (_dl_add_to_namespace_list): ...here. New function.
50849 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50850 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50851 * elf/dl-load.c (lose): Don't remove the element from the list.
50852 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50853 (_dl_map_object): Likewise.
50854
508552010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50856
50857 [BZ #12159]
50858 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50859 into all bytes of SSE register.
50860 Patch by Richard Li <richardpku@gmail.com>.
50861
f0967738 508622010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50863
50864 [BZ #12140]
50865 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50866 perturbing.
50867
d0b9e94f
MB
508682010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50869
50870 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50871 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50872 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50873 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50875 submachine.
50876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50877
8e9f92e9
AS
508782010-10-22 Andreas Schwab <schwab@redhat.com>
50879
50880 * include/dlfcn.h (__RTLD_SECURE): Define.
50881 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50882 mode & __RTLD_SECURE instead.
50883 (open_path): Rename preloaded parameter to secure.
50884 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50885 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50886 * elf/dl-deps.c (openaux): Likewise.
50887 * elf/rtld.c (struct map_args): Remove is_preloaded.
50888 (map_doit): Don't use it.
50889 (dl_main): Likewise.
50890 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50891 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50892
bc96fbda
AS
508932010-09-09 Andreas Schwab <schwab@redhat.com>
50894
50895 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50896 (sysd-rules-targets): Remove duplicates.
50897 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50898 rtld-%.$o dependency.
50899
22cd1c9b
AS
509002010-10-18 Andreas Schwab <schwab@redhat.com>
50901
50902 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50903 _dl_map_object do it.
50904
18edac48
UD
509052010-10-19 Ulrich Drepper <drepper@gmail.com>
50906
50907 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50908 fast fma builtins, define the macros in the C99 standard.
50909 (FP_FAST_FMAF): Likewise.
50910 (FP_FAST_FMAL): Likewise.
50911 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50912
50913 * bits/mathdef.h: Update copyright year.
50914 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50915
d2050124
MM
509162010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50917
50918 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50919 builtins, define the macros in the C99 standard.
50920 (FP_FAST_FMAF): Likewise.
50921 (FP_FAST_FMAL): Likewise.
50922 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50923 multiply/add.
50924 (FP_FAST_FMAF): Likewise.
50925
475facd1
JJ
509262010-10-15 Jakub Jelinek <jakub@redhat.com>
50927
50928 [BZ #3268]
50929 * math/libm-test.inc (fma_test): Some new testcases.
50930 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50931 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50932 y and infinite z. Do multiplication by C already in long double.
50933 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50935 y and infinite z. Do bitwise or of inexact bit into u.d.
50936 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50937 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50938 * sysdeps/i386/fpu/s_fma.S: Removed.
50939 * sysdeps/i386/fpu/s_fmal.S: Removed.
50940
7c08a05c
JJ
509412010-10-16 Jakub Jelinek <jakub@redhat.com>
50942
50943 [BZ #3268]
50944 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50946 computation is not scheduled after fetestexcept. Fix value
50947 of minimum denormal long double.
50948
f3f7372d
JJ
509492010-10-14 Jakub Jelinek <jakub@redhat.com>
50950
50951 [BZ #3268]
50952 * math/libm-test.inc (fma_test): Add some more tests.
50953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50954 correctly.
50955
14d43591
AS
509562010-10-15 Andreas Schwab <schwab@redhat.com>
50957
50958 * scripts/data/localplt-s390-linux-gnu.data: New file.
50959 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50960
5e908464
JJ
509612010-10-13 Jakub Jelinek <jakub@redhat.com>
50962
50963 [BZ #3268]
50964 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50965 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50966 instead of dbl-64.
50967 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50968 inlines.
50969 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50971 if one of x and y is very large and the other is subnormal.
50972 * sysdeps/s390/fpu/s_fmaf.c: New file.
50973 * sysdeps/s390/fpu/s_fma.c: New file.
50974 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50975 * sysdeps/powerpc/fpu/s_fma.S: New file.
50976 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50977 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50978 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50979
509802010-10-12 Jakub Jelinek <jakub@redhat.com>
50981
50982 [BZ #3268]
50983 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50984 fma tests.
50985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50986 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50987 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50988 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50989 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50990 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50991 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50992
b833d51f
UD
509932010-10-12 Ulrich Drepper <drepper@redhat.com>
50994
50995 [BZ #12078]
50996 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50997 * posix/bug-regex31.input: Add test case.
50998
1751705d
UD
509992010-10-11 Ulrich Drepper <drepper@gmail.com>
51000
e9b9cbf5
UD
51001 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51002 * posix/bug-regex31.input: New file.
51003
51004 [BZ #12078]
51005 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51006 (parse_sub_exp): Fix last change, use postorder.
51007
ef06edbe
UD
51008 * posix/bug-regex31.c: New file.
51009 * posix/Makefile: Add rules to build and run bug-regex31.
51010
a129c80d
UD
51011 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51012
51013 [BZ #12078]
51014 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51015
b76b818e
UD
51016 [BZ #12108]
51017 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51018 to have entries in sys_siglist.
51019
1751705d
UD
51020 [BZ #12093]
51021 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51022 be NULL.
51023
9ff8d36f
JJ
510242010-10-07 Jakub Jelinek <jakub@redhat.com>
51025
51026 [BZ #3268]
51027 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51028 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51029 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51030 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51031 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51032 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51033 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51034 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51035 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51036 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51037 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51038 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51039 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51040 * math/ftestexcept.c (fetestexcept): Likewise.
51041 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51042 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51043 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51044 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51045 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51046 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51047 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51048
af325969
UD
510492010-10-11 Ulrich Drepper <drepper@gmail.com>
51050
c579b202 51051 [BZ #12107]
af325969
UD
51052 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51053 newline.
51054
67a67b95
UD
510552010-10-06 Ulrich Drepper <drepper@gmail.com>
51056
51057 * string/bug-strstr1.c: New file.
51058 * string/Makefile: Add rules to build and run bug-strstr1.
51059
5fb308bc
EB
510602010-10-05 Eric Blake <eblake@redhat.com>
51061
51062 [BZ #12092]
51063 * string/str-two-way.h (two_way_long_needle): Always clear memory
51064 when skipping input due to the shift table.
51065
45db99c7
UD
510662010-10-03 Ulrich Drepper <drepper@gmail.com>
51067
3b111893
UD
51068 [BZ #12005]
51069 * malloc/mcheck.c: Handle large requests.
51070
45db99c7
UD
51071 [BZ #12077]
51072 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51073 for strncmp and strncasecmp.
51074 * string/stratcliff.c: Add tests for strcmp and strncmp.
51075 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51076
cf7a1eb8
NI
510772010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51078
51079 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51080 __set_fpscr.
51081
6484ba5e
AJ
510822010-09-30 Andreas Jaeger <aj@suse.de>
51083
51084 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51085 (CGROUP_SUPER_MAGIC): Define.
51086 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51087 Handle btrfs and cgroup file systems.
51088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51089 Likewise.
51090
91c42559
LM
510912010-09-27 Luis Machado <luisgpm@br.ibm.com>
51092
51093 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51094 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51095
87a97932
AK
510962010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51097
51098 [BZ #12067]
51099 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51100 trying to locate the ELF header.
51101
c21cc9bc
AS
511022010-09-27 Andreas Schwab <schwab@redhat.com>
51103
51104 [BZ #11611]
51105 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51106 Mask out sign-bit copies when constructing f_fsid.
51107
315970f6
PB
511082010-09-24 Petr Baudis <pasky@suse.cz>
51109
51110 * debug/stack_chk_fail_local.c: Add missing licence exception.
51111 * debug/warning-nop.c: Likewise.
51112
1ac7a2c7
JM
511132010-09-15 Joseph Myers <joseph@codesourcery.com>
51114
51115 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51116 implementing getdents64 using getdents syscall, set d_type if
51117 __ASSUME_GETDENTS32_D_TYPE.
51118
56801c50
AS
511192010-09-16 Andreas Schwab <schwab@redhat.com>
51120
51121 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51122 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51123
dda51327
UD
511242010-09-21 Ulrich Drepper <drepper@redhat.com>
51125
51126 [BZ #12037]
51127 * posix/unistd.h: Undo change of feature selection for ftruncate from
51128 2010-01-11.
51129
8ffcee4a
UD
511302010-09-20 Ulrich Drepper <drepper@redhat.com>
51131
a545ecd9 51132 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51133 detection.
51134
e24f0a8b
AS
511352010-09-20 Andreas Schwab <schwab@redhat.com>
51136
51137 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51138 fanotify_mark.
51139 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51140
7291c56f
AS
511412010-09-14 Andreas Schwab <schwab@redhat.com>
51142
51143 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51144 variables after CHECK_SP call.
51145 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51146
bc5fb037
AS
511472010-09-13 Andreas Schwab <schwab@redhat.com>
51148 Ulrich Drepper <drepper@redhat.com>
51149
51150 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51151 re-relocationg ld.so.
51152 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51153 _dl_init_paths call.
51154 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51155 here anymore.
51156
e66e7419
UD
511572010-09-14 Ulrich Drepper <drepper@redhat.com>
51158
51159 * resolv/res_init.c (__res_vinit): Count the default server we added.
51160
c044aa75
CLT
511612010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51162 Ulrich Drepper <drepper@redhat.com>
51163
51164 [BZ #11968]
51165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51166 (____longjmp_chk): Use %ebx for saving value across system call.
51167 Add unwind info.
51168
32cf4069
AS
511692010-09-06 Andreas Schwab <schwab@redhat.com>
51170
51171 * manual/Makefile: Don't mix pattern rules with normal rules.
51172
817328ee
AS
511732010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51174
51175 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51176 operation.
51177 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51178 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51179 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51180 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51181 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51182 Likewise.
51183
29fddf61
UD
511842010-09-04 Ulrich Drepper <drepper@redhat.com>
51185
51186 [BZ #11979]
51187 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51188 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51189
0959ffc9
UD
511902010-09-02 Ulrich Drepper <drepper@redhat.com>
51191
51192 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51193 * sysdeps/x86_64/addmul_1.S: Likewise.
51194 * sysdeps/x86_64/lshift.S: Likewise.
51195 * sysdeps/x86_64/mul_1.S: Likewise.
51196 * sysdeps/x86_64/rshift.S: Likewise.
51197 * sysdeps/x86_64/sub_n.S: Likewise.
51198 * sysdeps/x86_64/submul_1.S: Likewise.
51199
ece29840
ST
512002010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51201
0959ffc9
UD
51202 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51203 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51204 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51205 * bits/sched.h [__need_schedparam]
ece29840 51206 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51207 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51208 (__defined_schedparam): Define to 1.
ece29840
ST
51209 (__sched_param): New structure, identical to sched_param.
51210 (__need_schedparam): Undefine.
51211
e53a31fe
MF
512122010-08-31 Mike Frysinger <vapier@gentoo.org>
51213
fdc0c10d
MF
51214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51215 (epoll_create1): Declare.
51216
e53a31fe
MF
51217 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51218
a726d796
AS
512192010-08-31 Andreas Schwab <schwab@redhat.com>
51220
51221 [BZ #7066]
51222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51223 shifting retval into place.
51224
2f3e3dc7
UD
512252010-09-01 Ulrich Drepper <drepper@redhat.com>
51226
f2933da9
UD
51227 * nis/rpcsvc/nis.h: Update copyright notice.
51228 * nis/rpcsvc/nis.x: Likewise.
51229 * nis/rpcsvc/nis_callback.h: Likewise.
51230 * nis/rpcsvc/nis_callback.x: Likewise.
51231 * nis/rpcsvc/nis_object.x: Likewise.
51232 * nis/rpcsvc/nis_tags.h: Likewise.
51233 * nis/rpcsvc/yp.h: Likewise.
51234 * nis/rpcsvc/yp.x: Likewise.
51235 * nis/rpcsvc/ypupd.h: Likewise.
51236 * nis/yp_xdr.c: Likewise.
51237 * nis/ypupdate_xdr.c: Likewise.
51238
2f3e3dc7
UD
51239 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51240 mainly the body of pmap_getport. Add parameters to specify timeouts.
51241 (pmap_getport): Use __libc_rpc_getport.
51242 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51243 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51244 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51245
f3dcc2f9
AS
512462010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51247
51248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51249 fanotify_mark.
51250
6d34eb5b
RM
512512010-08-27 Roland McGrath <roland@redhat.com>
51252
51253 * sysdeps/i386/i686/multiarch/Makefile
51254 (CFLAGS-varshift.c): New variable.
51255
9ea3de11
UD
512562010-08-27 Ulrich Drepper <drepper@redhat.com>
51257
c96d23fc
UD
51258 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51259 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51260
9ea3de11
UD
51261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51262
51263 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51264
623aac7f
L
512652010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51266
51267 * sysdeps/x86_64/strlen.S: Unroll the loop.
51268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51269 strlen-sse2 strlen-sse2-bsf.
51270 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51271 __strlen_no_bsf if bit_Slow_BSF is set.
51272 (__strlen_sse42): Removed.
51273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51274 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51275
8b2b7715
RM
512762010-08-25 Roland McGrath <roland@redhat.com>
51277
51278 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51279 * sysdeps/x86_64/multiarch/varshift.c: New file.
51280 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51281 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51282 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51283 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51284
e73015f2
L
512852010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51286
51287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51288 strlen-sse2 strlen-sse2-bsf.
51289 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51290 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51291 (__strlen_sse2): Removed.
51292 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51293 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51295 bit_Slow_BSF for Atom.
51296 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51297 (index_Slow_BSF): Define.
51298 (HAS_SLOW_BSF): Define.
51299
df24a73e
UD
513002010-08-25 Ulrich Drepper <drepper@redhat.com>
51301
51302 [BZ #10851]
51303 * resolv/res_init.c (__res_vinit): When no server address at all
51304 is given default to loopback.
51305
f2ac4868
RM
513062010-08-24 Roland McGrath <roland@redhat.com>
51307
09055553
RM
51308 * configure.in: Remove config-name.h generation.
51309 * configure: Regenerated.
51310 * config-name.in: File removed.
51311 * scripts/config-uname.sh: New file.
51312 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51313 ($(objdir)config-name.h): New target.
51314
f2ac4868
RM
51315 * sunrpc/rpc_parse.h: Avoid nested comment.
51316
73f27d5e
RH
513172010-08-24 Richard Henderson <rth@redhat.com>
51318 Ulrich Drepper <drepper@redhat.com>
51319 H.J. Lu <hongjiu.lu@intel.com>
51320
51321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51323 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51324 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51325 _mm_alignr_epi8 with _mm_loadu_si128.
51326 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51327 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51328 (__m128i_shift_right): Removed.
51329 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51330 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51331 * sysdeps/x86_64/multiarch/varshift.h: New file.
51332 * sysdeps/x86_64/multiarch/varshift.S: New file.
51333
84b9230c
MF
513342010-08-21 Mike Frysinger <vapier@gentoo.org>
51335
51336 * configure.in: Move assembler checks to before sysdep dir checking.
51337
9bbd0ddc
PB
513382010-08-20 Petr Baudis <pasky@suse.cz>
51339
51340 * LICENSES: Sync the sunrpc license.
51341
9da4bb31
UD
513422010-08-19 Ulrich Drepper <drepper@redhat.com>
51343
a7ab6ec8
UD
51344 * sunrpc/auth_des.c: Update copyright notice once again.
51345 * sunrpc/auth_none.c: Likewise.
51346 * sunrpc/auth_unix.c: Likewise.
51347 * sunrpc/authdes_prot.c: Likewise.
51348 * sunrpc/authuxprot.c: Likewise.
51349 * sunrpc/bindrsvprt.c: Likewise.
51350 * sunrpc/clnt_gen.c: Likewise.
51351 * sunrpc/clnt_perr.c: Likewise.
51352 * sunrpc/clnt_raw.c: Likewise.
51353 * sunrpc/clnt_simp.c: Likewise.
51354 * sunrpc/clnt_tcp.c: Likewise.
51355 * sunrpc/clnt_udp.c: Likewise.
51356 * sunrpc/clnt_unix.c: Likewise.
51357 * sunrpc/des_crypt.c: Likewise.
51358 * sunrpc/des_soft.c: Likewise.
51359 * sunrpc/get_myaddr.c: Likewise.
51360 * sunrpc/getrpcport.c: Likewise.
51361 * sunrpc/key_call.c: Likewise.
51362 * sunrpc/key_prot.c: Likewise.
51363 * sunrpc/openchild.c: Likewise.
51364 * sunrpc/pm_getmaps.c: Likewise.
51365 * sunrpc/pm_getport.c: Likewise.
51366 * sunrpc/pmap_clnt.c: Likewise.
51367 * sunrpc/pmap_prot.c: Likewise.
51368 * sunrpc/pmap_prot2.c: Likewise.
51369 * sunrpc/pmap_rmt.c: Likewise.
51370 * sunrpc/rpc/auth.h: Likewise.
51371 * sunrpc/rpc/auth_unix.h: Likewise.
51372 * sunrpc/rpc/clnt.h: Likewise.
51373 * sunrpc/rpc/des_crypt.h: Likewise.
51374 * sunrpc/rpc/key_prot.h: Likewise.
51375 * sunrpc/rpc/netdb.h: Likewise.
51376 * sunrpc/rpc/pmap_clnt.h: Likewise.
51377 * sunrpc/rpc/pmap_prot.h: Likewise.
51378 * sunrpc/rpc/pmap_rmt.h: Likewise.
51379 * sunrpc/rpc/rpc.h: Likewise.
51380 * sunrpc/rpc/rpc_des.h: Likewise.
51381 * sunrpc/rpc/rpc_msg.h: Likewise.
51382 * sunrpc/rpc/svc.h: Likewise.
51383 * sunrpc/rpc/svc_auth.h: Likewise.
51384 * sunrpc/rpc/types.h: Likewise.
51385 * sunrpc/rpc/xdr.h: Likewise.
51386 * sunrpc/rpc_clntout.c: Likewise.
51387 * sunrpc/rpc_cmsg.c: Likewise.
51388 * sunrpc/rpc_common.c: Likewise.
51389 * sunrpc/rpc_cout.c: Likewise.
51390 * sunrpc/rpc_dtable.c: Likewise.
51391 * sunrpc/rpc_hout.c: Likewise.
51392 * sunrpc/rpc_main.c: Likewise.
51393 * sunrpc/rpc_parse.c: Likewise.
51394 * sunrpc/rpc_parse.h: Likewise.
51395 * sunrpc/rpc_prot.c: Likewise.
51396 * sunrpc/rpc_sample.c: Likewise.
51397 * sunrpc/rpc_scan.c: Likewise.
51398 * sunrpc/rpc_scan.h: Likewise.
51399 * sunrpc/rpc_svcout.c: Likewise.
51400 * sunrpc/rpc_tblout.c: Likewise.
51401 * sunrpc/rpc_util.c: Likewise.
51402 * sunrpc/rpc_util.h: Likewise.
51403 * sunrpc/rpcinfo.c: Likewise.
51404 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51405 * sunrpc/rpcsvc/key_prot.x: Likewise.
51406 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51407 * sunrpc/rpcsvc/mount.x: Likewise.
51408 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51409 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51410 * sunrpc/rpcsvc/rex.x: Likewise.
51411 * sunrpc/rpcsvc/rstat.x: Likewise.
51412 * sunrpc/rpcsvc/rusers.x: Likewise.
51413 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51414 * sunrpc/rpcsvc/spray.x: Likewise.
51415 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51416 * sunrpc/rtime.c: Likewise.
51417 * sunrpc/svc.c: Likewise.
51418 * sunrpc/svc_auth.c: Likewise.
51419 * sunrpc/svc_authux.c: Likewise.
51420 * sunrpc/svc_raw.c: Likewise.
51421 * sunrpc/svc_run.c: Likewise.
51422 * sunrpc/svc_simple.c: Likewise.
51423 * sunrpc/svc_tcp.c: Likewise.
51424 * sunrpc/svc_udp.c: Likewise.
51425 * sunrpc/svc_unix.c: Likewise.
51426 * sunrpc/svcauth_des.c: Likewise.
51427 * sunrpc/xcrypt.c: Likewise.
51428 * sunrpc/xdr.c: Likewise.
51429 * sunrpc/xdr_array.c: Likewise.
51430 * sunrpc/xdr_float.c: Likewise.
51431 * sunrpc/xdr_mem.c: Likewise.
51432 * sunrpc/xdr_rec.c: Likewise.
51433 * sunrpc/xdr_ref.c: Likewise.
51434 * sunrpc/xdr_sizeof.c: Likewise.
51435 * sunrpc/xdr_stdio.c: Likewise.
51436
9da4bb31
UD
51437 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51438 handling.
51439
bdaa77bc
AS
514402010-08-19 Andreas Schwab <schwab@redhat.com>
51441
51442 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51443
fe2f79db
LM
514442010-08-19 Luis Machado <luisgpm@br.ibm.com>
51445
51446 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51447 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51448 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51449 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51450 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51451 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51452 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51453 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51455 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51456 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51457 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51458 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51459 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51460
b9b42ee0
AB
514612010-07-26 Anton Blanchard <anton@samba.org>
51462
51463 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51464 * malloc/arena.c (heap_trim): Likewise.
51465
1c06ba31
UD
514662010-08-16 Ulrich Drepper <drepper@redhat.com>
51467
51468 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51469 here. Not...
51470 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51471 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51472
f8392f40
L
514732010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51474
51475 * sysdeps/i386/elf/Makefile: New file.
51476
3162f12e
AS
514772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51478
51479 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51480 from fanotify_init.
51481 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51483
28c90b2c
UD
514842010-08-15 Ulrich Drepper <drepper@redhat.com>
51485
51486 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51487 of strncasecmp_l.
1feccb6c 51488 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51489
ca6bb004
UD
514902010-08-14 Ulrich Drepper <drepper@redhat.com>
51491
e9f82e0d
UD
51492 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51493 strncase_l-nonascii.
51494 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51495 Add strncase_l-ssse3.
51496 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51497 * sysdeps/x86_64/strcmp.S: Likewise.
51498 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51499 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51500 * sysdeps/x86_64/strncase.S: New file.
51501 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51502 * sysdeps/x86_64/strncase_l.S: New file.
51503 * string/Makefile (strop-tests): Add strncasecmp.
51504 * string/test-strncasecmp.c: New file.
51505
51506 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51507 warning.
51508
ca6bb004
UD
51509 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51510 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51511
052fa7b3
AS
515122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51513
51514 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51515
962dba78
UD
515162010-08-12 Ulrich Drepper <drepper@redhat.com>
51517
51518 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51519 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51520 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51521
bebff237
AM
515222010-05-01 Alan Modra <amodra@gmail.com>
51523
51524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51525 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51526 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51527 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51528 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51529 tidying. Don't tail-call __sigjmp_save for static lib.
51530 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51531 save location.
51532 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51533 (CALL_MCOUNT): Add eh info, and nop after bl.
51534 (TAIL_CALL_SYSCALL_ERROR): New macro.
51535 (PSEUDO_RET): Use it.
51536 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51537 Correct save location of integer regs and cr.
51538 (_dl_profile_resolve): Correct cr save location. Delete nops
51539 after bl when SHARED. Reduce cfi size a little by better
51540 placement of cfi directives.
51541 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51542 make a stack frame. Instead use parm save area as a temp.
51543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51544 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51546 Don't make a stack frame for parent, use parm save area.
51547 Increase child stack frame to 112 bytes. Don't save unused reg,
51548 and adjust reg usage. Set up cfi on error recovery and
51549 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51551 (__makecontext): Add dummy nop after jump to exit.
51552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51553 Use correct parm save area and cr save, reduce stack frame.
51554 Correct cfi for possible PSEUDO_RET frame setup.
51555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51556 Branch to local label emitted by PSEUDO_RET rather than
51557 __syscall_error.
51558
02637374
AS
515592010-08-12 Andreas Schwab <schwab@redhat.com>
51560
51561 [BZ #11904]
51562 * locale/programs/locale.c (print_assignment): New function.
51563 (show_locale_vars): Use it.
51564
c3e2f19b
UD
515652010-08-11 Ulrich Drepper <drepper@redhat.com>
51566
3cdaa6ad
UD
51567 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51568 field.
51569 (struct statfs64): Likewise.
51570 (_STATFS_F_FLAGS): Define.
51571 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51572 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51573 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51574 (ST_VALID): Define locally.
51575 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51576 __statvfs_getflags, use the provided value.
51577 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51578 __ASSUME_STATFS_F_FLAGS.
51579
754f7da3
UD
51580 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51581
10b3bedc
UD
51582 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51583 Add sys/fanotify.h.
51584 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51585 fanotify_mask for GLIBC_2.13.
51586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51587 fanotify_init and fanotify_mark.
51588 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51589 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51590
c08fb0d7
UD
51591 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51592 Add prlimit.
51593 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51594 prlimit64 for GLIBC_2.13.
51595 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51596 prlimit64.
51597 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51598 syscall.
51599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51600 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51601 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51603 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51604 add prlimit alias.
51605 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51606
15bac72b
UD
51607 [BZ #11903]
51608 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51609 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51610
c3e2f19b
UD
51611 * nss/Makefile: Add rules to build and run tst-nss-test1.
51612 * shlib-versions: Add entry for libnss_test1.
51613 * nss/nss_test1.c: New file.
51614 * nss/tst-nss-test1.c: New file.
51615
51616 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51617 (__nss_configure_lookup): Set appropriate entry in
51618 __nss_configure_lookup to true.
51619 * nss/nsswitch.h: Define enum with indeces of databases in
51620 databases and __nss_database_custom arrays. Declare
51621 __nss_database_custom.
51622 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51623 to avoid using nscd when custom rules are installed.
51624 * nss/getXXbyYY_r.c: Likewise.
51625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51626
51627 * nss/nss_files/files-parse.c: Whitespace fixes.
51628
f15ce4d8
UD
516292010-08-09 Ulrich Drepper <drepper@redhat.com>
51630
51631 [BZ #11883]
51632 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51633 * posix/fnmatch_loop.c: Likewise.
51634
d22e4cc9
AK
516352010-07-17 Andi Kleen <ak@linux.intel.com>
51636
51637 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51638 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51639 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51640 * Versions.def [GLIBC_2.13]: Add.
51641
805bc17d
UD
516422010-08-06 Ulrich Drepper <drepper@redhat.com>
51643
51644 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51645 Also fail if tpwd after pwuid call is NULL.
51646
5a42321d
ST
516472010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51648
51649 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51650 when converting to ms.
51651
fd3ebeda
ST
516522010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51653
51654 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51655 EOPNOTSUPP errors with ENOTTY.
51656 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51657 EOPNOTSUPP errors with ENOTTY.
51658
73507d3a
UD
516592010-07-31 Ulrich Drepper <drepper@redhat.com>
51660
51661 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51662 Add strcasecmp_l-ssse3.
51663 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51664 strcasecmp.
51665 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51666 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51667 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51668
fe36dd02
UD
516692010-07-30 Ulrich Drepper <drepper@redhat.com>
51670
66f6765a
UD
51671 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51672
42e08a54
UD
51673 * string/Makefile (strop-tests): Add strcasecmp.
51674 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51675 strcasecmp_l-nonascii.
51676 (gen-as-const-headers): Add locale-defines.sym.
51677 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51678 * sysdeps/x86_64/strcasecmp.S: New file.
51679 * sysdeps/x86_64/strcasecmp_l.S: New file.
51680 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51681 * sysdeps/x86_64/locale-defines.sym: New file.
51682 * string/test-strcasecmp.c: New file.
51683
fe36dd02
UD
51684 * string/test-strcasestr.c: Test both ends of the range of characters.
51685 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51686
48cbc0d6
RM
516872010-07-29 Roland McGrath <roland@redhat.com>
51688
76e6d6bc 51689 [BZ #11856]
48cbc0d6
RM
51690 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51691
880113d9
UD
516922010-07-27 Ulrich Drepper <drepper@redhat.com>
51693
51694 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51695 for ld.so.
51696
deb9cabb
AS
516972010-07-27 Andreas Schwab <schwab@redhat.com>
51698
51699 * manual/memory.texi (Malloc Tunable Parameters): Document
51700 M_PERTURB.
51701
1c7570ff
RM
517022010-07-26 Roland McGrath <roland@redhat.com>
51703
51704 [BZ #11840]
51705 * configure.in (-fgnu89-inline check): Set and substitute
51706 gnu89_inline, not libc_cv_gnu89_inline.
51707 * configure: Regenerated.
51708 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51709
24fb0f88
UD
517102010-07-26 Ulrich Drepper <drepper@redhat.com>
51711
51712 * string/test-strnlen.c: New file.
51713 * string/Makefile (strop-tests): Add strnlen.
51714 * string/tester.c (test_strnlen): Add a few more test cases.
51715 * string/tst-strlen.c: Better error reporting.
51716
51717 * sysdeps/x86_64/strnlen.S: New file.
51718
8e96b93a
UD
517192010-07-24 Ulrich Drepper <drepper@redhat.com>
51720
51721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51722 lower-latency instructions.
51723
dbc676d4
UD
517242010-07-23 Ulrich Drepper <drepper@redhat.com>
51725
51726 * string/test-strcasestr.c: New file.
51727 * string/test-strstr.c: New file.
51728 * string/Makefile (strop-tests): Add strstr and strcasestr.
51729 * string/str-two-way.h: Don't undefine MAX.
51730 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51731
f6a31e0e
AS
517322010-07-21 Andreas Schwab <schwab@redhat.com>
51733
51734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51735 strcasestr-nonascii.
51736 (CFLAGS-strcasestr-nonascii.c): Define.
51737 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51738 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51739 Remove unused attribute.
51740
5dbc3b6c
RM
517412010-07-20 Roland McGrath <roland@redhat.com>
51742
51743 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51744 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51745 ld.so.cache was broken. With it, there is no way to disable dsocaps
51746 like LD_HWCAP_MASK can disable hwcaps.
51747
23d101d8
EPM
517482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51749
51750 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51751
cc9f2e47
UD
517522010-07-16 Ulrich Drepper <drepper@redhat.com>
51753
51754 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51755 call in strcasestr.
51756 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51757 __strcasestr_sse42_nonascii.
51758 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51759 strcasestr-nonascii.c.
51760 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51761
77c1b069
LM
517622010-06-15 Luis Machado <luisgpm@br.ibm.com>
51763
51764 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51765 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51766 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51767 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51768
440566c3
UD
517692010-07-09 Ulrich Drepper <drepper@redhat.com>
51770
51771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51772 fcntl.
51773
5be9d05d
AS
517742010-07-06 Andreas Schwab <schwab@redhat.com>
51775
c30b7ee2 51776 [BZ #11577]
5be9d05d
AS
51777 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51778 dl_signal_cerror.
51779
8a492a67
UD
517802010-07-06 Ulrich Drepper <drepper@redhat.com>
51781
51782 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51783 _PC_PIPE_BUF using F_GETPIPE_SZ.
51784
713df3d5
RM
517852010-07-05 Roland McGrath <roland@redhat.com>
51786
51787 * manual/arith.texi (Rounding Functions): Fix rint description
51788 implicit in round description.
51789
702e8f14
UD
517902010-07-02 Ulrich Drepper <drepper@redhat.com>
51791
51792 * elf/Makefile: Fix linking for a few tests to make recent linker
51793 happy.
51794
52ed8be9
AS
517952010-06-30 Andreas Schwab <schwab@redhat.com>
51796
51797 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51798 $(common-objpfx)libc_nonshared.a.
51799
f47c9a11
LM
518002010-06-21 Luis Machado <luisgpm@br.ibm.com>
51801
51802 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51803 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51804 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51805 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51806 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51807 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51808 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51809 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51824 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51825 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51826 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51827 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51828 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51829 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51830 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51831 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51832 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51833 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51834 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51835 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51850
6fb8cbcb
L
518512010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51852
51853 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51854 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51855 * string/memmove.c (memmove): Renamed to ...
51856 (MEMMOVE): ...this. Default to memmove.
51857 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51858 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51859 (END_CHK): Define.
51860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51861 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51862 mempcpy-ssse3-back memmove-ssse3-back.
51863 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51864 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51865 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51866 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51867 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51868 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51869 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51870 * sysdeps/x86_64/multiarch/memmove.c: New file.
51871 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51872 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51873 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51874 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51875 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51876 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51877 Define.
51878 (index_Fast_Copy_Backward): Define.
51879 (HAS_ARCH_FEATURE): Define.
51880 (HAS_FAST_REP_STRING): Define.
51881 (HAS_FAST_COPY_BACKWARD): Define.
51882
4e733bac 518832010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51884
51885 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51886 Restore proper fallback handling.
51887
63c4ed22
UD
518882010-06-19 Ulrich Drepper <drepper@redhat.com>
51889
ac2b484c
UD
51890 [BZ #11701]
51891 * posix/group_member.c (__group_member): Correct checking loop.
51892
63c4ed22
UD
51893 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51894 OOM in getpwuid_r correctly. Return error number when the caller
51895 should return, otherwise -1.
51896 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51897 call returning > 0 value.
51898 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51899
765ade4b
AS
519002010-06-07 Andreas Schwab <schwab@redhat.com>
51901
51902 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51903 libc_nonshared.a from targets in modules-names.
51904
80da2e09
KS
519052010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51906
51907 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51908 requires it.
51909
158db122
LM
519102010-06-10 Luis Machado <luisgpm@br.ibm.com>
51911
51912 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51916
caa78cf8
AS
519172010-06-02 Andreas Schwab <schwab@redhat.com>
51918
51919 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51920
b2ef2c01
UD
519212010-06-14 Ulrich Drepper <drepper@redhat.com>
51922
51923 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51924 and F_GETPIPE_SZ.
51925 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51929 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51930 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51931
fbd643b6
RM
519322010-06-14 Roland McGrath <roland@redhat.com>
51933
51934 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51935
f32f2869
JJ
519362010-06-07 Jakub Jelinek <jakub@redhat.com>
51937
51938 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51939 __REDIRECT followed by __THROW.
51940 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51941 * posix/getopt.h (getopt): Likewise.
51942
2a50c078
EPM
519432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51944
51945 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51946 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51947 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51948 in AT_FLAGS.
51949 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51950 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51951
eb5ad2eb
LM
519522010-05-28 Luis Machado <luisgpm@br.ibm.com>
51953
51954 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51955
3c88fe1e
L
519562010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51957
51958 [BZ #11640]
51959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51960 Properly check family and model.
51961
d2f73151
TY
519622010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51963
51964 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51965
ebd2e13d
LM
519662010-05-24 Luis Machado <luisgpm@br.ibm.com>
51967
51968 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51969
b32b8b45
UD
519702010-05-21 Ulrich Drepper <drepper@redhat.com>
51971
51972 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51973 symbol reference.
51974
9acbe24d
AS
519752010-05-19 Andreas Schwab <schwab@redhat.com>
51976
51977 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51978 symbol reference.
51979
f0ccf6ea
AS
519802010-05-21 Andreas Schwab <schwab@redhat.com>
51981
3d04ff3a
AS
51982 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51983 and internal_recvmmsg.
51984 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51985 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51986 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51987 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51988
f0ccf6ea
AS
51989 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51990 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51991 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51992
5b08ac57
AS
519932010-05-20 Andreas Schwab <schwab@redhat.com>
51994
51995 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51996
4828935d
LM
519972010-05-17 Luis Machado <luisgpm@br.ibm.com>
51998
51999 POWER7 optimizations.
52000 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52001 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52002
373d545e
UD
520032010-05-19 Ulrich Drepper <drepper@redhat.com>
52004
52005 * version.h: Update for 2.13 development version.
52006
21a2b1ae
AS
520072010-05-12 Andrew Stubbs <ams@codesourcery.com>
52008
52009 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52010 exceptions. Return 0.
52011
3f7dcb2b
RM
520122010-05-07 Roland McGrath <roland@redhat.com>
52013
52014 * elf/ldconfig.c (main): Add a const.
52015
5f24d53a 520162010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52017
a160f8d8
UD
52018 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52019 (args_options): Add no-idn option.
52020 (ahosts_keys_int): Add idn_flags to ai_flags.
52021 (parse_option): Handle 'i' option to clear idn_flags.
52022
5f24d53a
UD
52023 * malloc/malloc.c (_int_free): Possible race in the most recently
52024 added check. Only act on the data if no current modification
52025 happened.
265bb1ce
UD
52026
52027See ChangeLog.17 for earlier changes.